CloudDrive2 gRPC Python client
Project description
clouddrive2-client
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
843f582b624a336cedea2f5cbad3cea4739fc6b43c54240f65b1f79947c865cb
|
|
| MD5 |
f7ad828c2e813a13904b752d5a636407
|
|
| BLAKE2b-256 |
4581209be1099765ac771cb5eb015030c4b042544ecd6b20eaa5723d3bae337f
|
Provenance
The following attestation bundles were made for clouddrive2_client-0.2.2.tar.gz:
Publisher:
publish.yml on DDSRem-Dev/clouddrive2-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clouddrive2_client-0.2.2.tar.gz -
Subject digest:
843f582b624a336cedea2f5cbad3cea4739fc6b43c54240f65b1f79947c865cb - Sigstore transparency entry: 1123068911
- Sigstore integration time:
-
Permalink:
DDSRem-Dev/clouddrive2-client@e20ee4c6a916c8cd9f58455dcf24112aac85e625 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/DDSRem-Dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e20ee4c6a916c8cd9f58455dcf24112aac85e625 -
Trigger Event:
release
-
Statement type:
File details
Details for the file clouddrive2_client-0.2.2-py3-none-any.whl.
File metadata
- Download URL: clouddrive2_client-0.2.2-py3-none-any.whl
- Upload date:
- Size: 69.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29d6619014c95093b3e298a864cf65bfa48442620889fbe267372efb9a043b8a
|
|
| MD5 |
57562019b3fe46be92679ad48fd6bd1c
|
|
| BLAKE2b-256 |
e9c10462de7be88ffaae0db04de42a63ec44823bf68e2caf92a58f6d387a70fb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clouddrive2_client-0.2.2-py3-none-any.whl -
Subject digest:
29d6619014c95093b3e298a864cf65bfa48442620889fbe267372efb9a043b8a - Sigstore transparency entry: 1123068921
- Sigstore integration time:
-
Permalink:
DDSRem-Dev/clouddrive2-client@e20ee4c6a916c8cd9f58455dcf24112aac85e625 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/DDSRem-Dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e20ee4c6a916c8cd9f58455dcf24112aac85e625 -
Trigger Event:
release
-
Statement type: