Skip to main content

Write for alist V3

Project description

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

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

alist_v3-0.1.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alist_v3-0.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file alist_v3-0.1.1.tar.gz.

File metadata

  • Download URL: alist_v3-0.1.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for alist_v3-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2de88c63384f5eb8f63fa25f85b94258a0578b60cfab8948b2c01871a36bb217
MD5 e1aae98e10fb2aa9b6672e76acff0989
BLAKE2b-256 b4ac3c2383e88c2356e1959c64b142423b351e96eda1bfd4f8b479e0932e8ec1

See more details on using hashes here.

File details

Details for the file alist_v3-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: alist_v3-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for alist_v3-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb6465e39e755a09e17d675e59461b9398f4135c852ad99e2bd5dae490935d17
MD5 500a8cf37c3db2dea27e24aa1ea4ac64
BLAKE2b-256 dc8781bf4f7fbb1c8a2e8a360d36780bd05ae2478457d80dbf3e07ad3dc059ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page