Skip to main content

Python 115 FUSE mount

Project description

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         输出版本号

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.3.1.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p115fuse-0.0.3.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file p115fuse-0.0.3.1.tar.gz.

File metadata

  • Download URL: p115fuse-0.0.3.1.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0

File hashes

Hashes for p115fuse-0.0.3.1.tar.gz
Algorithm Hash digest
SHA256 1179b5df316dbf6cd15e6cd303197d65d16260faac45dbf2f8a97d3d006ae6b2
MD5 e53b90df622f055f9ce203cf68196927
BLAKE2b-256 aea20b51b700028d39886127b55dbd8df7ce4b794ca6e7353036772a97b278ac

See more details on using hashes here.

File details

Details for the file p115fuse-0.0.3.1-py3-none-any.whl.

File metadata

  • Download URL: p115fuse-0.0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 21.1 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

Hashes for p115fuse-0.0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7d1b2b72f4495c50e7fa98dd14066e9705d1929cb9b4557a8a6d58bfc2f74a3
MD5 407f16040fb50b42ffccb2fce2e68f15
BLAKE2b-256 c5cdce6cf544a692ad8401356e4688b50ed160e18a6fdcea971c0c8ac2846aa4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page