Skip to main content

pyimouapi

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).

Package layout

Module Role
pyimouapi.openapi ImouOpenApiClient — auth, signing, token lifecycle, HTTP calls
pyimouapi.device ImouDeviceManager, ImouDevice, ImouChannel — listing, PTZ, alarms, storage, collection points (getCollection / turnCollection), and related endpoints
pyimouapi.collection_point Parsing helpers for PaaS / IoT collection point (preset) name lists
pyimouapi.ha_device ImouHaDeviceManager, ImouHaDevice, … — aggregated “device model” helpers for automation stacks (including select.collection_point when the device exposes CollectionPoint or IoT refs 21500/22000)
pyimouapi.exceptions ImouException and typed errors (connect, request, invalid credentials, …)

The top-level pyimouapi package re-exports common symbols. Import submodules directly when needed, for example from pyimouapi.ha_device import ImouHaDeviceManager.

Dependencies

As declared in setup.py / requirements.txt:

  • aiohttp>=3.11.9,<4.0
  • simpleeval>=1.0.3

Install

pip install pyimouapi

From a checkout:

pip install .

Quick example (async)

from pyimouapi.openapi import ImouOpenApiClient

# host: Imou Open Platform gateway, e.g. openapi-sg.easy4ip.com
client = ImouOpenApiClient("your_app_id", "your_app_secret", "openapi-sg.easy4ip.com")
await client.async_get_token()
# Use the client with pyimouapi.device.ImouDeviceManager for device operations

License

MIT — see LICENSE in this repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyimouapi-1.3.4.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyimouapi-1.3.4-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file pyimouapi-1.3.4.tar.gz.

File metadata

  • Download URL: pyimouapi-1.3.4.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyimouapi-1.3.4.tar.gz
Algorithm Hash digest
SHA256 4b6f61f16468072ef345fa0672d42d25985e8bcf1a05d9855ba42a3c3b1062c0
MD5 41f3d177ee9fd5fda9e2b3b335115dda
BLAKE2b-256 9c7fa3f5288b76dd7beae90911f9367c017754d6b2e633a8612273a2da62523b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyimouapi-1.3.4.tar.gz:

Publisher: publish.yml on Imou-OpenPlatform/Py-Imou-Open-Api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyimouapi-1.3.4-py3-none-any.whl.

File metadata

  • Download URL: pyimouapi-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyimouapi-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 caee0dcf970676c28fd890e0b1dcdaa13f50e6924ece6e7a5ba0d2b530d7a927
MD5 9c621b5328a33814002a63fa2a5616ed
BLAKE2b-256 66393edcecd553f760b6f1810791cc1ccc08b8702edb818542c0cf83f893187f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyimouapi-1.3.4-py3-none-any.whl:

Publisher: publish.yml on Imou-OpenPlatform/Py-Imou-Open-Api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.3.5

2 files

This release

1.3.4 This release

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.9

2 files

1.2.8

2 files

1.2.7

2 files

1.2.6

2 files

1.2.5

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.27

2 files

1.1.26

2 files

1.1.25

2 files

1.1.24

2 files

1.1.23

2 files

1.1.22

2 files

1.1.21

2 files

1.1.20

2 files

1.1.19

2 files

1.1.18

2 files

1.1.17

2 files

1.1.16

2 files

1.1.15

2 files

1.1.14

2 files

1.1.13

2 files

1.1.12

2 files

1.1.11

2 files

1.1.10

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5.6

2 files

1.0.5.5

2 files

1.0.5.4

2 files

1.0.5.3

2 files

1.0.5.2

2 files

1.0.5.1

2 files

1.0.5.0

2 files

1.0.4.29

2 files

1.0.4.28

2 files

1.0.4.27

2 files

1.0.4.26

2 files

1.0.4.24

2 files

1.0.4.23

2 files

1.0.4.22

2 files

1.0.4.21

2 files

1.0.4.20

2 files

1.0.4.17

2 files

1.0.4.16

2 files

1.0.4.15

2 files

1.0.4.14

2 files

1.0.4.13

2 files

1.0.4.12

2 files

1.0.4.10

2 files

1.0.4.9

2 files

1.0.4.8

2 files

1.0.4.7

2 files

1.0.4.6

2 files

1.0.4.5

2 files

1.0.4.4

2 files

1.0.4.3

2 files

1.0.4.2

2 files

1.0.4.1

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page