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.0

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.0
File Size Uploaded Provenance Actions
fsspec_fuse-0.2.0.tar.gz 59.5 kB Without provenance Details for fsspec_fuse-0.2.0.tar.gz

Built distributions (wheels)

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

Total release size: 10.2 MB

Release files / fsspec_fuse-0.2.0.tar.gz

Download URL fsspec_fuse-0.2.0.tar.gz
Size 59.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce82a81d82c737569be360045f5e5e78192be343be3b1386cccc54582e40b911
BLAKE2b-256 checksum
How to use checksums
bbf763bd186f9e4e4658b1750c77551cd90e947f1f91d55b538c6e5d50af87eb
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.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL fsspec_fuse-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 3.8 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
b0546404669df82463618bad0437a7ee161b1b23354afdf927a5b1b6fc0e4d91
BLAKE2b-256 checksum
How to use checksums
10fa167db88c8d18086808a077200638a390864e50245505d224f5333063bd00
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.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL fsspec_fuse-0.2.0-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
b847977ced432174069c3d52a728f7ff84e6d6fcb32320cab8d3294d3972b67f
BLAKE2b-256 checksum
How to use checksums
94d8ea09e1316e6912940fa7438c7b5941597fcec23f28079d57c2e4d398217c
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.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL fsspec_fuse-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 2.8 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
59e6f8ac328f2a99c14899e5bcfd9c6a9c62acdb94b266055690824eb51f2247
BLAKE2b-256 checksum
How to use checksums
d7e5ac59326a3b744aa44fb74e4ce38d2feb2200c1224d8d6376d0e537c3e523
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.0

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