Skip to main content

fsspec-fuse

Mount fsspec filesystems with FUSE

Build Status codecov License PyPI

Overview

fsspec-fuse mounts an fsspec URL as a local directory, so any program can list and read it with ordinary file operations. Mounts are read-only unless writes are turned on.

fsspec-fuse s3://my-bucket/reports /mnt/reports -o region=us-east-1
ls /mnt/reports

URLs resolve through the filesystem registry that fsspec-rs shares between extensions. Native backends (file://, s3://, and protocols registered by packages such as fsspec-db and fsspec-kafka) run in Rust. Any other protocol falls back to the Python fsspec implementation installed for it, such as gcsfs or adlfs.

From Python, mount returns a handle that unmounts on unmount() or when its with block ends:

import os

from fsspec_fuse import mount

with mount("s3://my-bucket/reports", "/mnt/reports", region="us-east-1"):
    print(os.listdir("/mnt/reports"))

Storage options pass to the backend as strings. threads sets how many requests the mount serves at once (default 4).

Requirements

  • Linux: FUSE 3 (fusermount3, from the fuse3 package on Debian and Ubuntu).
  • macOS: macFUSE.
  • Windows is not supported yet.

Mounts are read-only by default, and changes fail with EROFS. Pass --writable (or read_only=False in Python) to create, change, rename, and delete files. A file opened for writing is held in memory and uploaded when it is closed.

Documentation

Start with Mount a directory and read it. Mount a remote filesystem covers S3, Python-only backends, writable mounts, concurrency, and stale mounts.

Look up the command line, the Python API, or mount behavior such as attributes and error codes. How one mount reaches Rust and Python backends covers the design and its costs.

Metadata

Release files for fsspec-fuse 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fsspec-fuse 0.1.1
File Size Uploaded Provenance Actions
fsspec_fuse-0.1.1.tar.gz 56.6 kB Without provenance Details for fsspec_fuse-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fsspec-fuse 0.1.1
File Interpreter ABI Platform Actions
fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl
fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl
fsspec_fuse-0.1.1-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for fsspec_fuse-0.1.1-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 10.1 MB

Release files / fsspec_fuse-0.1.1.tar.gz

Download URL fsspec_fuse-0.1.1.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
52a12b21f41043593d45375ca0fe51b1d6b1782552954aa6da953802d6bb0d46
BLAKE2b-256 checksum
How to use checksums
13a7e80d3d71301bc39d48204ccb375c38c418abc5c4ee800e83ae57b4cedd71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 3.7 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
c8bed074f5484304e5d39de0a719a7fecd1369bdbabf395ec8380f19beadb8b6
BLAKE2b-256 checksum
How to use checksums
670914ded9688cc2338da82c724f47c4519b0ddc2e9db4cc6a76de6c5c471dd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL fsspec_fuse-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 3.6 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
6244460682931ab341bd50f38143768a3dcabae6fdd469582370abbba64ec0b2
BLAKE2b-256 checksum
How to use checksums
b53acc58b3bfd9de42173f6731a3a0c7d6cd7051857f0a31d3e07b420ecda360
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / fsspec_fuse-0.1.1-cp311-abi3-macosx_11_0_arm64.whl

Download URL fsspec_fuse-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
Size 2.7 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dbb85dae42cfda94124567cc4c3f089d3fc3151c099782c884a2a0e0169c8b64
BLAKE2b-256 checksum
How to use checksums
33d5810abef18a2e890ae9442df3f5ec7e58bad80641663113e471df5115f203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for fsspec-fuse 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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