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
Release files for py115 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py115-0.1.1.tar.gz | 25.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py115-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.3 kB
Release files / py115-0.1.1.tar.gz
| Download URL | py115-0.1.1.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98dfb49bbd64bfa399e049401e97ebfc3943f08f2189bb2924129e29ef5001dd
|
|
BLAKE2b-256 checksum How to use checksums |
f86b050bfb258359930c1aa72cb82c9a969949b608b5ba5d1caa1bf5c7091cee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency logRelease files / py115-0.1.1-py3-none-any.whl
| Download URL | py115-0.1.1-py3-none-any.whl |
|---|---|
| Size | 37.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6898f45bb33b20597643278bfca62df6df378ae2512496f49843b6d163181f1
|
|
BLAKE2b-256 checksum How to use checksums |
c9b118ebb6e372ac195e8a4cfd99ea15535aa32208be780eb97dbd6bba1676a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.
Transparency log