PY115
An API client of 115 cloud storage service.
Install
# Install from PyPI
pip install py115
# Or install from source
pip install git+https://github.com/deadblue/py115.git
Usage
import py115
from py115.types import Credentail
# Connect to cloud
cloud = py115.connect(credential=Credential(
uid='', cid='', seid=''
))
# OR
# cloud = py115.connect(credential={
# 'UID': '',
# 'CID': '',
# 'SEID': '',
#})
# Get storage service
storage = cloud.storage()
# Get file list under root directory
for file in storage.list(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_url(
'magnet:?xt=urn:btih:000123456789abcdef1151150123456789abcdef',
'ed2k://|file|ED2k-file|115115115|1234567890abcdef1234567890abcdef|/',
'https://dl.some-server.com/some/file.ext'
)
Document
License
MIT
Metadata
Release files for py115j 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py115j-0.0.7.tar.gz | 19.9 kB | Without provenance | Details for py115j-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py115j-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for py115j-0.0.7-py3-none-any.whl |
Total release size: 46.2 kB
Release files / py115j-0.0.7.tar.gz
| Download URL | py115j-0.0.7.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c974364a9544efa9b861b5ea718c7ada5aa866f3ddd7b3edd94e20847b711a59
|
|
BLAKE2b-256 checksum How to use checksums |
954eebc3b27a90efe304cd7fc6d3d0616a9a758b408176cbfa294895752bd76a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / py115j-0.0.7-py3-none-any.whl
| Download URL | py115j-0.0.7-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b83ea673b4f559a0cacbfd08c9dc375ba265d3e7653c798e1af3c1ed7258ca40
|
|
BLAKE2b-256 checksum How to use checksums |
f7a1c6e8f03f41569eb36521338c1ad670487dcc3f4f2e36131b98f0106a9616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Security for py115j 0.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.