Skip to main content

CloudDrive2 gRPC Python client

Project description

clouddrive2-client

PyPI version Python version License

CloudDrive2 gRPC Python 客户端库。

安装

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.1.0.tar.gz (63.5 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.1.0-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clouddrive2_client-0.1.0.tar.gz
  • Upload date:
  • Size: 63.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 92185ffd2ad430c6636b230eb17d75b7e8f042dc52da745e7415868e523c6436
MD5 c3eb6c162c38f8a13d39ce904d3ef6c0
BLAKE2b-256 e2b24291d751b27a8e2d1f1b8e0991a203a5fab4ad28117e5bb35892c6f32752

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clouddrive2_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdaee2afad702af26c24edbabd9e9b77f2532c27e7f1c24e9dc16f95ba350e11
MD5 21bf33b1627efeb0214613da3be76d92
BLAKE2b-256 2393d7f59a074548e546e8b08c4b2688902d98f6192db156bbd4b7b1d27aae37

See more details on using hashes here.

Provenance

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