Skip to main content

115 tiny WebDAV.

stats files

安装

你可以通过 pypi 安装

pip install -U p115tinydav

用法

作为模块

from p115tinydav import make_application
from uvicorn import run

run(
    make_application(debug=True), 
    host="0.0.0.0", 
    port=8000, 
    proxy_headers=True, 
    server_header=False, 
    forwarded_allow_ips="*", 
    timeout_graceful_shutdown=1, 
    access_log=False, 
)

作为命令

$ p115tinydav -h
usage: p115tinydav [-h] [-c COOKIES] [-cp COOKIES_PATH] [-H HOST] [-P PORT] [-nc] [-d]
                   [-uc UVICORN_RUN_CONFIG_PATH] [-v] [-l]
                   [dbfile]

    ╭───────────────────────── Welcome to 115 tiny dav ────────────────────────────╮
    │                                                                              │
    │  maintained by ❤     ChenyangGao https://chenyanggao.github.io               │
    │                                                                              │
    │                      Github      https://github.com/ChenyangGao/p115client/  │
    │                                                                              │
    │                      license     https://www.gnu.org/licenses/gpl-3.0.txt    │
    │                                                                              │
    │                      version     0.0.5                                       │
    │                                                                              │
    ╰──────────────────────────────────────────────────────────────────────────────╯

positional arguments:
  dbfile                数据库文件路径,如果不传,则自动确定

options:
  -h, --help            show this help message and exit
  -c, --cookies COOKIES
                        cookies 字符串,优先级高于 -cp/--cookies-path
  -cp, --cookies-path COOKIES_PATH
                        cookies 文件保存路径,默认为当前工作目录下的 115-cookies.txt
  -H, --host HOST       ip 或 hostname,默认值:'0.0.0.0'
  -P, --port PORT       端口号,默认值:8000,如果为 0 则自动确定
  -nc, --not-cache-url  缓存下载链接
  -d, --debug           启用调试,会输出更详细信息
  -uc, --uvicorn-run-config-path UVICORN_RUN_CONFIG_PATH
                        uvicorn 启动时的配置文件路径,会作为关键字参数传给 `uvicorn.run`,支持 JSON、YAML 或 TOML 格式,会根据扩展名确定,不能确定时视为 JSON
  -v, --version         输出版本号
  -l, --license         输出授权信息

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p115tinydav-0.0.5.5.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

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

p115tinydav-0.0.5.5-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file p115tinydav-0.0.5.5.tar.gz.

File metadata

  • Download URL: p115tinydav-0.0.5.5.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.5 Darwin/25.0.0

File hashes

Hashes for p115tinydav-0.0.5.5.tar.gz
Algorithm Hash digest
SHA256 00a171556f4c53f0fc5cf8800c3918f71c002604cc1cc6e20e1d30d7284a556c
MD5 ce1c2129527c94f2c7a693a5c35b6924
BLAKE2b-256 a3eed38ee6d7100232709f59aada4cf2f4ee0c826b5dea1358ca56698b3af2d4

See more details on using hashes here.

File details

Details for the file p115tinydav-0.0.5.5-py3-none-any.whl.

File metadata

  • Download URL: p115tinydav-0.0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.5 Darwin/25.0.0

File hashes

Hashes for p115tinydav-0.0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 77e3383fc3ee85fd5ba62b8c86c9e8988a84f49ff6edd1c975da18c3b89afa78
MD5 38611a554f680f7e8602e4b39395ae9e
BLAKE2b-256 d1fddb82ae8c552dab7d1248a7c988a879d1a372a2a921ce388ab543f7f712ee

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.5.5.1

2 files

This release

0.0.5.5 This release

2 files

0.0.5.4

2 files

0.0.5.3.3

2 files

0.0.5.3.2

2 files

0.0.5.3.1

2 files

0.0.5.3

2 files

0.0.5.2

2 files

0.0.5.1

2 files

0.0.5

2 files

0.0.4.2

2 files

0.0.4.1

2 files

0.0.4

2 files

0.0.3.2

2 files

0.0.3.1

2 files

0.0.3

2 files

0.0.2.3

2 files

0.0.2.2

2 files

0.0.2.1

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page