Python SDK for 115 cloud storage service.
Project description
PY115
A Python API SDK of 115 cloud storage service.
Version 0.1.x is under development.
Example
from py115 import Cloud
# Connect to cloud
cloud = Cloud(credential={
'UID': 'UID-value-in-cookie',
'CID': 'CID-value-in-cookie',
'SEID': 'SEID-value-in-cookie',
})
# Get storage service
storage = cloud.storage()
# Get file list under root directory
for file in storage.list_files(dir_id='0'):
print('File: %r' % file)
# Get offline service
offline = cloud.offline()
# Get task list
for task in offline.list():
print('Task: %r' % task)
# Add task by download URLs
offline.add_urls(
'magnet:?xt=urn:btih:000123456789abcdef1151150123456789abcdef',
'ed2k://|file|ED2k-file|115115115|1234567890abcdef1234567890abcdef|/',
'https://dl.some-server.com/some/file.ext'
)
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
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 py115-0.1.1.tar.gz.
File metadata
- Download URL: py115-0.1.1.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98dfb49bbd64bfa399e049401e97ebfc3943f08f2189bb2924129e29ef5001dd
|
|
| MD5 |
9d91798a19a7c0ddd99cbffabe53fa9d
|
|
| BLAKE2b-256 |
f86b050bfb258359930c1aa72cb82c9a969949b608b5ba5d1caa1bf5c7091cee
|
Provenance
The following attestation bundles were made for py115-0.1.1.tar.gz:
Publisher:
pypi.yml on deadblue/py115
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py115-0.1.1.tar.gz -
Subject digest:
98dfb49bbd64bfa399e049401e97ebfc3943f08f2189bb2924129e29ef5001dd - Sigstore transparency entry: 153344672
- Sigstore integration time:
-
Permalink:
deadblue/py115@83cf61a310e90684429098f648b730293279cfbd -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/deadblue
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@83cf61a310e90684429098f648b730293279cfbd -
Trigger Event:
push
-
Statement type:
File details
Details for the file py115-0.1.1-py3-none-any.whl.
File metadata
- Download URL: py115-0.1.1-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6898f45bb33b20597643278bfca62df6df378ae2512496f49843b6d163181f1
|
|
| MD5 |
503446aaf0968293d62a4158e7fc1551
|
|
| BLAKE2b-256 |
c9b118ebb6e372ac195e8a4cfd99ea15535aa32208be780eb97dbd6bba1676a1
|
Provenance
The following attestation bundles were made for py115-0.1.1-py3-none-any.whl:
Publisher:
pypi.yml on deadblue/py115
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py115-0.1.1-py3-none-any.whl -
Subject digest:
b6898f45bb33b20597643278bfca62df6df378ae2512496f49843b6d163181f1 - Sigstore transparency entry: 153344673
- Sigstore integration time:
-
Permalink:
deadblue/py115@83cf61a310e90684429098f648b730293279cfbd -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/deadblue
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@83cf61a310e90684429098f648b730293279cfbd -
Trigger Event:
push
-
Statement type: