Skip to main content

CloudDrive2 gRPC Python client

Project description

clouddrive2-client

PyPI version Python version License

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

安装

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.3.0.tar.gz (70.0 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.3.0-py3-none-any.whl (72.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clouddrive2_client-0.3.0.tar.gz
  • Upload date:
  • Size: 70.0 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.3.0.tar.gz
Algorithm Hash digest
SHA256 963630cc30f6ccb024f4719aa0ab212124ac73e4c42a5f1b4639bd80708e3d1e
MD5 38cf83b79e08c85522967d08b86bf9c6
BLAKE2b-256 49e26eec4af8b6be2219d7c8c6d69b4e87fab248b16180791af538d886917fa5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clouddrive2_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 122077ea33bb83fe4fc3064a454841fcc3ad342b4bdbc5cfbaf5802f1f886401
MD5 030bd8cba8ce0733feeafa37b808f14f
BLAKE2b-256 d82d45884b8643fd9007c34e850a71b82c487c70109fcbfbee63c0405a4eb144

See more details on using hashes here.

Provenance

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