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.1.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.1-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clouddrive2_client-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 59cb44c3197c2a68c2ddd023583c60cff635f80e3abd77c6f23d24359a4daeab
MD5 8b5c980d03223cf810b6b47060192785
BLAKE2b-256 f571cb7168201e3e3db501c36d31f2de42bdb5d5a1314a9b6fb3d3b0e1684706

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clouddrive2_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb4832cdddfb1ef41a5fdb31830259bda97c44f0f26e6ae581ca1a3772234541
MD5 6d33fc28f256930a008d6825bca668ef
BLAKE2b-256 af4cd010c20a7cab4e46097f14f4ebf4257cfb44f1255b5800cb5771d6f22c2c

See more details on using hashes here.

Provenance

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