pyimouapi
A package for imou open api
What it is and what it does
pyimouapi is an async Python client for Imou's Open Platform cloud APIs, built on aiohttp. It abstracts authentication, token lifecycle, and HTTP signing so you can focus on device operations. The package exposes a device manager for listing and controlling Imou devices and channels, plus higher-level helpers (ImouHaDeviceManager) designed for home automation integrations like Home Assistant. It handles PTZ control, alarms, storage queries, and collection point (preset) management through typed exceptions and device abstractions.
The package is structured into focused modules: the core client handles auth and requests, the device module provides device and channel abstractions, and the ha_device module offers aggregated device models for automation stacks. It requires Python >= 3.11 and depends only on aiohttp and simpleeval, keeping the install footprint small. Intended for integrations that need programmatic control over Imou devices via the cloud platform.
Use it for:
- Build a Home Assistant integration or other home automation system that discovers and controls Imou cameras and devices.
- Query device status, alarms, and storage metrics from Imou cameras programmatically in an async application.
- Implement PTZ (pan-tilt-zoom) control or preset management for Imou cameras via the cloud API.
- Aggregate multiple Imou devices into a unified device model for a custom dashboard or monitoring tool.
- Automate collection point (preset) switching on Imou devices based on external triggers or schedules.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Async Python client for Imou Open Platform cloud APIs, providing authentication, device management, and channel control through aiohttp-based HTTP calls.
Yes, if you need to integrate Imou devices into a Python application. Low install friction, active maintenance (released within 1 day), permissive MIT license, and no known vulnerabilities make it a safe choice. Verify that the package covers the specific Imou endpoints and device types you need before committing to a production integration.
Install
pyimouapi on PyPI
pip
pip install pyimouapiuv
uv add pyimouapipoetry
poetry add pyimouapiInstalling pyimouapi
Before you install
Active maintenance with a release within the last day. Low install friction: pure Python wheel with only two runtime dependencies (aiohttp and simpleeval). Requires Python >= 3.11.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most integration scenarios.
Quickstart
pip install pyimouapi
from pyimouapi.openapi import ImouOpenApiClient
client = ImouOpenApiClient("app_id", "app_secret", "openapi-sg.easy4ip.com")
await client.async_get_token()
Requires Python >= 3.11 and an async runtime (asyncio). Imou Open Platform credentials (app ID, app secret, and gateway hostname) are required.
Verify before relying
- Whether the package is actively maintained by Imou or community-driven (repo shows 0 stars, unclear ownership signal).
- API stability and coverage—which Imou endpoints are fully supported versus experimental or partial.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — aiohttp, simpleeval |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,903/month — #14,771 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyimouapi-1.3.5-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
onvif-zeep-asyncAsync Python client for ONVIF IP cameras using…
permissive · top 15,000 on PyPI
pymielepymiele is a Python library that enables Home…
permissive · top 15,000 on PyPI
aioazuredevopsFetch data from Azure DevOps API endpoints…
permissive · top 15,000 on PyPI
httpx-aiohttpProvides aiohttp-based transports for httpx,…
unclear · top 5,000 on PyPI
zhipuaiOfficial Python SDK for ZhipuAI's large model…
unclear · top 15,000 on PyPI
aiomqttAn asyncio-native MQTT client that wraps…
permissive · top 5,000 on PyPI
aiohttp-basicauthProvides HTTP basic authentication middleware…
permissive · top 15,000 on PyPI
blinkpyA Python library for controlling and monitoring…
permissive · top 15,000 on PyPI
ghapighapi provides a complete, always-current…
permissive · top 1,000 on PyPI
zai-sdkOfficial Python SDK for Z.ai's large model…
unclear · top 15,000 on PyPI