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.2.tar.gz (66.9 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.2-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clouddrive2_client-0.2.2.tar.gz
  • Upload date:
  • Size: 66.9 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.2.tar.gz
Algorithm Hash digest
SHA256 843f582b624a336cedea2f5cbad3cea4739fc6b43c54240f65b1f79947c865cb
MD5 f7ad828c2e813a13904b752d5a636407
BLAKE2b-256 4581209be1099765ac771cb5eb015030c4b042544ecd6b20eaa5723d3bae337f

See more details on using hashes here.

Provenance

The following attestation bundles were made for clouddrive2_client-0.2.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for clouddrive2_client-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 29d6619014c95093b3e298a864cf65bfa48442620889fbe267372efb9a043b8a
MD5 57562019b3fe46be92679ad48fd6bd1c
BLAKE2b-256 e9c10462de7be88ffaae0db04de42a63ec44823bf68e2caf92a58f6d387a70fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for clouddrive2_client-0.2.2-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