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.5.tar.gz (54.7 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.5-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyimouapi-1.3.5.tar.gz
  • Upload date:
  • Size: 54.7 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.5.tar.gz
Algorithm Hash digest
SHA256 d970e8f8ec99fa2e11b923cb463bb3dbf0588e53c4e59f3a199a3968a1d437ef
MD5 7316602a3605b15cdb5f37bd9601bf64
BLAKE2b-256 9c227fd2fabaa50f854c816a835924f6573fdd0927be603d8632a620f6e6591a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyimouapi-1.3.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: pyimouapi-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 32.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 816b1a83bee31e0e4df49af39c9c9f17947e64ff9154dcad33548dab8950934f
MD5 1aca433afad5b3c2c698f4e7babd5727
BLAKE2b-256 a64f448768dfe04de80d8cdfd6f1b5e25e39d24fb3700e7bc1030db71f08bb00

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyimouapi-1.3.5-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

This release

1.3.5 This release

2 files

1.3.4

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