Skip to main content

FUSE for AliyunDrive

Project description

aliyundrive-fuse

GitHub Actions PyPI aliyundrive-fuse Crates.io

🚀 Help me to become a full-time open-source developer by sponsoring me on GitHub

阿里云盘 FUSE 磁盘挂载,主要用于配合 Emby 或者 Jellyfin 观看阿里云盘内容,功能特性:

  1. 目前只读,不支持写入
  2. 支持 Linux 和 macOS,暂不支持 Windows

aliyundrive-webdav 项目已经实现了通过 WebDAV 访问阿里云盘内容,但由于 Emby 和 Jellyfin 都不支持直接访问 WebDAV 资源, 需要配合 rclone 之类的软件将 WebDAV 挂载为本地磁盘,而本项目则直接通过 FUSE 实现将阿里云盘挂载为本地磁盘,省去使用 rclone 再做一层中转。

安装

  • macOS 需要先安装 macfuse
  • Linux 需要先安装 fuse
    • Debian 系如 Ubuntu: apt-get install -y fuse3
    • RedHat 系如 CentOS: yum install -y fuse3

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

pip install aliyundrive-fuse

如果系统支持 Snapcraft 比如 Ubuntu、Debian 等,也可以使用 snap 安装:

sudo snap install aliyundrive-fuse

命令行用法

USAGE:
    aliyundrive-fuse [OPTIONS] --refresh-token <REFRESH_TOKEN> <PATH>

ARGS:
    <PATH>    Mount point

OPTIONS:
        --domain-id <DOMAIN_ID>            Aliyun PDS domain id
    -h, --help                             Print help information
    -r, --refresh-token <REFRESH_TOKEN>    Aliyun drive refresh token [env: REFRESH_TOKEN=]
    -V, --version                          Print version information
    -w, --workdir <WORKDIR>                Working directory, refresh_token will be stored in there if specified

比如将磁盘挂载到 /mnt/aliyundrive 目录:

mkdir -p /mnt/aliyundrive /var/run/aliyundrive-fuse
aliyundrive-fuse -r your-refresh-token -w /var/run/aliyundrive-fuse /mnt/aliyundrive

License

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

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

aliyundrive_fuse-0.1.2.tar.gz (30.4 kB view details)

Uploaded Source

Built Distributions

aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_x86_64.whl (2.3 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ x86-64

aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_i686.whl (2.2 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ i686

aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_armv7l.whl (1.9 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ ARMv7l

aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_aarch64.whl (2.2 MB view details)

Uploaded Python 3 musllinux: musl 1.1+ ARM64

aliyundrive_fuse-0.1.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.9 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

aliyundrive_fuse-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

aliyundrive_fuse-0.1.2-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (2.3 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

aliyundrive_fuse-0.1.2-py3-none-manylinux_2_5_i686.manylinux1_i686.whl (2.2 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ i686

aliyundrive_fuse-0.1.2-py3-none-macosx_10_7_x86_64.whl (2.0 MB view details)

Uploaded Python 3 macOS 10.7+ x86-64

File details

Details for the file aliyundrive_fuse-0.1.2.tar.gz.

File metadata

  • Download URL: aliyundrive_fuse-0.1.2.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e46a3df99db19373b4aa7914ac0e633d138f8390c36ae42cd454e42e93d99def
MD5 ed5bac9a38e5b6857a23cfa68e22e41a
BLAKE2b-256 267ef60d220c8bfd1c3705495af8d5a1987b9fc1c9972d1be1c834574c404f8f

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_x86_64.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3, musllinux: musl 1.1+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 991bfc712b00534f8098689a382cc52de604d79a39433cbcaaa5d5c4d1043b91
MD5 9df06fee5044f1c07ff9d85bd4fddae3
BLAKE2b-256 d5b4b90beca35240e7c4b6a206744fb42ea51a531167910798e20b5b72fff88c

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_i686.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_i686.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, musllinux: musl 1.1+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 8862c04f7326ad61c57cd5d609d80fb1adb495e9eaea9c65e576eb915ae8ef08
MD5 ffee72ab109c67b207b86f07c8b9430e
BLAKE2b-256 0beeea3a9009e223c151602b3bcaa81886b9346577455d5ad207bd892c2bd32a

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_armv7l.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_armv7l.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3, musllinux: musl 1.1+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 3dd589ca4fe9e8557845f3e07e1affba9dc84e4d3095332dd548c9640950f54b
MD5 e994ba2ae34c971f6497075dcf1a40d4
BLAKE2b-256 3fa935f2d10f8f98ea508a7a226b5c20d6475a8bab98ac1926a7035d1f125e6d

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_aarch64.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_aarch64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, musllinux: musl 1.1+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b5e5cbfcad84f3fa9ca2c7da1eefc512df25f98ee6c8e10ddcbfdb33b8e19a74
MD5 479ef047ad8681647d1cc7aaa2c265ed
BLAKE2b-256 f5c258241bf75a25c690af0cc317bb7a2f270ac7b5253241f29e36df959d2946

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 7a7d4f3cfe0a46ffc54158af3e47306e6d1a11f382656a19ae0f5ce52fd7de8d
MD5 343c229cf96f895bfc81928e5de14935
BLAKE2b-256 6be4a5f504e126b8e752542fe573fce6fcbf9e85079b0d5083a15d8e73142b17

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 21216eada0773cc768eb93779ae860cb8137d50d0af8a6d18875839243c8c120
MD5 e79d136e17b7477534444b2ff5198b4c
BLAKE2b-256 1948aed50b825cd1c460d2517401ff6dce8365b35e4a70132a975a9f7626472b

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a6e362a78f08a866f6c257a2d4cd8fd0d2b151ff888691c0fae913c5869e765
MD5 16850e7bdbcdfe636cf748b93f75521e
BLAKE2b-256 62489411af3814f6b6e83e85ede9a0f575d1db2943ba3d597fa497f631513423

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 7c8592db791652654a584201635324cddbed111b2a06ef6068ccf1164d5932b5
MD5 e802ea8f5c3f463053aa4fc8a4cc1759
BLAKE2b-256 bb66d75b459343cdf908891d7b5842c27ec7cc7afb718ee15cdce4d4f919c85e

See more details on using hashes here.

File details

Details for the file aliyundrive_fuse-0.1.2-py3-none-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: aliyundrive_fuse-0.1.2-py3-none-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aliyundrive_fuse-0.1.2-py3-none-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 28ce2935ce6543c10fd58398b5c1c67f6e17bdc0ba7d768536fda8c462f3f058
MD5 cb8469a90e1f3ad2f27317af30136037
BLAKE2b-256 485f2338100d9ab90734ff999d204dad8beaeb2aa308b80168259ac04adeb052

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