axis 63__tar.gz → 64__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.
Files changed (107) hide show
  1. axis-64/PKG-INFO +41 -0
  2. {axis-63 → axis-64}/axis/interfaces/mqtt.py +1 -1
  3. axis-64/axis.egg-info/PKG-INFO +41 -0
  4. {axis-63 → axis-64}/axis.egg-info/requires.txt +9 -10
  5. {axis-63 → axis-64}/pyproject.toml +11 -12
  6. axis-63/PKG-INFO +0 -24
  7. axis-63/axis.egg-info/PKG-INFO +0 -24
  8. {axis-63 → axis-64}/LICENSE +0 -0
  9. {axis-63 → axis-64}/README.md +0 -0
  10. {axis-63 → axis-64}/axis/__init__.py +0 -0
  11. {axis-63 → axis-64}/axis/__main__.py +0 -0
  12. {axis-63 → axis-64}/axis/device.py +0 -0
  13. {axis-63 → axis-64}/axis/errors.py +0 -0
  14. {axis-63 → axis-64}/axis/interfaces/__init__.py +0 -0
  15. {axis-63 → axis-64}/axis/interfaces/api_discovery.py +0 -0
  16. {axis-63 → axis-64}/axis/interfaces/api_handler.py +0 -0
  17. {axis-63 → axis-64}/axis/interfaces/applications/__init__.py +0 -0
  18. {axis-63 → axis-64}/axis/interfaces/applications/application_handler.py +0 -0
  19. {axis-63 → axis-64}/axis/interfaces/applications/applications.py +0 -0
  20. {axis-63 → axis-64}/axis/interfaces/applications/fence_guard.py +0 -0
  21. {axis-63 → axis-64}/axis/interfaces/applications/loitering_guard.py +0 -0
  22. {axis-63 → axis-64}/axis/interfaces/applications/motion_guard.py +0 -0
  23. {axis-63 → axis-64}/axis/interfaces/applications/object_analytics.py +0 -0
  24. {axis-63 → axis-64}/axis/interfaces/applications/vmd4.py +0 -0
  25. {axis-63 → axis-64}/axis/interfaces/basic_device_info.py +0 -0
  26. {axis-63 → axis-64}/axis/interfaces/event_instances.py +0 -0
  27. {axis-63 → axis-64}/axis/interfaces/event_manager.py +0 -0
  28. {axis-63 → axis-64}/axis/interfaces/light_control.py +0 -0
  29. {axis-63 → axis-64}/axis/interfaces/parameters/__init__.py +0 -0
  30. {axis-63 → axis-64}/axis/interfaces/parameters/brand.py +0 -0
  31. {axis-63 → axis-64}/axis/interfaces/parameters/image.py +0 -0
  32. {axis-63 → axis-64}/axis/interfaces/parameters/io_port.py +0 -0
  33. {axis-63 → axis-64}/axis/interfaces/parameters/param_cgi.py +0 -0
  34. {axis-63 → axis-64}/axis/interfaces/parameters/param_handler.py +0 -0
  35. {axis-63 → axis-64}/axis/interfaces/parameters/properties.py +0 -0
  36. {axis-63 → axis-64}/axis/interfaces/parameters/ptz.py +0 -0
  37. {axis-63 → axis-64}/axis/interfaces/parameters/stream_profile.py +0 -0
  38. {axis-63 → axis-64}/axis/interfaces/pir_sensor_configuration.py +0 -0
  39. {axis-63 → axis-64}/axis/interfaces/port_cgi.py +0 -0
  40. {axis-63 → axis-64}/axis/interfaces/port_management.py +0 -0
  41. {axis-63 → axis-64}/axis/interfaces/ptz.py +0 -0
  42. {axis-63 → axis-64}/axis/interfaces/pwdgrp_cgi.py +0 -0
  43. {axis-63 → axis-64}/axis/interfaces/stream_profiles.py +0 -0
  44. {axis-63 → axis-64}/axis/interfaces/user_groups.py +0 -0
  45. {axis-63 → axis-64}/axis/interfaces/vapix.py +0 -0
  46. {axis-63 → axis-64}/axis/interfaces/view_areas.py +0 -0
  47. {axis-63 → axis-64}/axis/models/__init__.py +0 -0
  48. {axis-63 → axis-64}/axis/models/api.py +0 -0
  49. {axis-63 → axis-64}/axis/models/api_discovery.py +0 -0
  50. {axis-63 → axis-64}/axis/models/applications/__init__.py +0 -0
  51. {axis-63 → axis-64}/axis/models/applications/application.py +0 -0
  52. {axis-63 → axis-64}/axis/models/applications/fence_guard.py +0 -0
  53. {axis-63 → axis-64}/axis/models/applications/loitering_guard.py +0 -0
  54. {axis-63 → axis-64}/axis/models/applications/motion_guard.py +0 -0
  55. {axis-63 → axis-64}/axis/models/applications/object_analytics.py +0 -0
  56. {axis-63 → axis-64}/axis/models/applications/vmd4.py +0 -0
  57. {axis-63 → axis-64}/axis/models/basic_device_info.py +0 -0
  58. {axis-63 → axis-64}/axis/models/configuration.py +0 -0
  59. {axis-63 → axis-64}/axis/models/event.py +0 -0
  60. {axis-63 → axis-64}/axis/models/event_instance.py +0 -0
  61. {axis-63 → axis-64}/axis/models/light_control.py +0 -0
  62. {axis-63 → axis-64}/axis/models/mqtt.py +0 -0
  63. {axis-63 → axis-64}/axis/models/parameters/__init__.py +0 -0
  64. {axis-63 → axis-64}/axis/models/parameters/brand.py +0 -0
  65. {axis-63 → axis-64}/axis/models/parameters/image.py +0 -0
  66. {axis-63 → axis-64}/axis/models/parameters/io_port.py +0 -0
  67. {axis-63 → axis-64}/axis/models/parameters/param_cgi.py +0 -0
  68. {axis-63 → axis-64}/axis/models/parameters/properties.py +0 -0
  69. {axis-63 → axis-64}/axis/models/parameters/ptz.py +0 -0
  70. {axis-63 → axis-64}/axis/models/parameters/stream_profile.py +0 -0
  71. {axis-63 → axis-64}/axis/models/pir_sensor_configuration.py +0 -0
  72. {axis-63 → axis-64}/axis/models/port_cgi.py +0 -0
  73. {axis-63 → axis-64}/axis/models/port_management.py +0 -0
  74. {axis-63 → axis-64}/axis/models/ptz_cgi.py +0 -0
  75. {axis-63 → axis-64}/axis/models/pwdgrp_cgi.py +0 -0
  76. {axis-63 → axis-64}/axis/models/stream_profile.py +0 -0
  77. {axis-63 → axis-64}/axis/models/user_group.py +0 -0
  78. {axis-63 → axis-64}/axis/models/view_area.py +0 -0
  79. {axis-63 → axis-64}/axis/py.typed +0 -0
  80. {axis-63 → axis-64}/axis/rtsp.py +0 -0
  81. {axis-63 → axis-64}/axis/stream_manager.py +0 -0
  82. {axis-63 → axis-64}/axis.egg-info/SOURCES.txt +0 -0
  83. {axis-63 → axis-64}/axis.egg-info/dependency_links.txt +0 -0
  84. {axis-63 → axis-64}/axis.egg-info/entry_points.txt +0 -0
  85. {axis-63 → axis-64}/axis.egg-info/top_level.txt +0 -0
  86. {axis-63 → axis-64}/setup.cfg +0 -0
  87. {axis-63 → axis-64}/tests/test_api_discovery.py +0 -0
  88. {axis-63 → axis-64}/tests/test_api_handler.py +0 -0
  89. {axis-63 → axis-64}/tests/test_basic_device_info.py +0 -0
  90. {axis-63 → axis-64}/tests/test_configuration.py +0 -0
  91. {axis-63 → axis-64}/tests/test_device.py +0 -0
  92. {axis-63 → axis-64}/tests/test_event.py +0 -0
  93. {axis-63 → axis-64}/tests/test_event_instances.py +0 -0
  94. {axis-63 → axis-64}/tests/test_event_stream.py +0 -0
  95. {axis-63 → axis-64}/tests/test_light_control.py +0 -0
  96. {axis-63 → axis-64}/tests/test_mqtt.py +0 -0
  97. {axis-63 → axis-64}/tests/test_pir_sensor_configuration.py +0 -0
  98. {axis-63 → axis-64}/tests/test_port_cgi.py +0 -0
  99. {axis-63 → axis-64}/tests/test_port_management.py +0 -0
  100. {axis-63 → axis-64}/tests/test_ptz.py +0 -0
  101. {axis-63 → axis-64}/tests/test_pwdgrp_cgi.py +0 -0
  102. {axis-63 → axis-64}/tests/test_rtsp.py +0 -0
  103. {axis-63 → axis-64}/tests/test_stream_manager.py +0 -0
  104. {axis-63 → axis-64}/tests/test_stream_profiles.py +0 -0
  105. {axis-63 → axis-64}/tests/test_user_groups.py +0 -0
  106. {axis-63 → axis-64}/tests/test_vapix.py +0 -0
  107. {axis-63 → axis-64}/tests/test_view_areas.py +0 -0
