qbittorrent-api
Python client for qBittorrent v4.1+ Web API.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs cleanly with minimal dependencies, and is MIT-licensed. It covers the full qBittorrent Web API surface and handles version compatibility automatically. Install it if you need to control qBittorrent from Python code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; requires a running qBittorrent instance with Web API enabled and network access to its WebUI port.
- Low install friction with a pure-Python wheel and only three runtime dependencies (packaging, requests, urllib3).
- Active maintenance with a release 13 days ago; the project has been maintained since 2019 and tracks qBittorrent releases closely.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
last release 2026-08-01 (13 days) · last repo commit 2026-08-05 · 511 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 282,224 downloads/mo, #8,087 on PyPI
Alternatives
Verify before relying
pip install qbittorrent-api
import qbittorrentapi
conn_info = dict(host="localhost", port=8080, username="admin", password="adminadmin")
qbt_client = qbittorrentapi.Client(**conn_info)
qbt_client.auth_log_in()
for torrent in qbt_client.torrents_info():
print(f"{torrent.hash[-6:]}: {torrent.name} ({torrent.state})")- Whether automatic session-cookie renewal works reliably across network interruptions or long-lived client instances.
- Performance characteristics when managing large numbers of torrents or frequent API calls.
What it is and what it does
qbittorrent-api is a Python wrapper around the qBittorrent Web API that lets you control a qBittorrent instance programmatically. It handles the HTTP communication, authentication, and session management so you can focus on torrent operations—adding, removing, pausing, and querying torrents—through a clean Python interface. The library automatically detects your qBittorrent version and adapts to available API endpoints, and it manages login cookies transparently so you don't have to.
The package supports qBittorrent v5.2.3 (Web API v2.15.1) and works with Python 3.10 through 3.14. It depends only on packaging, requests, and urllib3, making it lightweight to install. The library is actively maintained, with releases tracking qBittorrent updates closely, and it includes a context-manager interface for safe resource cleanup.
Use it for
- Automate torrent downloads and management in scripts or applications without manual WebUI interaction.
- Monitor torrent status and qBittorrent health metrics from external monitoring or logging systems.
- Build a custom dashboard or control panel that queries and manages torrents via qBittorrent's API.
- Integrate torrent operations into larger automation workflows or CI/CD pipelines.
- Programmatically add, pause, or remove torrents based on external triggers or conditions.
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, installs cleanly with minimal dependencies, and is MIT-licensed. It covers the full qBittorrent Web API surface and handles version compatibility automatically. Install it if you need to control qBittorrent from Python code.
Install
qbittorrent-api on PyPI
Before you install
Low install friction with a pure-Python wheel and only three runtime dependencies (packaging, requests, urllib3). Active maintenance with a release 13 days ago; the project has been maintained since 2019 and tracks qBittorrent releases closely.
Requires Python 3.10 or later; requires a running qBittorrent instance with Web API enabled and network access to its WebUI port.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install qbittorrent-api
import qbittorrentapi
conn_info = dict(host="localhost", port=8080, username="admin", password="adminadmin")
qbt_client = qbittorrentapi.Client(**conn_info)
qbt_client.auth_log_in()
for torrent in qbt_client.torrents_info():
print(f"{torrent.hash[-6:]}: {torrent.name} ({torrent.state})")
Verify before relying
- Whether automatic session-cookie renewal works reliably across network interruptions or long-lived client instances.
- Performance characteristics when managing large numbers of torrents or frequent API calls.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespackagingrequestsurllib3 |
| Maintenance | Actively maintained 13 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 282,224 / month, #8,087 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 :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Communications :: File SharingTopic :: Utilities |
Evidence: qbittorrent_api-2026.8.0-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 › “qbittorrent web api client”
- qbittorrent-apiPython client library that wraps the qBittorrent Web API, allowing…
- rapidataA Python client library for interacting with the Rapidata Web API,…
- linkup-sdkA Python client library for the Linkup API that provides web search,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities 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.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
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.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also libtorrent · py3createtorrent · deluge-client · httpcore · boxsdk · kanboard · music-assistant-client · arcticdb · PlexAPI · tensorflow-io-gcs-filesystem