Skip to main content

A Python SDK for interacting with Cloud189

Project description

Cloud189

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

Installation

pip install cloud189

Usage

from cloud189 import Cloud189

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

# List files
client.get_all_files(folder_id)

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

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

# Get media play url
client.get_play_url(file_id)

# Get cloud disk space info 
client.get_user_size_info()

Features

  • Login to Cloud189
  • List files and folders
  • Upload files
  • Delete files/folders

License

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

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

cloud189-0.1.2.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloud189-0.1.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file cloud189-0.1.2.tar.gz.

File metadata

  • Download URL: cloud189-0.1.2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0a7

File hashes

Hashes for cloud189-0.1.2.tar.gz
Algorithm Hash digest
SHA256 69359b24217a6d34584aeb3e20e1e0f4688d0f443ff0b1720524c75872952c99
MD5 3a0846ae16e9afa3d2c0d3782f579d04
BLAKE2b-256 d2d97d9c427869806211b76d49be9072cef94e537a0a76ad8e4a22dd04fcd7fc

See more details on using hashes here.

File details

Details for the file cloud189-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cloud189-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0a7

File hashes

Hashes for cloud189-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53dcc90bdd2a919ae7c5ea2cfbe071c5e12af57ea37dbc6a701563ab40f6cd9d
MD5 41cc91eae241d71df90757077538f1d8
BLAKE2b-256 902c88df1af7688c71af4f32d0fa1433717c1707bd47f658d190c396afd01142

See more details on using hashes here.

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