Skip to main content

DataLad FUSE extension package

codecov.io tests docs

datalad-fuse lets you read files of DataLad datasets and git-annex repositories without downloading them first: only the parts of files that are actually read are fetched, from the URLs that git-annex knows, via fsspec or — for NWB/HDF5 files, if installed — remfile. Unlike datalad get, which downloads whole files before you can use them, this pays off when you need only parts of large files, e.g. a few arrays from NWB/HDF5 files or the headers of many images. Use it through a FUSE mount, so that any program can open the files, or directly from Python.

Documentation: https://datalad-fuse.readthedocs.io

Installation

python3 -m pip install datalad-fuse

Add the remfile backend, which is faster for NWB/HDF5 files, with python3 -m pip install "datalad-fuse[remfile]".

git-annex is required, and FUSE (libfuse 2 or 3) for mounting datasets (e.g. sudo apt-get install fuse3 on Debian/Ubuntu). See the installation instructions for details.

Example

Clone a dataset, here Dandiset 000582 from the DANDI Archive. This gets all file names, but none of the 1.86 GB of file content:

datalad clone https://github.com/dandisets/000582

On the command line, mount the dataset; datalad fusefs keeps running until the dataset is unmounted:

mkdir mnt
datalad fusefs -d 000582 --foreground mnt

Then, in another terminal, use any tool on its files (here h5ls from the HDF5 tools), and unmount when done:

h5ls mnt/sub-10073/sub-10073_ses-17010302_behavior+ecephys.nwb
fusermount -u mnt

In Python, open files directly, without FUSE:

from contextlib import closing

import h5py
import pynwb

from datalad_fuse.adapter import DatasetAdapter

# caching=False: keep fetched data in memory only
with closing(DatasetAdapter("000582", caching=False)) as dsa:
    with dsa.open("sub-10073/sub-10073_ses-17010302_behavior+ecephys.nwb") as f:
        with h5py.File(f, "r") as h5, pynwb.NWBHDF5IO(file=h5) as io:
            print(io.read().units.to_dataframe())

The tutorial continues this example, and the documentation covers the command line and Python interfaces in detail.

Metadata

Release files for datalad-fuse 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datalad-fuse 0.8.2
File Size Uploaded Provenance Actions
datalad_fuse-0.8.2.tar.gz 119.6 kB With provenance Details for datalad_fuse-0.8.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datalad-fuse 0.8.2
File Interpreter ABI Platform Actions
datalad_fuse-0.8.2-py3-none-any.whl Python 3 none any Details for datalad_fuse-0.8.2-py3-none-any.whl

Total release size: 186.6 kB

Release files / datalad_fuse-0.8.2.tar.gz

Download URL datalad_fuse-0.8.2.tar.gz
Size 119.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e9fd0140edf54565385ae96e62990ecf7b191ba4aa113cd9cde750d6191e8326
BLAKE2b-256 checksum
How to use checksums
200fc3ea7878e3d652eb7b4d9f01c21473bc7c6e8f64f1af9169dc4b91ee5e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / datalad_fuse-0.8.2-py3-none-any.whl

Download URL datalad_fuse-0.8.2-py3-none-any.whl
Size 67.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea71570ed52869627d2a331fb6be8e87e8e4580bd1c0ffaa74e8036852aea422
BLAKE2b-256 checksum
How to use checksums
365a1da104557b34943428ac957029558ec9505df8a4acf06c281cbc1416089b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for datalad-fuse 0.8.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datalad_fuse-0.8.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page