Skip to main content

Simple ctypes bindings for FUSE

Project description

fusepy is a Python module that provides a simple interface to FUSE and MacFUSE. It’s just one file and is implemented using ctypes.

The original version of fusepy was hosted on Google Code, but is now officially hosted on GitHub.

fusepy is written in 2x syntax, but trying to pay attention to bytes and other changes 3x would care about. The only incompatible changes between 2x and 3x are the change in syntax for number literals and exceptions. These issues are fixed using the 2to3 tool when installing the package, or runnning:

2to3 -f numliterals -f except -w fuse.py

examples

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) and runs on:

  • Linux (i386, x86_64, PPC)

  • Mac OS X (Intel, PowerPC)

  • FreeBSD (i386, amd64)

Project details


Download files

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

Source Distribution

fusepy-2.0.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file fusepy-2.0.tar.gz.

File metadata

  • Download URL: fusepy-2.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fusepy-2.0.tar.gz
Algorithm Hash digest
SHA256 4d709f3d991042b4edf294530dc7afd83313fb71bd21b4236b06d8ac990d5e3d
MD5 08954404373e29067b81603dbe6e71cf
BLAKE2b-256 105fbe30b5d79128a1f803dbeb644ce76b969cd24d61e59a15c39a469f1e2675

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page