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.2.tar.gz (17.0 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.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p115fuse-0.0.3.2.tar.gz
  • Upload date:
  • Size: 17.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

Hashes for p115fuse-0.0.3.2.tar.gz
Algorithm Hash digest
SHA256 43562d495118f8e5eba39e9495a44b4ca0dbb2faa7fd191e9747de34784cd09d
MD5 797044e274f8b692f745d54f032d42e1
BLAKE2b-256 aa84f005f613834a734157026abad7d297a6de6fe4b5a04bd212686618f90651

See more details on using hashes here.

File details

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

File metadata

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

Hashes for p115fuse-0.0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13a8793cf92c43ea92bd1b81f490897cba9579e08835826404e53c2313f3d0dd
MD5 3234ebb7c27343310a99d8eb51ee5283
BLAKE2b-256 49bfe18258a7aff29bcac5d6798a903fe3b86917dd2d1f2ccadb5d0f11e087d1

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