Skip to main content

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

https://py115.readthedocs.io/en/stable/

License

MIT

Metadata

Release files for py115 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py115 0.0.4
File Size Uploaded Provenance Actions
py115-0.0.4.tar.gz 19.7 kB Without provenance Details for py115-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py115 0.0.4
File Interpreter ABI Platform Actions
py115-0.0.4-py3-none-any.whl Python 3 none any Details for py115-0.0.4-py3-none-any.whl

Total release size: 45.9 kB

Release files / py115-0.0.4.tar.gz

Download URL py115-0.0.4.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e3d4bbced58796203ee8cfa707228757943de738ffe2c8b7ce45d37301c06a4d
BLAKE2b-256 checksum
How to use checksums
3b379aa79b4aa7aac9f4ade93f8279b2764a93c4d38f0cf487d76916cfa477ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / py115-0.0.4-py3-none-any.whl

Download URL py115-0.0.4-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8427436e7593d35f0088a9c29f7acf90b825a41ad3df969f8511cbc1e69c541
BLAKE2b-256 checksum
How to use checksums
e9e3fe66d99b232fd4326cac812f9c22d6a7b66c7e0efd8168f1f5f65ad2b7c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for py115 0.0.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page