axis-64/PKG-INFO ADDED
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.1
2
+ Name: axis
3
+ Version: 64
4
+ Summary: A Python library for communicating with devices from Axis Communications
5
+ Author-email: Robert Svensson <Kane610@users.noreply.github.com>
6
+ License: MIT
7
+ Project-URL: Source Code, https://github.com/Kane610/axis
8
+ Project-URL: Bug Reports, https://github.com/Kane610/axis/issues
9
+ Project-URL: Forum, https://community.home-assistant.io/t/axis-camera-component/
10
+ Keywords: axis,vapix,homeassistant
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Topic :: Home Automation
17
+ Requires-Python: >=3.12.0
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: httpx>=0.26
21
+ Requires-Dist: orjson>3.9
22
+ Requires-Dist: packaging>23
23
+ Requires-Dist: xmltodict>=0.13.0
24
+ Provides-Extra: requirements
25
+ Requires-Dist: httpx==0.27.2; extra == "requirements"
26
+ Requires-Dist: orjson==3.10.12; extra == "requirements"
27
+ Requires-Dist: packaging==24.2; extra == "requirements"
28
+ Requires-Dist: xmltodict==0.14.2; extra == "requirements"
29
+ Provides-Extra: requirements-test
30
+ Requires-Dist: mypy==1.13.0; extra == "requirements-test"
31
+ Requires-Dist: pytest==8.3.4; extra == "requirements-test"
32
+ Requires-Dist: pytest-aiohttp==1.0.5; extra == "requirements-test"
33
+ Requires-Dist: pytest-asyncio==0.25.0; extra == "requirements-test"
34
+ Requires-Dist: pytest-cov==6.0.0; extra == "requirements-test"
35
+ Requires-Dist: respx==0.21.1; extra == "requirements-test"
36
+ Requires-Dist: ruff==0.8.3; extra == "requirements-test"
37
+ Requires-Dist: types-xmltodict==v0.14.0.20241009; extra == "requirements-test"
38
+ Provides-Extra: requirements-dev
39
+ Requires-Dist: pre-commit==4.0.1; extra == "requirements-dev"
40
+
41
+ Python project to set up a connection towards Axis Communications devices and to subscribe to specific events on the metadatastream.
@@ -25,7 +25,7 @@ from .api_handler import ApiHandler
25
25
  DEFAULT_TOPICS = ["//."]
