aioqbt-0.5.6
توضیحات
API library for qBittorrent with asyncio
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aioqbt-0.5.6 |
| نام | aioqbt |
| نسخه کتابخانه | 0.5.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aaron Tsang |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/aioqbt/ |
| مجوز | MIT |
# aioqbt
[](https://aioqbt.readthedocs.io/en/latest/?badge=latest)
API library for qBittorrent with asyncio.
It features async typed APIs and object-based results.
## Documentation
https://aioqbt.readthedocs.io/en/latest/
## Quick Start
Install with `pip`
```shell
$ pip install aioqbt
```
```python
import asyncio
from aioqbt.client import create_client
from aioqbt.api.types import InfoFilter
async def run():
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.2.5
print(await client.app.webapi_version()) # 2.5.1
# print torrents in downloading
for info in await client.torrents.info(filter=InfoFilter.DOWNLOADING):
print(f"{info.added_on.isoformat()} added {info.name!r}")
# 2022-09-10T17:59:00 added 'debian-11.5.0-amd64-netinst.iso'
if __name__ == '__main__':
asyncio.run(run())
```
See [detailed usage on Read the Docs][1].
[1]: https://aioqbt.readthedocs.io/en/latest/usage.html
نیازمندی
| مقدار | نام |
|---|---|
| <4,>=3.8.1 | aiohttp |
| <5,>=4.0.1 | typing-extensions |
| <1,~=0.961 | mypy |
| ~=22.6.0 | black |
| ~=5.10.1 | isort |
| ~=5.1.0 | sphinx |
| ~=1.0.0 | sphinx-rtd-theme |
| <8,~=7.1.2 | pytest |
| <1,~=0.19.0 | pytest-asyncio |
| ~=6.4.4 | coverage[toml] |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl aioqbt-0.5.6:
pip install aioqbt-0.5.6.whl
نصب پکیج tar.gz aioqbt-0.5.6:
pip install aioqbt-0.5.6.tar.gz