115 网盘二维码扫码登录.
安装
你可以通过 pypi 安装
pip install -U p115qrcode
使用
作为模块
详情请查看具体函数的文档
import p115qrcode
作为命令行
$ p115qrcode -h
usage: p115qrcode [-h] [-l] [-v] {cmd,web} ...
115 网盘扫码登录
positional arguments:
{cmd,web}
options:
-h, --help show this help message and exit
-l, --license 输出授权信息
-v, --version 输出版本号
$ p115qrcode cmd -h
usage: p115qrcode cmd [-h] [-o OUTPUT_FILE] [-oq] [-c COOKIES] [-cp COOKIES_PATH] [-l] [-v]
[{web,ios,115ios,android,115android,115ipad,tv,qandroid,wechatmini,alipaymini,harmony}]
115 网盘扫码登录(命令行版)
positional arguments:
{web,ios,115ios,android,115android,115ipad,tv,qandroid,wechatmini,alipaymini,harmony}
选择一个 app 进行登录,默认值 'alipaymini'
options:
-h, --help show this help message and exit
-o OUTPUT_FILE, --output-file OUTPUT_FILE
保存到文件,未指定时输出到 stdout
-oq, --open-qrcode 在浏览器中打开二维码,而不是在命令行输出
-c COOKIES, --cookies COOKIES
115 登录 cookies 或二维码的 uid,使用后可以自动扫码,优先级高于 -cp/--cookies-path
-cp COOKIES_PATH, --cookies-path COOKIES_PATH
cookies 文件保存路径,使用后可以自动扫码
-l, --license 输出授权信息
-v, --version 输出版本号
$ p115qrcode web -h
usage: p115qrcode web [-h] [-H HOST] [-P PORT] [-c] [-d] [-l] [-v]
115 网盘扫码登录(网页版)
options:
-h, --help show this help message and exit
-H HOST, --host HOST ip 或 hostname,默认值:'localhost'
-P PORT, --port PORT 端口号,默认值:8000
-c, --cors 标识浏览器已经使用 CORS 插件,因此不需要后台代理接口的调用
-d, --debug 启用 debug 模式
-l, --license 输出授权信息
-v, --version 输出版本号
Metadata
Release files for p115qrcode 0.0.5.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 |
|---|---|---|---|---|
| p115qrcode-0.0.5.2.tar.gz | 23.8 kB | Without provenance | Details for p115qrcode-0.0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| p115qrcode-0.0.5.2-py3-none-any.whl | Python 3 | none | any | Details for p115qrcode-0.0.5.2-py3-none-any.whl |
Total release size: 51.3 kB
Release files / p115qrcode-0.0.5.2.tar.gz
| Download URL | p115qrcode-0.0.5.2.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84e759253148b190c804ddf006c35cf6fd7448e5d900ee15fc9aa1c0ad4b5c20
|
|
BLAKE2b-256 checksum How to use checksums |
fcaa17c11568368424fc38450f8d711c8c549167ddd9453d3c9e01e0c969788f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.5 Darwin/25.0.0
|
Release files / p115qrcode-0.0.5.2-py3-none-any.whl
| Download URL | p115qrcode-0.0.5.2-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90e8d41abf2617cfcaa98be6e3d9fb54921ff2c64d6512b69da2ab3c3ea43496
|
|
BLAKE2b-256 checksum How to use checksums |
7cb207ea389bd37fc68a062ccef16b7401fd5204e1781b522d0826be75edab48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.5 Darwin/25.0.0
|
Security for p115qrcode 0.0.5.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.