skillfed

pyimouapi

A package for imou open api

pyimouapi v1.3.5 74.9K downloads/30d#14,771 on PyPI0
Permissive license MIT Active released

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 pyimouapi

uv

uv add pyimouapi

poetry

poetry add pyimouapi

Installing 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

imou cloud api clientasync imou device controlimou open platform pythonimou camera apiimou device managerimou authentication clientimou channel control
async-httpdevice-integrationhome-automation

More Internet packages