Skip to main content

CloudDrive2 gRPC Python client

Project description

clouddrive2-client

PyPI version Python version License

CloudDrive2 gRPC Python 客户端库。CloudDriveClient 提供 55 个对外接口,覆盖认证、文件/目录操作、远程上传、下载与任务管理等能力。

安装

pip install clouddrive2-client

快速开始

from clouddrive2_client import CloudDriveClient

# 连接到 CloudDrive2 服务
client = CloudDriveClient("localhost:19798")

# 认证
client.authenticate("admin", "password")

# 获取系统信息
info = client.get_system_info()

# 列出目录文件
files = client.get_sub_files("/")

# 创建文件夹
client.create_folder("/", "new_folder")

# 获取空间信息
space = client.get_space_info("/")

# 关闭连接
client.close()

License

MIT

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

clouddrive2_client-0.2.1.tar.gz (66.1 kB view details)

Uploaded Source

Built Distribution

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

clouddrive2_client-0.2.1-py3-none-any.whl (68.7 kB view details)

Uploaded Python 3

File details

Details for the file clouddrive2_client-0.2.1.tar.gz.

File metadata

  • Download URL: clouddrive2_client-0.2.1.tar.gz
  • Upload date:
  • Size: 66.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for clouddrive2_client-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0819b8c339e735e95c76829aa0be109a876bf72d89ffd598fb2d83280797f7f5
MD5 a0d97e23d1080f14c52e89f60167f67d
BLAKE2b-256 997fc36650593a6477e0ec2aa4a3884b0bf7238ab37aa09dfe67a263e0ece28e

See more details on using hashes here.

Provenance

The following attestation bundles were made for clouddrive2_client-0.2.1.tar.gz:

Publisher: publish.yml on DDSRem-Dev/clouddrive2-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clouddrive2_client-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for clouddrive2_client-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 630bb10120ba00d6df2da83ebbf4fe46b3a664da51e252044b43a4c37dbe2c8f
MD5 5da0dbbdc0d36f77ab44dca595fec39a
BLAKE2b-256 bdf27a7d1a9cc230ba2346deb587c2bf2a8077a14461e9fb545059306a647117

See more details on using hashes here.

Provenance

The following attestation bundles were made for clouddrive2_client-0.2.1-py3-none-any.whl:

Publisher: publish.yml on DDSRem-Dev/clouddrive2-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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