API Usage
Create a Xunlei object:
import xunlei xunlei_obj = xunlei.Xunlei(USERNAME, PASSWORD, COOKIE_FILE_PATH)
List Xunlei lixian tasks:
items = xunlei_obj.dashboard()
List a bittorrent task:
items = xunlei_obj.list_bt(url, task_id) # url and task_id are from dashboard() function
Download a task:
xunlei_obj.dowload(url, filename)
Download a task with file size checking and resume:
xunlei_obj.smart_download(url, filename, size)
CLI Usage
Edit config file at ~/xunleirc, add settings for username and password
List xunlei tasks:
xunlei_cli dashboard
Download a task:
xunlei_cli download TASK_ID
Metadata
Release files for xunlei 0.1.2
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 |
|---|---|---|---|---|
| xunlei-0.1.2.tar.gz | 7.1 kB | Without provenance | Details for xunlei-0.1.2.tar.gz |
Release files / xunlei-0.1.2.tar.gz
| Download URL | xunlei-0.1.2.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e2047a64d9a4c3640bec7d1c5f49530a53a57121f290aa8ddd7832715361384
|
|
BLAKE2b-256 checksum How to use checksums |
a711d0ade895ebb0a55e0d78396195d72d40ce81a1f00aad99973067d10066e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for xunlei 0.1.2
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.