Skip to main content

Quickly conjure up virtual fileysystems

Project description

MagicFS (mafs)

MagicFS is a simple-to-use tool that allows you to easily create virtual filesystems using FUSE.

If you've ever wanted to play around with filesystems, but have been put off by the complexity of libfuse, this library could be for you. You can easily create whole, feature-complete filesystems in just a few lines of code. No need for painstakingly dealing with folder structures and buffers, mafs manages all the low-level details, provides sane defaults, and lets you focus on functionality.

Installation

$ git clone https://github.com/jedevc/mafs.git
$ cd mafs
$ pip install .

Examples

All of the examples are listed in examples/. Here's a demo of running the places.py example.

$ mkdir fs
$ python3 examples/places.py fs
$ ls fs
place  shortcut
$ ls fs/place
here  there
$ cat fs/place/here
this is here
$ cat fs/place/there
this is there
$ cat fs/place/anywhere
this is anywhere!
$ fusermount -u fs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mafs, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size mafs-0.0.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mafs-0.0.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page