pyimouapi 1.2.6__tar.gz → 1.2.7__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.
- pyimouapi-1.2.7/PKG-INFO +81 -0
- pyimouapi-1.2.7/README.md +52 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi/__init__.py +1 -1
- pyimouapi-1.2.7/pyimouapi.egg-info/PKG-INFO +81 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/setup.py +1 -1
- pyimouapi-1.2.6/PKG-INFO +0 -34
- pyimouapi-1.2.6/README.md +0 -5
- pyimouapi-1.2.6/pyimouapi.egg-info/PKG-INFO +0 -34
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/LICENSE +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi/const.py +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi/device.py +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi/exceptions.py +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi/ha_device.py +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi/openapi.py +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi.egg-info/SOURCES.txt +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi.egg-info/dependency_links.txt +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi.egg-info/requires.txt +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyimouapi.egg-info/top_level.txt +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/pyproject.toml +0 -0
- {pyimouapi-1.2.6 → pyimouapi-1.2.7}/setup.cfg +0 -0
pyimouapi-1.2.7/PKG-INFO
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyimouapi
|
|
3
|
+
Version: 1.2.7
|
|
4
|
+
Summary: A package for imou open api
|
|
5
|
+
Home-page: https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api
|
|
6
|
+
Author: Imou-OpenPlatform
|
|
7
|
+
Author-email: cloud_openteam_service@imou.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
13
|
+
Requires-Python: >=3.11
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: aiohttp<4.0,>=3.11.9
|
|
17
|
+
Requires-Dist: simpleeval>=1.0.3
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# pyimouapi
|
|
31
|
+
|
|
32
|
+
Async Python client for the **Imou Open Platform** cloud APIs. Built on **aiohttp**, it handles authentication and requests, and exposes device/channel helpers plus higher-level types for integrations (for example Home Assistant).
|
|
33
|
+
|
|
34
|
+
- **Repository:** [Imou-OpenPlatform/Py-Imou-Open-Api](https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api)
|
|
35
|
+
- **Version:** Same as `setup.py` / PyPI (`pyimouapi.__version__`)
|
|
36
|
+
- **Python:** `>= 3.11`
|
|
37
|
+
|
|
38
|
+
## Package layout
|
|
39
|
+
|
|
40
|
+
| Module | Role |
|
|
41
|
+
|--------|------|
|
|
42
|
+
| `pyimouapi.openapi` | `ImouOpenApiClient` — auth, signing, token lifecycle, HTTP calls |
|
|
43
|
+
| `pyimouapi.device` | `ImouDeviceManager`, `ImouDevice`, `ImouChannel` — listing, PTZ, alarms, storage, and related endpoints |
|
|
44
|
+
| `pyimouapi.ha_device` | `ImouHaDeviceManager`, `ImouHaDevice`, … — aggregated “device model” helpers for automation stacks |
|
|
45
|
+
| `pyimouapi.exceptions` | `ImouException` and typed errors (connect, request, invalid credentials, …) |
|
|
46
|
+
|
|
47
|
+
The top-level `pyimouapi` package re-exports common symbols. Import submodules directly when needed, for example `from pyimouapi.ha_device import ImouHaDeviceManager`.
|
|
48
|
+
|
|
49
|
+
## Dependencies
|
|
50
|
+
|
|
51
|
+
As declared in `setup.py` / `requirements.txt`:
|
|
52
|
+
|
|
53
|
+
- `aiohttp>=3.11.9,<4.0`
|
|
54
|
+
- `simpleeval>=1.0.3`
|
|
55
|
+
|
|
56
|
+
## Install
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
pip install pyimouapi
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
From a checkout:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
pip install .
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Quick example (async)
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
from pyimouapi.openapi import ImouOpenApiClient
|
|
72
|
+
|
|
73
|
+
# host: Imou Open Platform gateway, e.g. openapi-sg.easy4ip.com
|
|
74
|
+
client = ImouOpenApiClient("your_app_id", "your_app_secret", "openapi-sg.easy4ip.com")
|
|
75
|
+
await client.async_get_token()
|
|
76
|
+
# Use the client with pyimouapi.device.ImouDeviceManager for device operations
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## License
|
|
80
|
+
|
|
81
|
+
MIT — see `LICENSE` in this repository.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# pyimouapi
|
|
2
|
+
|
|
3
|
+
Async Python client for the **Imou Open Platform** cloud APIs. Built on **aiohttp**, it handles authentication and requests, and exposes device/channel helpers plus higher-level types for integrations (for example Home Assistant).
|
|
4
|
+
|
|
5
|
+
- **Repository:** [Imou-OpenPlatform/Py-Imou-Open-Api](https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api)
|
|
6
|
+
- **Version:** Same as `setup.py` / PyPI (`pyimouapi.__version__`)
|
|
7
|
+
- **Python:** `>= 3.11`
|
|
8
|
+
|
|
9
|
+
## Package layout
|
|
10
|
+
|
|
11
|
+
| Module | Role |
|
|
12
|
+
|--------|------|
|
|
13
|
+
| `pyimouapi.openapi` | `ImouOpenApiClient` — auth, signing, token lifecycle, HTTP calls |
|
|
14
|
+
| `pyimouapi.device` | `ImouDeviceManager`, `ImouDevice`, `ImouChannel` — listing, PTZ, alarms, storage, and related endpoints |
|
|
15
|
+
| `pyimouapi.ha_device` | `ImouHaDeviceManager`, `ImouHaDevice`, … — aggregated “device model” helpers for automation stacks |
|
|
16
|
+
| `pyimouapi.exceptions` | `ImouException` and typed errors (connect, request, invalid credentials, …) |
|
|
17
|
+
|
|
18
|
+
The top-level `pyimouapi` package re-exports common symbols. Import submodules directly when needed, for example `from pyimouapi.ha_device import ImouHaDeviceManager`.
|
|
19
|
+
|
|
20
|
+
## Dependencies
|
|
21
|
+
|
|
22
|
+
As declared in `setup.py` / `requirements.txt`:
|
|
23
|
+
|
|
24
|
+
- `aiohttp>=3.11.9,<4.0`
|
|
25
|
+
- `simpleeval>=1.0.3`
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install pyimouapi
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
From a checkout:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install .
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Quick example (async)
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
from pyimouapi.openapi import ImouOpenApiClient
|
|
43
|
+
|
|
44
|
+
# host: Imou Open Platform gateway, e.g. openapi-sg.easy4ip.com
|
|
45
|
+
client = ImouOpenApiClient("your_app_id", "your_app_secret", "openapi-sg.easy4ip.com")
|
|
46
|
+
await client.async_get_token()
|
|
47
|
+
# Use the client with pyimouapi.device.ImouDeviceManager for device operations
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MIT — see `LICENSE` in this repository.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyimouapi
|
|
3
|
+
Version: 1.2.7
|
|
4
|
+
Summary: A package for imou open api
|
|
5
|
+
Home-page: https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api
|
|
6
|
+
Author: Imou-OpenPlatform
|
|
7
|
+
Author-email: cloud_openteam_service@imou.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
13
|
+
Requires-Python: >=3.11
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: aiohttp<4.0,>=3.11.9
|
|
17
|
+
Requires-Dist: simpleeval>=1.0.3
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# pyimouapi
|
|
31
|
+
|
|
32
|
+
Async Python client for the **Imou Open Platform** cloud APIs. Built on **aiohttp**, it handles authentication and requests, and exposes device/channel helpers plus higher-level types for integrations (for example Home Assistant).
|
|
33
|
+
|
|
34
|
+
- **Repository:** [Imou-OpenPlatform/Py-Imou-Open-Api](https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api)
|
|
35
|
+
- **Version:** Same as `setup.py` / PyPI (`pyimouapi.__version__`)
|
|
36
|
+
- **Python:** `>= 3.11`
|
|
37
|
+
|
|
38
|
+
## Package layout
|
|
39
|
+
|
|
40
|
+
| Module | Role |
|
|
41
|
+
|--------|------|
|
|
42
|
+
| `pyimouapi.openapi` | `ImouOpenApiClient` — auth, signing, token lifecycle, HTTP calls |
|
|
43
|
+
| `pyimouapi.device` | `ImouDeviceManager`, `ImouDevice`, `ImouChannel` — listing, PTZ, alarms, storage, and related endpoints |
|
|
44
|
+
| `pyimouapi.ha_device` | `ImouHaDeviceManager`, `ImouHaDevice`, … — aggregated “device model” helpers for automation stacks |
|
|
45
|
+
| `pyimouapi.exceptions` | `ImouException` and typed errors (connect, request, invalid credentials, …) |
|
|
46
|
+
|
|
47
|
+
The top-level `pyimouapi` package re-exports common symbols. Import submodules directly when needed, for example `from pyimouapi.ha_device import ImouHaDeviceManager`.
|
|
48
|
+
|
|
49
|
+
## Dependencies
|
|
50
|
+
|
|
51
|
+
As declared in `setup.py` / `requirements.txt`:
|
|
52
|
+
|
|
53
|
+
- `aiohttp>=3.11.9,<4.0`
|
|
54
|
+
- `simpleeval>=1.0.3`
|
|
55
|
+
|
|
56
|
+
## Install
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
pip install pyimouapi
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
From a checkout:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
pip install .
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Quick example (async)
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
from pyimouapi.openapi import ImouOpenApiClient
|
|
72
|
+
|
|
73
|
+
# host: Imou Open Platform gateway, e.g. openapi-sg.easy4ip.com
|
|
74
|
+
client = ImouOpenApiClient("your_app_id", "your_app_secret", "openapi-sg.easy4ip.com")
|
|
75
|
+
await client.async_get_token()
|
|
76
|
+
# Use the client with pyimouapi.device.ImouDeviceManager for device operations
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## License
|
|
80
|
+
|
|
81
|
+
MIT — see `LICENSE` in this repository.
|
pyimouapi-1.2.6/PKG-INFO
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: pyimouapi
|
|
3
|
-
Version: 1.2.6
|
|
4
|
-
Summary: A package for imou open api
|
|
5
|
-
Home-page: https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api
|
|
6
|
-
Author: Imou-OpenPlatform
|
|
7
|
-
Author-email: cloud_openteam_service@imou.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
13
|
-
Requires-Python: >=3.11
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Requires-Dist: aiohttp<4.0,>=3.11.9
|
|
17
|
-
Requires-Dist: simpleeval>=1.0.3
|
|
18
|
-
Dynamic: author
|
|
19
|
-
Dynamic: author-email
|
|
20
|
-
Dynamic: classifier
|
|
21
|
-
Dynamic: description
|
|
22
|
-
Dynamic: description-content-type
|
|
23
|
-
Dynamic: home-page
|
|
24
|
-
Dynamic: license
|
|
25
|
-
Dynamic: license-file
|
|
26
|
-
Dynamic: requires-dist
|
|
27
|
-
Dynamic: requires-python
|
|
28
|
-
Dynamic: summary
|
|
29
|
-
|
|
30
|
-
## 打包
|
|
31
|
-
python setup.py sdist bdist_wheel
|
|
32
|
-
|
|
33
|
-
## 上传
|
|
34
|
-
twine upload dist/*
|
pyimouapi-1.2.6/README.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: pyimouapi
|
|
3
|
-
Version: 1.2.6
|
|
4
|
-
Summary: A package for imou open api
|
|
5
|
-
Home-page: https://github.com/Imou-OpenPlatform/Py-Imou-Open-Api
|
|
6
|
-
Author: Imou-OpenPlatform
|
|
7
|
-
Author-email: cloud_openteam_service@imou.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Operating System :: OS Independent
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
13
|
-
Requires-Python: >=3.11
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Requires-Dist: aiohttp<4.0,>=3.11.9
|
|
17
|
-
Requires-Dist: simpleeval>=1.0.3
|
|
18
|
-
Dynamic: author
|
|
19
|
-
Dynamic: author-email
|
|
20
|
-
Dynamic: classifier
|
|
21
|
-
Dynamic: description
|
|
22
|
-
Dynamic: description-content-type
|
|
23
|
-
Dynamic: home-page
|
|
24
|
-
Dynamic: license
|
|
25
|
-
Dynamic: license-file
|
|
26
|
-
Dynamic: requires-dist
|
|
27
|
-
Dynamic: requires-python
|
|
28
|
-
Dynamic: summary
|
|
29
|
-
|
|
30
|
-
## 打包
|
|
31
|
-
python setup.py sdist bdist_wheel
|
|
32
|
-
|
|
33
|
-
## 上传
|
|
34
|
-
twine upload dist/*
|
|
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
|