26
26
 
27
27
 
28
- def mqtt_json_to_event(msg: bytes | str) -> dict[str, Any]:
28
+ def mqtt_json_to_event(msg: bytes | bytearray | memoryview | str) -> dict[str, Any]:
29
29
  """Convert JSON message from MQTT to event format."""
30
30
  message = orjson.loads(msg)
31
31
  topic = message["topic"].replace("onvif", "tns1").replace("axis", "tnsaxis")
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.1
2
+ Name: axis
3
+ Version: 64
4
+ Summary: A Python library for communicating with devices from Axis Communications
5
+ Author-email: Robert Svensson <Kane610@users.noreply.github.com>
6
+ License: MIT
7
+ Project-URL: Source Code, https://github.com/Kane610/axis
8
+ Project-URL: Bug Reports, https://github.com/Kane610/axis/issues
9
+ Project-URL: Forum, https://community.home-assistant.io/t/axis-camera-component/
10
+ Keywords: axis,vapix,homeassistant
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Topic :: Home Automation
17
+ Requires-Python: >=3.12.0
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: httpx>=0.26
21
+ Requires-Dist: orjson>3.9
22
+ Requires-Dist: packaging>23
23
+ Requires-Dist: xmltodict>=0.13.0
24
+ Provides-Extra: requirements
25
+ Requires-Dist: httpx==0.27.2; extra == "requirements"
26
+ Requires-Dist: orjson==3.10.12; extra == "requirements"
27
+ Requires-Dist: packaging==24.2; extra == "requirements"
28
+ Requires-Dist: xmltodict==0.14.2; extra == "requirements"
29
+ Provides-Extra: requirements-test
30
+ Requires-Dist: mypy==1.13.0; extra == "requirements-test"
31
+ Requires-Dist: pytest==8.3.4; extra == "requirements-test"
32
+ Requires-Dist: pytest-aiohttp==1.0.5; extra == "requirements-test"
33
+ Requires-Dist: pytest-asyncio==0.25.0; extra == "requirements-test"
34
+ Requires-Dist: pytest-cov==6.0.0; extra == "requirements-test"
35
+ Requires-Dist: respx==0.21.1; extra == "requirements-test"
36
+ Requires-Dist: ruff==0.8.3; extra == "requirements-test"
37
+ Requires-Dist: types-xmltodict==v0.14.0.20241009; extra == "requirements-test"
38
+ Provides-Extra: requirements-dev
39
+ Requires-Dist: pre-commit==4.0.1; extra == "requirements-dev"
40
+
41
+ Python project to set up a connection towards Axis Communications devices and to subscribe to specific events on the metadatastream.
@@ -5,20 +5,19 @@ xmltodict>=0.13.0
5
5
 
