Metadata-Version: 2.4
Name: clouddrive2-client
Version: 0.2.2
Summary: CloudDrive2 gRPC Python client
Project-URL: Homepage, https://github.com/DDSRem-Dev/clouddrive2-client
Project-URL: Repository, https://github.com/DDSRem-Dev/clouddrive2-client
Project-URL: Issues, https://github.com/DDSRem-Dev/clouddrive2-client/issues
Author-email: DDSRem <ddsrem@xnn.ee>
License-Expression: MIT
License-File: LICENSE
Keywords: client,clouddrive,clouddrive2,grpc
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: grpcio
Requires-Dist: protobuf
Description-Content-Type: text/markdown

# clouddrive2-client

[![PyPI version](https://img.shields.io/pypi/v/clouddrive2-client)](https://pypi.org/project/clouddrive2-client/)
[![Python version](https://img.shields.io/pypi/pyversions/clouddrive2-client)](https://pypi.org/project/clouddrive2-client/)
[![License](https://img.shields.io/github/license/DDSRem-Dev/clouddrive2-client)](./LICENSE)

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

## 安装

```bash
pip install clouddrive2-client
```

## 快速开始

```python
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](./LICENSE)
