Python 115 FUSE mount
Project description
Python 115 FUSE mount.
安装
你可以通过 pypi 安装
pip install -U p115fuse
用法
模块
from p115fuse import P115FuseOperations
P115FuseOperations().run_forever(**{
"mountpoint": "p115fuse",
"allow_other": True,
"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 输出版本号
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
p115fuse-0.0.1.1.tar.gz
(19.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file p115fuse-0.0.1.1.tar.gz.
File metadata
- Download URL: p115fuse-0.0.1.1.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beda737b0e489789d31db54a2a328032f00c3affb1a1c492cd39dc05b9c84293
|
|
| MD5 |
f3608158b566caf36530da0a687457e2
|
|
| BLAKE2b-256 |
2a01581198af3230a2400c326a8412c6ca67165e4834241a9aba8c6362ecbfd2
|
File details
Details for the file p115fuse-0.0.1.1-py3-none-any.whl.
File metadata
- Download URL: p115fuse-0.0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7e9332c814fb6308febe1add29a0f9b5110d75179ddd9d543b1a0b1ea3ab369
|
|
| MD5 |
df8313fb5fa9c81a9e31861deaee71eb
|
|
| BLAKE2b-256 |
aa6b177dd664fa79486339bd67bb8f666beb6b02585cef1f538725f97a9e6e11
|