fritzconnection
Communicate with the AVM FRITZ!Box
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. It's well-suited for anyone building FRITZ!Box automation or home automation integrations in Python. The broad Python version support (3.7–3.14) and caching feature make it practical for both simple scripts and production systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires network access to a FRITZ!Box router; credentials (username/password) can be read from FRITZ_USERNAME and FRITZ_PASSWORD environment variables to avoid hardcoding.
- Low install friction with a single runtime dependency (requests).
- Active maintenance with recent commits and a stable production status; supports Python 3.7 through 3.14.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both personal and commercial projects.
last release 2026-01-26 (200 days) · last repo commit 2026-03-09 · 396 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 136,580 downloads/mo, #11,392 on PyPI
Alternatives
Verify before relying
pip install fritzconnection
from fritzconnection import FritzConnection
fc = FritzConnection(address="192.168.178.1", user="user", password="pw")
fc.call_action("WANIPConn1", "ForceTermination")- Whether the optional segno dependency (for QR-code generation) is needed for your use case
- Performance characteristics when managing many home automation devices simultaneously
- Compatibility with specific FRITZ!Box models or firmware versions beyond the documented API
What it is and what it does
fritzconnection is a Python client library for communicating with AVM FRITZ!Box routers using their TR-064 and HTTP APIs. It abstracts the complexity of these protocols, allowing you to execute router actions (network settings, status queries, home automation control) and retrieve device data through simple method calls. The library handles API inspection on startup, converting responses to native Python types, and optionally caches model-specific API metadata to speed up initialization.
The package is designed for developers building automation, monitoring, or integration tools around FRITZ!Box hardware. It supports both synchronous operations and provides library modules that simplify common tasks. Credentials can be sourced from environment variables, and the caching mechanism helps when creating multiple instances or running in resource-constrained environments.
Use it for
- Automate network tasks like forcing IP renewal or managing port forwarding on a FRITZ!Box router
- Monitor and control home automation devices (lights, switches, thermostats) connected to a FRITZ!Box
- Retrieve device statistics and status information from smart home devices registered with the router
- Integrate FRITZ!Box management into larger home automation or monitoring dashboards
- Build call-monitoring applications that track or log incoming/outgoing calls on the router
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. It's well-suited for anyone building FRITZ!Box automation or home automation integrations in Python. The broad Python version support (3.7–3.14) and caching feature make it practical for both simple scripts and production systems.
Install
fritzconnection on PyPI
Before you install
Low install friction with a single runtime dependency (requests). Active maintenance with recent commits and a stable production status; supports Python 3.7 through 3.14.
Requires network access to a FRITZ!Box router; credentials (username/password) can be read from FRITZ_USERNAME and FRITZ_PASSWORD environment variables to avoid hardcoding.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both personal and commercial projects.
Quickstart
pip install fritzconnection
from fritzconnection import FritzConnection
fc = FritzConnection(address="192.168.178.1", user="user", password="pw")
fc.call_action("WANIPConn1", "ForceTermination")
Verify before relying
- Whether the optional segno dependency (for QR-code generation) is needed for your use case
- Performance characteristics when managing many home automation devices simultaneously
- Compatibility with specific FRITZ!Box models or firmware versions beyond the documented API
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Actively maintained 200 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 136,580 / month, #11,392 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: fritzconnection-1.15.1-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 › “fritz box router control”
- fritzconnectionCommunicate with AVM FRITZ!Box routers via TR-064 and HTTP…
- pyfritzhomeProvides Python access to AVM Fritz!Box home automation devices and…
- sfrbox-apiProvides an async Python client for interacting with SFR Box routers…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyfritzhome · sfrbox-api · asusrouter · pynetgear · python-otbr-api · python-miio · pyvesync · tinytuya · velbus-aio · HATasmota