Alist-API-V3
根据Alist API V3文档,使用Python3实现的异步Alist V3 API SDK
! 注意: 本SDK未经严格测试,请勿轻易用于生产环境
安装
pip install alist_v3
使用
import asyncio
from alist_v3 import AsyncClient
async def main():
async with AsyncClient(usr='ur_user_name', pwd='ur_password', url="http://ur_url.com") as client:
msg = await client.get_me()
print(msg)
print(await client.post_mkdir('/aliyun/test'))
print(await client.post_list('/aliyun'))
if __name__ == '__main__':
asyncio.run(main())
API
本SDK的Method与Alist文档中的API名称接近一致,可以参考文档使用
如有问题,可提issue
Release files for alist-v3 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alist_v3-0.1.1.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alist_v3-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / alist_v3-0.1.1.tar.gz
| Download URL | alist_v3-0.1.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2de88c63384f5eb8f63fa25f85b94258a0578b60cfab8948b2c01871a36bb217
|
|
BLAKE2b-256 checksum How to use checksums |
b4ac3c2383e88c2356e1959c64b142423b351e96eda1bfd4f8b479e0932e8ec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / alist_v3-0.1.1-py3-none-any.whl
| Download URL | alist_v3-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb6465e39e755a09e17d675e59461b9398f4135c852ad99e2bd5dae490935d17
|
|
BLAKE2b-256 checksum How to use checksums |
dc8781bf4f7fbb1c8a2e8a360d36780bd05ae2478457d80dbf3e07ad3dc059ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|