6
6
  [requirements]
7
7
  httpx==0.27.2
8
- orjson==3.10.9
9
- packaging==24.1
8
+ orjson==3.10.12
9
+ packaging==24.2
10
10
  xmltodict==0.14.2
11
11
 
12
- [requirements_dev]
12
+ [requirements-dev]
13
13
  pre-commit==4.0.1
14
14
 
15
- [requirements_test]
16
- mypy==1.12.1
17
- pytest==8.3.3
15
+ [requirements-test]
16
+ mypy==1.13.0
17
+ pytest==8.3.4
18
18
  pytest-aiohttp==1.0.5
19
- pytest-asyncio==0.24.0
20
- pytest-cov==5.0.0
19
+ pytest-asyncio==0.25.0
20
+ pytest-cov==6.0.0
21
21
  respx==0.21.1
22
- ruff==0.7.0
23
- types-orjson==3.6.2
22
+ ruff==0.8.3
24
23
  types-xmltodict==v0.14.0.20241009
@@ -1,10 +1,10 @@
1
1
  [build-system]
2
- requires = ["setuptools==68.0.0", "wheel==0.40.0"]
2
+ requires = ["setuptools==75.6.0", "wheel==0.45.1"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "axis"
7
- version = "63"
7
+ version = "64"
8
8
  license = {text = "MIT"}
9
9
  description = "A Python library for communicating with devices from Axis Communications"
10
10
  readme = "README.md"
@@ -29,22 +29,21 @@ dependencies = [
29
29
  [project.optional-dependencies]
30
30
  requirements = [
31
31
  "httpx==0.27.2",
32
- "orjson==3.10.9",
33
- "packaging==24.1",
32
+ "orjson==3.10.12",
33
+ "packaging==24.2",
34
34
  "xmltodict==0.14.2",
35
35
  ]
36
- requirements_test = [
37
- "mypy==1.12.1",
38
- "pytest==8.3.3",
36
+ requirements-test = [
37
+ "mypy==1.13.0",
38
+ "pytest==8.3.4",
39
39
  "pytest-aiohttp==1.0.5",
40
- "pytest-asyncio==0.24.0",
41
- "pytest-cov==5.0.0",
40
+ "pytest-asyncio==0.25.0",
41
+ "pytest-cov==6.0.0",
42
42
  "respx==0.21.1",
43
- "ruff==0.7.0",
44
- "types-orjson==3.6.2",
43
+ "ruff==0.8.3",
45
44
  "types-xmltodict==v0.14.0.20241009",
46
45
  ]
47
- requirements_dev = [
46
+ requirements-dev = [
48
47
  "pre-commit==4.0.1"
49
48
  ]
50
49
 
axis-63/PKG-INFO DELETED
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: axis
3
- Version: 63
4
- Summary: A Python library for communicating with devices from Axis Communications
5
- Author-email: Robert Svensson <Kane610@users.noreply.github.com>
6
- License: MIT
7
- Project-URL: Source Code, https://github.com/Kane610/axis
8
- Project-URL: Bug Reports, https://github.com/Kane610/axis/issues
9
- Project-URL: Forum, https://community.home-assistant.io/t/axis-camera-component/
10
- Keywords: axis,vapix,homeassistant
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Operating System :: OS Independent
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Topic :: Home Automation
17
- Requires-Python: >=3.12.0
18
- Description-Content-Type: text/markdown
19
- Provides-Extra: requirements
20
- Provides-Extra: requirements_test
21
- Provides-Extra: requirements_dev
22
- License-File: LICENSE
23
-
24
- Python project to set up a connection towards Axis Communications devices and to subscribe to specific events on the metadatastream.
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: axis
3
- Version: 63
4
- Summary: A Python library for communicating with devices from Axis Communications
5
- Author-email: Robert Svensson <Kane610@users.noreply.github.com>
6
- License: MIT
7
- Project-URL: Source Code, https://github.com/Kane610/axis
8
- Project-URL: Bug Reports, https://github.com/Kane610/axis/issues
9
- Project-URL: Forum, https://community.home-assistant.io/t/axis-camera-component/
10
- Keywords: axis,vapix,homeassistant
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: Intended Audience :: Developers
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Operating System :: OS Independent
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Topic :: Home Automation
17
- Requires-Python: >=3.12.0
18
- Description-Content-Type: text/markdown
19
- Provides-Extra: requirements
20
- Provides-Extra: requirements_test
21
- Provides-Extra: requirements_dev
22
- License-File: LICENSE
23
-
24
- Python project to set up a connection towards Axis Communications devices and to subscribe to specific events on the metadatastream.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes