pywmspro 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pywmspro-0.2.2/.github/workflows/release.yaml +50 -0
- pywmspro-0.2.2/.github/workflows/ruff.yaml +10 -0
- pywmspro-0.2.2/.gitignore +3 -0
- pywmspro-0.2.2/.python-version +1 -0
- pywmspro-0.2.2/PKG-INFO +19 -0
- pywmspro-0.2.2/pyproject.toml +27 -0
- pywmspro-0.2.2/uv.lock +648 -0
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/action.py +22 -10
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/const.py +7 -1
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/destination.py +51 -9
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/room.py +7 -4
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/scene.py +2 -1
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/webcontrol.py +52 -13
- pywmspro-0.2.0/PKG-INFO +0 -29
- pywmspro-0.2.0/pyproject.toml +0 -20
- {pywmspro-0.2.0 → pywmspro-0.2.2}/LICENSE +0 -0
- {pywmspro-0.2.0 → pywmspro-0.2.2}/README.md +0 -0
- {pywmspro-0.2.0 → pywmspro-0.2.2}/wmspro/__init__.py +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: PyPI
|
|
3
|
+
on: [ push ]
|
|
4
|
+
jobs:
|
|
5
|
+
build:
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
steps:
|
|
8
|
+
- uses: actions/checkout@v4
|
|
9
|
+
- uses: astral-sh/setup-uv@v5
|
|
10
|
+
- run: uv build
|
|
11
|
+
- uses: actions/upload-artifact@v4
|
|
12
|
+
with:
|
|
13
|
+
name: Packages
|
|
14
|
+
path: dist
|
|
15
|
+
test-pypi:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
needs: build
|
|
18
|
+
environment:
|
|
19
|
+
name: test-pypi
|
|
20
|
+
url: https://test.pypi.org/p/pywmspro
|
|
21
|
+
permissions:
|
|
22
|
+
id-token: write
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/download-artifact@v4
|
|
25
|
+
with:
|
|
26
|
+
name: Packages
|
|
27
|
+
path: dist
|
|
28
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
29
|
+
with:
|
|
30
|
+
repository-url: https://test.pypi.org/legacy/
|
|
31
|
+
skip-existing: true
|
|
32
|
+
print-hash: true
|
|
33
|
+
prod-pypi:
|
|
34
|
+
if: github.ref_type == 'tag'
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
needs: build
|
|
37
|
+
environment:
|
|
38
|
+
name: prod-pypi
|
|
39
|
+
url: https://pypi.org/p/pywmspro
|
|
40
|
+
permissions:
|
|
41
|
+
id-token: write
|
|
42
|
+
steps:
|
|
43
|
+
- uses: actions/download-artifact@v4
|
|
44
|
+
with:
|
|
45
|
+
name: Packages
|
|
46
|
+
path: dist
|
|
47
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
48
|
+
with:
|
|
49
|
+
print-hash: true
|
|
50
|
+
...
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.9
|
pywmspro-0.2.2/PKG-INFO
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pywmspro
|
|
3
|
+
Version: 0.2.2
|
|
4
|
+
Summary: Python library for WMS WebControl pro API
|
|
5
|
+
Author-email: Marc Hoersken <info@marc-hoersken.de>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Keywords: warema,webcontrol,wms
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
|
+
Requires-Dist: aiohttp>=3.11.18
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# Python library for WMS WebControl pro API
|
|
14
|
+
|
|
15
|
+
Reference: https://media.warema.com/dokumente/anleitungen-handbuecher/966664/warema_2064534_alhb_de_v0.pdf
|
|
16
|
+
|
|
17
|
+
## Example usage
|
|
18
|
+
|
|
19
|
+
See main section in `wmspro/webcontrol.py`
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "pywmspro"
|
|
3
|
+
version = "0.2.2"
|
|
4
|
+
description = "Python library for WMS WebControl pro API"
|
|
5
|
+
license = "Apache-2.0"
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "Marc Hoersken", email = "info@marc-hoersken.de" }
|
|
8
|
+
]
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
repository = "https://github.com/mback2k/pywmspro"
|
|
11
|
+
keywords = ["warema", "wms", "webcontrol"]
|
|
12
|
+
requires-python = ">=3.9"
|
|
13
|
+
dependencies = [
|
|
14
|
+
"aiohttp>=3.11.18",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[tool.hatch.build.targets.wheel]
|
|
18
|
+
packages = ["wmspro"]
|
|
19
|
+
|
|
20
|
+
[build-system]
|
|
21
|
+
requires = ["hatchling"]
|
|
22
|
+
build-backend = "hatchling.build"
|
|
23
|
+
|
|
24
|
+
[dependency-groups]
|
|
25
|
+
dev = [
|
|
26
|
+
"ruff>=0.11.8",
|
|
27
|
+
]
|