pytapo
Python library for communication with Tapo Cameras
Decision gist · record as of 2026-08-14
Yes. PyTapo is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It fills a clear need for programmatic Tapo camera control in Python. Install it if you own a Tapo camera and need to automate or integrate it into a larger system—but verify your camera model and firmware are supported, as authentication methods vary.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 and valid Tapo camera credentials (camera account created via Tapo App or TP-Link cloud account).
- Camera must be on the same network and accessible by IP address.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-07-04 (41 days) · last repo commit 2026-07-04 · 457 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 473,815 downloads/mo, #6,457 on PyPI
Alternatives
Verify before relying
pip install pytapo
from pytapo import Tapo
user = "camera_account_user"
password = "camera_account_password"
host = "192.168.1.52"
tapo = Tapo(host, user, password)
print(tapo.getBasicInfo())- Whether Python 3.13 is a hard requirement or if earlier Python 3.x versions are supported despite the documentation stating 3.13.
- Full scope of camera models and firmware versions supported—documentation mentions variations in authentication method.
- Whether ffmpeg is required for all use cases or only for recording download functionality.
What it is and what it does
PyTapo wraps HTTP requests to Tapo camera APIs, providing a Python interface for querying camera state and controlling features like pan/tilt, privacy mode, and reboots. It handles authentication (which varies by camera model and firmware), session management via the requests and urllib3 libraries, and encryption via pycryptodome. The library also supports downloading and converting SD card recordings using ffmpeg.
The package is used as the backend for the Home Assistant Tapo Control integration. It depends on requests, urllib3, pycryptodome for cryptographic operations, rtp for stream handling, and python-kasa for related device communication. Authentication typically uses credentials from the Tapo App's camera account, though some models may require TP-Link cloud credentials instead.
Use it for
- Retrieve live camera status and configuration from a Tapo IP camera in a home automation script.
- Control camera features (pan, tilt, privacy mode, reboot) programmatically from a Python application.
- Download and convert recorded video from a camera's SD card using the library's recording API.
- Integrate Tapo camera control into Home Assistant or other home automation platforms.
- Monitor multiple Tapo cameras and log their state changes over time.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
PyTapo is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It fills a clear need for programmatic Tapo camera control in Python. Install it if you own a Tapo camera and need to automate or integrate it into a larger system—but verify your camera model and firmware are supported, as authentication methods vary.
Install
pytapo on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and 457 GitHub stars, indicating stable community adoption.
Requires Python 3.13 and valid Tapo camera credentials (camera account created via Tapo App or TP-Link cloud account). Camera must be on the same network and accessible by IP address.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install pytapo
from pytapo import Tapo
user = "camera_account_user"
password = "camera_account_password"
host = "192.168.1.52"
tapo = Tapo(host, user, password)
print(tapo.getBasicInfo())
Verify before relying
- Whether Python 3.13 is a hard requirement or if earlier Python 3.x versions are supported despite the documentation stating 3.13.
- Full scope of camera models and firmware versions supported—documentation mentions variations in authentication method.
- Whether ffmpeg is required for all use cases or only for recording download functionality.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesrequestsurllib3pycryptodomertppython-kasa |
| Maintenance | Actively maintained 41 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 473,815 / month, #6,457 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: pytapo-3.4.18-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tapo camera python library”
- pytapoPyTapo is a Python library that communicates with Tapo IP cameras…
- plugp100A Python library for controlling and discovering TP-Link Tapo smart…
- python-kasaControl TP-Link Kasa and Tapo smart home devices (plugs, switches,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also plugp100 · pypylon · pyatmo · python-kasa · blinkpy · onvif-zeep-async · rawpy · pygrabber · reolink-aio · harvesters