API library for qBittorrent with asyncio
Project description
aioqbt
Python library for qBittorrent WebAPI with asyncio.
Features:
- Async typed interfaces.
- Complete qBittorrent WebAPI.
- Tested with qBittorrent v4.1.5 to v5.0.2 on Debian/Ubuntu.
Documentation
https://aioqbt.readthedocs.io/en/latest/
Quick Start
Install with pip
$ pip install aioqbt
import asyncio
from aioqbt.api import InfoFilter
from aioqbt.client import create_client
async def main():
client = await create_client(
"http://localhost:8080/api/v2/",
username="admin",
password="adminadmin",
)
async with client:
# print client and API versions
print(await client.app.version()) # v4.6.1
print(await client.app.webapi_version()) # 2.9.3
# print torrents in downloading
for info in await client.torrents.info(filter=InfoFilter.DOWNLOADING):
print(f"{info.added_on.isoformat()} added {info.name!r}")
# 2023-11-06T17:59:00 added 'ubuntu-22.04.3-desktop-amd64.iso'
if __name__ == '__main__':
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioqbt-1.0.0.tar.gz.
File metadata
- Download URL: aioqbt-1.0.0.tar.gz
- Upload date:
- Size: 90.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50ecec58d8bb50a2ce6a825237a49c85960aaa56209555b4dbceb9ea073089c1
|
|
| MD5 |
4173c8dc6b26e4410b4af81144c99068
|
|
| BLAKE2b-256 |
e82077664669313d4758f808228660939ad5fbcd468ec8f04df09405901a9846
|
Provenance
The following attestation bundles were made for aioqbt-1.0.0.tar.gz:
Publisher:
publish.yaml on tsangwpx/aioqbt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioqbt-1.0.0.tar.gz -
Subject digest:
50ecec58d8bb50a2ce6a825237a49c85960aaa56209555b4dbceb9ea073089c1 - Sigstore transparency entry: 154049095
- Sigstore integration time:
-
Permalink:
tsangwpx/aioqbt@7004ee52ad4e026f10a0cd435d0029836614158e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/tsangwpx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@7004ee52ad4e026f10a0cd435d0029836614158e -
Trigger Event:
push
-
Statement type:
File details
Details for the file aioqbt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: aioqbt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 50.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99187cca1ed710d715dbe6ccf73d08bcddb9f33ddc4a72b2a44f1f6556af6ecd
|
|
| MD5 |
bb9e13ac91f021c28df64c3e790df1b3
|
|
| BLAKE2b-256 |
c15ec840b6388fe28e785fa2afcf8e5289e70f44508c0ccf91fd55066f1988f1
|
Provenance
The following attestation bundles were made for aioqbt-1.0.0-py3-none-any.whl:
Publisher:
publish.yaml on tsangwpx/aioqbt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioqbt-1.0.0-py3-none-any.whl -
Subject digest:
99187cca1ed710d715dbe6ccf73d08bcddb9f33ddc4a72b2a44f1f6556af6ecd - Sigstore transparency entry: 154049096
- Sigstore integration time:
-
Permalink:
tsangwpx/aioqbt@7004ee52ad4e026f10a0cd435d0029836614158e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/tsangwpx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@7004ee52ad4e026f10a0cd435d0029836614158e -
Trigger Event:
push
-
Statement type: