Registry / storage / mfusepy

mfusepy

JSON →
library3.1.1pypypi✓ verified 80d ago

Python ctypes bindings for libfuse (high-level API, versions 2 and 3). Allows writing FUSE filesystems in Python. Current version 3.1.1, requires Python >=3.9. Maintained, regular releases.

pip install mfusepy
INSTALL
IMPORT
SIG · MFUSEPY
M
mfusepy
storagepythonv3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FUSE
from mfusepy import FUSE
from fusepy import FUSE

Minimal hello world filesystem using fusepy.

import os from fusepy import FUSE, Operations class Hello(Operations): def getattr(self, path, fh=None): if path == '/': return dict(st_mode=0o40755, st_nlink=2) return dict(st_mode=0o100644, st_nlink=1, st_size=13) def readdir(self, path, fh): return ['.', '..', 'hello.txt'] def open(self, path, flags): return 0 def read(self, path, size, offset, fh): return b'Hello, World!' if __name__ == '__main__': mountpoint = os.environ.get('MOUNTPOINT', '/tmp/fuse_mount') FUSE(Hello(), mountpoint, foreground=True)
Debug
Known issues
gotchamfusepy is imported as 'fusepy' not 'mfusepy'. Using 'import mfusepy' will fail.
fix
Use 'from fusepy import FUSE'.
affects: all
breakingVersion 3.x drops support for Python < 3.9. Requires libfuse >= 2.9.0.
fix
Upgrade Python to >=3.9 and install libfuse 2.x or 3.x.
affects: >=3.0.0
gotchaThe 'fuse' module (lowercase, from libfuse) is not needed; mfusepy wraps ctypes directly. Installing fusepy manually may cause conflicts.
fix
Do not install 'fuse' or 'fusepy' from PyPI; only install 'mfusepy'.
affects: all
Upgrade
Version history
3.1.1latest on PyPI · released Mar 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
mfusepy — pip install mfusepy · libregistry