Skip to main content

WebDAV server for AliyunDrive

Project description

aliyundrive-webdav

GitHub Actions PyPI

阿里云盘 WebDAV 服务

安装

可以从 GitHub Releases 页面下载预先构建的二进制包, 也可以使用 pip 从 PyPI 下载:

pip install aliyundrive-webdav

OpenWrt 路由器

GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64 和 arm 两个版本,可以下载后使用 opkg 安装,比如

wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.13/aliyundrive-webdav_0.1.13-0_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.13/luci-app-aliyundrive-webdav_0.1.13-0_all.ipk
opkg install aliyundrive-webdav_0.1.13-0_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.1.13-0_all.ipk

OpenWrt 配置界面

Koolshare 梅林固件

GitHub Releases 中有预编译包 aliyundrivewebdav-merlin-arm*.tar.gz, 目前只提供了旧的 arm380 固件的版本,可在下载后在软件中心离线安装。

梅林配置界面

命令行用法

aliyundrive-webdav --help
aliyundrive-webdav 0.1.13

USAGE:
    aliyundrive-webdav [FLAGS] [OPTIONS] --refresh-token <refresh-token>

FLAGS:
    -I, --auto-index    Automatically generate index.html
    -h, --help          Prints help information
    -V, --version       Prints version information

OPTIONS:
    -W, --auth-password <auth-password>          WebDAV authentication password [env: WEBDAV_AUTH_PASSWORD=]
    -U, --auth-user <auth-user>                  WebDAV authentication username [env: WEBDAV_AUTH_USER=]
        --host <host>                            Listen host [default: 127.0.0.1]
    -p, --port <port>                            Listen port [default: 8080]
    -S, --read-buffer-size <read-buffer-size>
            Read/download buffer size in bytes, defaults to 10MB [default: 10485760]

    -r, --refresh-token <refresh-token>          Aliyun drive refresh token [env: REFRESH_TOKEN=]

获取 refresh_token

登录阿里云盘后,可以在开发者工具 -> Application -> Local Storage 中的 token 字段中找到。

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

aliyundrive_webdav-0.1.13.tar.gz (342.8 kB view details)

Uploaded Source

Built Distributions

aliyundrive_webdav-0.1.13-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.1 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

aliyundrive_webdav-0.1.13-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

aliyundrive_webdav-0.1.13-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

aliyundrive_webdav-0.1.13-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (2.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ i686

aliyundrive_webdav-0.1.13-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (4.3 MB view details)

Uploaded Python 3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

aliyundrive_webdav-0.1.13-py3-none-macosx_10_7_x86_64.whl (2.2 MB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file aliyundrive_webdav-0.1.13.tar.gz.

File metadata

  • Download URL: aliyundrive_webdav-0.1.13.tar.gz
  • Upload date:
  • Size: 342.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for aliyundrive_webdav-0.1.13.tar.gz
Algorithm Hash digest
SHA256 8bcca41783bffe76e2e0783c14297bcfcd24dcb81ffcf35ae3dc367090c2c492
MD5 a08fd83e1f5db0ba5a777ea2dd8885fa
BLAKE2b-256 bdde92fd2d1646dc8417643f495c3793183651b2228e699b24a4c79419440855

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.13-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.13-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 6cc8d459c8f99654a2b898214a1b4881a57ac8e8c6c3b5c36e03775dea791643
MD5 b730bebc16ee20ad70eb013c134f8c0d
BLAKE2b-256 d4193562e59ddba1fb529bb7c9b4f2beaa383b5d9b2595118397763b13e4091e

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.13-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.13-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 db1aca01db2ef0be51653ed34d1cfb1de28aa5bd2fc6fc5784684edd10077c21
MD5 5a402c26004984ce032cb379eef04d19
BLAKE2b-256 45236a63ca724ef9c7e1b6e88a310e26f9512928f1ccf412f49e32aeba0abae9

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.13-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.13-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0e60fc2c121c78bb1a115c2736ae5ffda110803e5ab5cea8ca94109428ab66cc
MD5 79bfdb902103868ccaca19014d076638
BLAKE2b-256 6fe4d6e437bd3046a33719ccb8732974c8929c214fa94395375c44dabbbe36bb

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.13-py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.13-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 b9acfa70bebe7f66453f451f877d5c69d00969cb5f19c23991317460e87986e2
MD5 b04aa7a9ca152b6d0adaee6de119c0f6
BLAKE2b-256 7ad4e702d68bc8d5e7dd3a17da640cb094862a1461d0194317fe0b5b5902841c

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.13-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for aliyundrive_webdav-0.1.13-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 223d8c4e7b17acf852fea2cfe6089f4a2bbd64b5c8ff9949135b46965b4ca153
MD5 b5b2eb10ae20733bc681177d5538a961
BLAKE2b-256 2b29132bec25ec629417ff9377fb2d50ef8cc818223ff1eec8617404be24453b

See more details on using hashes here.

File details

Details for the file aliyundrive_webdav-0.1.13-py3-none-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: aliyundrive_webdav-0.1.13-py3-none-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for aliyundrive_webdav-0.1.13-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 cdc2897a7d36f24f6c42c099dd271069f50ba1c448b4b614c5544fa40edb0b95
MD5 38e7a2b7873002d18864e776a23e7aca
BLAKE2b-256 1316badf7b82280d318b024a63b23e85aba62ad70e0d86407f79ccb62229faff

See more details on using hashes here.

Supported by

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