Name | aioqbt JSON |
Version |
1.0.0
JSON |
| download |
home_page | None |
Summary | API library for qBittorrent with asyncio |
upload_time | 2024-12-08 13:55:58 |
maintainer | None |
docs_url | None |
author | Aaron Tsang |
requires_python | >=3.7 |
license | MIT |
keywords |
qbittorrent
asyncio
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# aioqbt
[![Documentation Status](https://readthedocs.org/projects/aioqbt/badge/?version=latest)](https://aioqbt.readthedocs.io/en/latest/?badge=latest)
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`
```shell
$ pip install aioqbt
```
```python
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())
```
See [detailed usage on Read the Docs][1].
[1]: https://aioqbt.readthedocs.io/en/latest/usage.html
Raw data
{
"_id": null,
"home_page": null,
"name": "aioqbt",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "qbittorrent, asyncio",
"author": "Aaron Tsang",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/e8/20/77664669313d4758f808228660939ad5fbcd468ec8f04df09405901a9846/aioqbt-1.0.0.tar.gz",
"platform": null,
"description": "# aioqbt\n\n[![Documentation Status](https://readthedocs.org/projects/aioqbt/badge/?version=latest)](https://aioqbt.readthedocs.io/en/latest/?badge=latest)\n\nPython library for qBittorrent WebAPI with asyncio.\n\nFeatures:\n* Async typed interfaces.\n* Complete qBittorrent WebAPI.\n* Tested with qBittorrent v4.1.5 to v5.0.2 on Debian/Ubuntu.\n\n## Documentation\n\nhttps://aioqbt.readthedocs.io/en/latest/\n\n## Quick Start\n\nInstall with `pip`\n\n```shell\n$ pip install aioqbt\n```\n\n```python\nimport asyncio\n\nfrom aioqbt.api import InfoFilter\nfrom aioqbt.client import create_client\n\n\nasync def main():\n client = await create_client(\n \"http://localhost:8080/api/v2/\",\n username=\"admin\",\n password=\"adminadmin\",\n )\n\n async with client:\n # print client and API versions\n print(await client.app.version()) # v4.6.1\n print(await client.app.webapi_version()) # 2.9.3\n\n # print torrents in downloading\n for info in await client.torrents.info(filter=InfoFilter.DOWNLOADING):\n print(f\"{info.added_on.isoformat()} added {info.name!r}\")\n # 2023-11-06T17:59:00 added 'ubuntu-22.04.3-desktop-amd64.iso'\n\n\nif __name__ == '__main__':\n asyncio.run(main())\n```\n\nSee [detailed usage on Read the Docs][1].\n\n[1]: https://aioqbt.readthedocs.io/en/latest/usage.html\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "API library for qBittorrent with asyncio",
"version": "1.0.0",
"project_urls": {
"Documentation": "https://aioqbt.readthedocs.io/en/latest/",
"Homepage": "https://github.com/tsangwpx/aioqbt",
"Source": "https://github.com/tsangwpx/aioqbt"
},
"split_keywords": [
"qbittorrent",
" asyncio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c15ec840b6388fe28e785fa2afcf8e5289e70f44508c0ccf91fd55066f1988f1",
"md5": "bb9e13ac91f021c28df64c3e790df1b3",
"sha256": "99187cca1ed710d715dbe6ccf73d08bcddb9f33ddc4a72b2a44f1f6556af6ecd"
},
"downloads": -1,
"filename": "aioqbt-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb9e13ac91f021c28df64c3e790df1b3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 50245,
"upload_time": "2024-12-08T13:55:56",
"upload_time_iso_8601": "2024-12-08T13:55:56.440382Z",
"url": "https://files.pythonhosted.org/packages/c1/5e/c840b6388fe28e785fa2afcf8e5289e70f44508c0ccf91fd55066f1988f1/aioqbt-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e82077664669313d4758f808228660939ad5fbcd468ec8f04df09405901a9846",
"md5": "4173c8dc6b26e4410b4af81144c99068",
"sha256": "50ecec58d8bb50a2ce6a825237a49c85960aaa56209555b4dbceb9ea073089c1"
},
"downloads": -1,
"filename": "aioqbt-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4173c8dc6b26e4410b4af81144c99068",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 90297,
"upload_time": "2024-12-08T13:55:58",
"upload_time_iso_8601": "2024-12-08T13:55:58.567088Z",
"url": "https://files.pythonhosted.org/packages/e8/20/77664669313d4758f808228660939ad5fbcd468ec8f04df09405901a9846/aioqbt-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-08 13:55:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tsangwpx",
"github_project": "aioqbt",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aioqbt"
}