fusepy is a Python module that provides a simple interface to FUSE and MacFUSE. It's just one file and is implemented using ctypes.
See some examples of how you can use fusepy:
- memory - A simple memory filesystem
- loopback - A loopback filesystem
- context - Sample usage of fuse_get_context()
- sftp - A simple SFTP filesystem (requires paramiko)
To get started download fusepy or just browse the source.
fusepy requires FUSE 2.6 (or later), Python 2.5 (or later) and runs on:
- Linux (i386, x86_64, PPC)
- Mac OS X (Intel, PowerPC)
- FreeBSD (i386, amd64)
Other versions of fusepy:
- fuse24.py for Python 2.4 (contributed by Péter Szabó)
- fuse3.py for Python 3 (see also memory3.py for an example)
If you like fusepy and would like to show your support, please consider my Amazon wish list. However, an email will be equally appreciated.