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 read-only local directory, so any program can list and read it with ordinary file operations.

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. Writes, creating files, and renames fail with EROFS.

Documentation

Start with Mount a directory and read it. Mount a remote filesystem covers S3, Python-only backends, 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.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.1.0
File Size Uploaded Provenance Actions
fsspec_fuse-0.1.0.tar.gz 48.3 kB Without provenance Details for fsspec_fuse-0.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 9.9 MB

Release files / fsspec_fuse-0.1.0.tar.gz

Download URL fsspec_fuse-0.1.0.tar.gz
Size 48.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b48bcb0fd2448d6f82f4523cec00f83ca9279c43b3f2285d292cfabeb3c1cb96
BLAKE2b-256 checksum
How to use checksums
0736b82a69da2e3d90c11cd27738dad2a67f7ba406fe11e144ca4bd2c19433ec
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.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL fsspec_fuse-0.1.0-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
9ebc18344be1d8b92e00d0fa2e774bc7b2f9b4dae5f1700be4659d46cc4e313b
BLAKE2b-256 checksum
How to use checksums
6be276394830bbecaa9fa295072f12accfa192aab82dc00d19c4570521d7d777
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.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL fsspec_fuse-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 3.5 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
deafddb33ed0ec9ba6b9baf6180fb207e05ebbdb64fd47e8b4284ad807b6ff54
BLAKE2b-256 checksum
How to use checksums
f875ee2f06f09bf25ffdbcfb081c1740da5ff76cd2b4d4ee1201eb5e5ce8b0bc
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.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL fsspec_fuse-0.1.0-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
49ecb9c7b089813cb38a6f2d52b91e761c1ea426a40350729410b71eb9dbc55b
BLAKE2b-256 checksum
How to use checksums
58cae891f8c67f23a43a6b43c643f204ccb446b5b873e295b47b23b54245560f
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.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

4 release files No provenance

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