Python 115 FUSE mount.
安装
你可以通过 pypi 安装
pip install -U p115fuse
用法
模块
from p115fuse import P115FuseOperations
P115FuseOperations().run_forever(
"p115fuse",
foreground=True,
max_readahead=0,
noauto_cache=True,
)
命令行
$ p115fuse -h
usage: p115fuse [-h] [-cp COOKIES_PATH] [-cl] [-fo option [option ...]] [-ll LOG_LEVEL] [-l] [-v] [mount_point]
🕸️ Python 115 FUSE mount 🕷️
▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄
▐░░░░░░░░░░░▌ ▄█░░░░▌ ▄█░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌ ▐░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
▐░█▀▀▀▀▀▀▀█░▌▐░░▌▐░░▌ ▐░░▌▐░░▌ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░▌ ▐░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀
▐░▌ ▐░▌ ▀▀ ▐░░▌ ▀▀ ▐░░▌ ▐░█▄▄▄▄▄▄▄▄▄ ▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌
▐░█▄▄▄▄▄▄▄█░▌ ▐░░▌ ▐░░▌ ▐░░░░░░░░░░░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░▌ ▐░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄▄▄
▐░░░░░░░░░░░▌ ▐░░▌ ▐░░▌ ▀▀▀▀▀▀▀▀▀█░▌▐░░░░░░░░░░░▌▐░▌ ▐░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
▐░█▀▀▀▀▀▀▀▀▀ ▐░░▌ ▐░░▌ ▐░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░▌ ▐░▌ ▀▀▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀
▐░▌ ▐░░▌ ▐░░▌ ▐░▌▐░▌ ▐░▌ ▐░▌ ▐░▌▐░▌
▐░▌ ▄▄▄▄█░░█▄▄▄ ▄▄▄▄█░░█▄▄▄ ▄▄▄▄▄▄▄▄▄█░▌▐░▌ ▐░█▄▄▄▄▄▄▄█░▌ ▄▄▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄
▐░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀
positional arguments:
mount_point 挂载路径
options:
-h, --help show this help message and exit
-cp, --cookies-path COOKIES_PATH
cookies 文件保存路径,默认为当前工作目录下的 115-cookies.txt
如果你需要直接传入一个 cookies 字符串,需要这样写
.. code:: shell
COOKIES='UID=...; CID=..., SEID=...'
p115dav --cookies-path <(echo "$COOKIES")
-cl, --check-for-relogin
当风控时,自动重新扫码登录
-fo, --fuse-option option [option ...]
fuse 挂载选项,支持如下几种格式:
- name 设置 name 选项
- name= 取消 name 选项
- name=value 设置 name 选项,值为 value
参考资料:
- https://man7.org/linux/man-pages/man8/mount.fuse3.8.html
- https://code.google.com/archive/p/macfuse/wikis/OPTIONS.wiki
-ll, --log-level LOG_LEVEL
指定日志级别,可以是数字或名称,不传此参数则不输出日志,默认值: 'ERROR'
-l, --license 输出授权信息
-v, --version 输出版本号
Metadata
Release files for p115fuse 0.0.3.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 |
|---|---|---|---|---|
| p115fuse-0.0.3.2.tar.gz | 17.0 kB | Without provenance | Details for p115fuse-0.0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| p115fuse-0.0.3.2-py3-none-any.whl | Python 3 | none | any | Details for p115fuse-0.0.3.2-py3-none-any.whl |
Total release size: 36.0 kB
Release files / p115fuse-0.0.3.2.tar.gz
| Download URL | p115fuse-0.0.3.2.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43562d495118f8e5eba39e9495a44b4ca0dbb2faa7fd191e9747de34784cd09d
|
|
BLAKE2b-256 checksum How to use checksums |
aa84f005f613834a734157026abad7d297a6de6fe4b5a04bd212686618f90651
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|
Release files / p115fuse-0.0.3.2-py3-none-any.whl
| Download URL | p115fuse-0.0.3.2-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13a8793cf92c43ea92bd1b81f490897cba9579e08835826404e53c2313f3d0dd
|
|
BLAKE2b-256 checksum How to use checksums |
49bfe18258a7aff29bcac5d6798a903fe3b86917dd2d1f2ccadb5d0f11e087d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
|
Security for p115fuse 0.0.3.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.