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.9.0

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.9.0
File Size Uploaded Provenance Actions
datalad_fuse-0.9.0.tar.gz 121.2 kB With provenance Details for datalad_fuse-0.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 189.6 kB

Release files / datalad_fuse-0.9.0.tar.gz

Download URL datalad_fuse-0.9.0.tar.gz
Size 121.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e4b57841479d57f6e4f32a6b79cf8c2fdc300bd229b7689ed69370fe2cf89b5d
BLAKE2b-256 checksum
How to use checksums
466157626675711ca154fc872c65ef8eccee5aab70ee23ac038a059335abb60b
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 Dec 2, 2026.

Transparency log

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

Download URL datalad_fuse-0.9.0-py3-none-any.whl
Size 68.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9583fb2f7287b6275b1e91a4be308baeb74c4b7fc20776c0fa164bc7082c935c
BLAKE2b-256 checksum
How to use checksums
7f32c1795ac7276a4c46beb9e4146535a8e0a40e68af349fdf9962526d69b520
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 Dec 2, 2026.

Transparency log

Security for datalad-fuse 0.9.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.

Full provenance

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

Select from 2 files

Attestation for datalad_fuse-0.9.0.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 Dec 2, 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