add initial Python API setup using uv init and README with short desc.
Add README with short description of the desired state.
This commit is contained in:
commit
93394769b2
5 changed files with 32 additions and 0 deletions
11
README.md
Normal file
11
README.md
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Dooris
|
||||||
|
|
||||||
|
Dooris setup using HomeMatic with Web UI, API and OIDC integration.
|
||||||
|
Based on prior work of [hmdooris](https://git.hamburg.ccc.de/CCCHH/hmdooris).
|
||||||
|
|
||||||
|
Project structure:
|
||||||
|
|
||||||
|
```
|
||||||
|
├── api # Python application interacting with HomeMatic and providing the API.
|
||||||
|
└── app # Web UI
|
||||||
|
```
|
||||||
1
api/.python-version
Normal file
1
api/.python-version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
3.14
|
||||||
6
api/main.py
Normal file
6
api/main.py
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
def main():
|
||||||
|
print("Hello from api!")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
6
api/pyproject.toml
Normal file
6
api/pyproject.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[project]
|
||||||
|
name = "dooris_api"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "API for Dooris setup using HomeMatic."
|
||||||
|
requires-python = ">=3.14"
|
||||||
|
dependencies = []
|
||||||
8
api/uv.lock
generated
Normal file
8
api/uv.lock
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
version = 1
|
||||||
|
revision = 3
|
||||||
|
requires-python = ">=3.14"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "dooris-api"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = { virtual = "." }
|
||||||
Loading…
Add table
Add a link
Reference in a new issue