python-mystrom 2.6.0__tar.gz → 2.7.0__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.
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/LICENSE +1 -1
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/PKG-INFO +3 -5
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/README.rst +1 -1
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/cli.py +1 -1
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/pir.py +1 -1
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pyproject.toml +6 -2
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/__init__.py +0 -0
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/bulb.py +0 -0
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/device_types.py +0 -0
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/discovery.py +0 -0
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/exceptions.py +0 -0
- {python_mystrom-2.6.0 → python_mystrom-2.7.0}/pymystrom/switch.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2015-
|
|
3
|
+
Copyright (c) 2015-2026 Fabian Affolter <fabian@affolter-engineering.ch>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-mystrom
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: Asynchronous Python API client for interacting with myStrom devices
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Keywords: myStrom,API,client,asynchronous
|
|
8
8
|
Author: Fabian Affolter
|
|
9
9
|
Author-email: fabian@affolter-engineering.ch
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.13
|
|
11
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
17
15
|
Requires-Dist: aiohttp
|
|
@@ -60,7 +58,7 @@ On a Fedora-based system or on a CentOS/RHEL machine which has EPEL enabled.
|
|
|
60
58
|
|
|
61
59
|
$ sudo dnf -y install python3-mystrom
|
|
62
60
|
|
|
63
|
-
For Nix or NixOS users is a package available. Keep in mind that the
|
|
61
|
+
For Nix or NixOS users is a package available. Keep in mind that the latest releases might only
|
|
64
62
|
be present in the ``unstable`` channel.
|
|
65
63
|
|
|
66
64
|
.. code:: bash
|
|
@@ -37,7 +37,7 @@ On a Fedora-based system or on a CentOS/RHEL machine which has EPEL enabled.
|
|
|
37
37
|
|
|
38
38
|
$ sudo dnf -y install python3-mystrom
|
|
39
39
|
|
|
40
|
-
For Nix or NixOS users is a package available. Keep in mind that the
|
|
40
|
+
For Nix or NixOS users is a package available. Keep in mind that the latest releases might only
|
|
41
41
|
be present in the ``unstable`` channel.
|
|
42
42
|
|
|
43
43
|
.. code:: bash
|
|
@@ -221,7 +221,7 @@ def reset_config(ip, mac, token):
|
|
|
221
221
|
help="MAC address of the Wifi Button.",
|
|
222
222
|
)
|
|
223
223
|
@click.option("--token", prompt="Token of the device", help="Token of the device.")
|
|
224
|
-
def
|
|
224
|
+
def read_config_button(ip, mac, token):
|
|
225
225
|
"""Read the current configuration of a myStrom WiFi Button."""
|
|
226
226
|
click.echo("Read the configuration of button %s..." % ip)
|
|
227
227
|
try:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "python-mystrom"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.7.0"
|
|
4
4
|
description = "Asynchronous Python API client for interacting with myStrom devices"
|
|
5
5
|
authors = ["Fabian Affolter <fabian@affolter-engineering.ch>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -13,11 +13,15 @@ packages = [
|
|
|
13
13
|
]
|
|
14
14
|
|
|
15
15
|
[tool.poetry.dependencies]
|
|
16
|
-
python = ">=3.
|
|
16
|
+
python = ">=3.13"
|
|
17
17
|
aiohttp = "*"
|
|
18
18
|
click = "*"
|
|
19
19
|
requests = "*"
|
|
20
20
|
|
|
21
|
+
[tool.poetry.group.dev.dependencies]
|
|
22
|
+
pytest = "^9"
|
|
23
|
+
pytest-asyncio = "^0.21"
|
|
24
|
+
|
|
21
25
|
[build-system]
|
|
22
26
|
requires = ["poetry-core>=1.0.0"]
|
|
23
27
|
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|