Registry / devops / aioqbt

aioqbt

JSON →
library1.1.0pypypiunverified

Async Python library for qBittorrent Web API. Leverages asyncio for non-blocking interactions. Current version 1.1.0; released Jan 2025. Active development with monthly releases.

pip install aioqbt
INSTALL
IMPORT
SIG · AIOQBT
A
aioqbt
devopspythonv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from aioqbt import Client
from aioqbt.client import Client

Basic usage: connect, authenticate, list torrents.

import asyncio from aioqbt.client import Client from aioqbt.exceptions import LoginError async def main(): url = os.environ.get('QB_URL', 'http://localhost:8080') username = os.environ.get('QB_USER', 'admin') password = os.environ.get('QB_PASS', 'adminadmin') async with Client(url) as cli: try: await cli.auth.login(username, password) torrents = await cli.torrents.info() print(f"Active torrents: {len(torrents)}") except LoginError: print("Login failed") asyncio.run(main())
Debug
Known issues
breakingIn v1.1.0, the 'Client' class was moved from aioqbt to aioqbt.client. Old imports will break.
fix
Change 'from aioqbt import Client' to 'from aioqbt.client import Client'.
affects: <1.1.0
deprecatedThe method 'app.version' was deprecated in v1.0.5 and removed in v1.1.0. Use 'app.webapi_version' instead.
fix
Replace 'await cli.app.version()' with 'await cli.app.webapi_version()'.
affects: <1.1.0
gotchaThe Client context manager does NOT automatically log in. You must call 'cli.auth.login()' explicitly after entering the context.
fix
Always call 'await cli.auth.login(username, password)' inside the 'async with Client(url)' block.
affects: all
Upgrade
Version history
1.1.0latest on PyPI · released May 11, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources