Metadata-Version: 2.4
Name: cloud189
Version: 0.1.5
Summary: A Python SDK for interacting with Cloud189
Home-page: https://github.com/s0urcelab/cloud189
Author: s0urce
Author-email: me@src.moe
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pycryptodome>=3.15.0
Requires-Dist: httpx==0.28.1
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Cloud189

A Python SDK for interacting with Cloud189 (天翼云盘).

## Installation

```bash
pip install cloud189
```

## Usage

```python
from cloud189 import Cloud189

# Init & Login the client 
client = Cloud189({
    'username': 'your_username',
    'password': 'your_password'
})

# List files
file_list = client.get_all_files(folder_id)

# Download file
download_url = client.download(file_id)

# Upload file
file_id = client.upload(file_path, folder_id, rename)

# Delete file
client.delete(file_id, file_name, is_folder=False)

# Get media play url
media_url = client.get_play_url(file_id)

# Get cloud disk space info 
info = client.get_user_size_info()

```

## Features

- Login to Cloud189
- List files and folders
- Download files
- Upload files
- Delete files/folders

## License

This project is licensed under the MIT License - see the LICENSE file for details. 
