FUSE File System for accessing remote servers
A FUSE file system for mounting remote file servers as local directories. Currently, we support Microsoft SharePoint sites.
Installation
pip install remote-fuse
Configuration
The following environment variables need to be set:
TENANT_ID: Azure AD tenant IDCLIENT_ID: Azure AD client/application IDCLIENT_SECRET: Azure AD client secretSITE_ID: SharePoint site ID
Running
# Mount remote cloud storage
remote-fuse <mounting-point>
# Optionally, add `--site-id <site-id>` to override SITE_ID.
# Unmount when finished
fusermount -uqz <mount-point>
Development
# Install dependencies
python3.13 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -e .
# For development/testing
pip install -e ".[test]"
Requirements
- Python 3.13 or newer
- Linux with FUSE 2. On Ubuntu, install
fuse,libfuse-dev, andpkg-configbefore installing this package. Native mounting on macOS is not supported.
Usage
# Mount SharePoint site as local directory
python src/commands/fuse_sharepoint.py <mount-point> [--site-id optional]
# Unmount SharePoint site when finished
fusermount -uqz <mount-point>
# Run tests
pytest
Offline regression tests run without credentials. SharePoint integration tests
need all four environment variables; mounted tests also need /dev/fuse and
fusermount. Tests skip when these requirements are missing. Integration tests
create and remove uniquely named folders on the configured site.
The fuse-sharepoint command remains available as an alias for remote-fuse.
With uv, use uv sync --locked --all-extras and uv run --locked pytest.
The .python-version file selects Python 3.13.
Overview of the project
src/remote_fuse/core.py: Implements Fuse interface and by invoking API calls to remote servicesrc/remote_fuse/sharepoint.py: Implements the interface to present SharePoint as a local filesystemsrc/commands/fuse_sharepoint.py: Mounts SharePoint site as local directory
python-fuse documentation
Currently, python-fuse only supports Linux. There is no easy way to stop the process once started, it doesn't react to signals, however, it will stop if you unmount it. https://github.com/libfuse/python-fuse/blob/master/README.new_fusepy_api.rst
Metadata
Release files for remote-fuse 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| remote_fuse-0.2.0.tar.gz | 20.1 kB | Without provenance | Details for remote_fuse-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| remote_fuse-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for remote_fuse-0.2.0-py3-none-any.whl |
Total release size: 36.9 kB
Release files / remote_fuse-0.2.0.tar.gz
| Download URL | remote_fuse-0.2.0.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94665514d2d0832dbcbdb508fd5d39bca79816a7a403ee282e4dcfa1ff285c7f
|
|
BLAKE2b-256 checksum How to use checksums |
d0bc3644c4838bd138403eb495cd8592fb17f9c9d9d772f0fd348e620d29486c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / remote_fuse-0.2.0-py3-none-any.whl
| Download URL | remote_fuse-0.2.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0db59fd94cd0de7eecedfb07a65c80e1021dcf1b1abd371712c2bf516413d211
|
|
BLAKE2b-256 checksum How to use checksums |
fcf4a19874eb5c9e1ac2894fd49f849357f1af22002a2d16b1c6958737a36b4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for remote-fuse 0.2.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.