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.2.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.2.1
File Size Uploaded Provenance Actions
fsspec_fuse-0.2.1.tar.gz 59.8 kB Without provenance Details for fsspec_fuse-0.2.1.tar.gz

Built distributions (wheels)

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

Total release size: 10.5 MB

Release files / fsspec_fuse-0.2.1.tar.gz

Download URL fsspec_fuse-0.2.1.tar.gz
Size 59.8 kB
Tags Source
SHA-256 checksum
How to use checksums
88e4f7b37408dcd331de94b3ede22857b4fa96374e2e0afbee744a0060df18db
BLAKE2b-256 checksum
How to use checksums
5f80f5e047ad20841ebb35b1378a04e6333d4a5d56843892acf50f505740f0d8
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.2.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL fsspec_fuse-0.2.1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 3.9 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
9c7ef5878422122688780d34e0c73dc62be8138ea28eb9b567df3aa4f786ee33
BLAKE2b-256 checksum
How to use checksums
66bb72643203b6651c8b761e7c082955e2074dc2c93c3a6b57dd076f80417ab0
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.2.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL fsspec_fuse-0.2.1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 3.7 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
76ea6454b184991974c40c03e79e0284321f2c2a8131888c75721e00c01433e6
BLAKE2b-256 checksum
How to use checksums
b0cf85c06a57dc193cda5749dc86b4cbcbb22299fc9c7defd4b4dc26d1f6e782
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.2.1-cp311-abi3-macosx_11_0_arm64.whl

Download URL fsspec_fuse-0.2.1-cp311-abi3-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
702a98d1889ba227c66370ffa0f84290f23b3be080dd3a20b4b9daac9084ccc7
BLAKE2b-256 checksum
How to use checksums
d8aba6ffb26c9c4b1436fdadbe85c9d2b319500bd29f0c53208fc948a4d4660e
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.2.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