datalad_next.datasets

Representations of DataLad datasets built on git/git-annex repositories

Two sets of repository abstractions are available LeanGitRepo and LeanAnnexRepo vs. LegacyGitRepo and LegacyAnnexRepo.

LeanGitRepo and LeanAnnexRepo provide a more modern, small-ish interface and represent the present standard API for low-level repository operations. They are geared towards interacting with Git and git-annex more directly, and are more suitable for generator-like implementations, promoting low response latencies, and a leaner processing footprint.

The Legacy*Repo classes provide a, now legacy, low-level API to repository operations. This functionality stems from the earliest days of DataLad and implements paradigms and behaviors that are no longer common to the rest of the DataLad API. LegacyGitRepo and LegacyAnnexRepo should no longer be used in new developments, and are not documented here.

Dataset(*args, **kwargs)

Representation of a DataLad dataset/repository

LeanGitRepo

alias of GitRepo

LeanAnnexRepo(*args, **kwargs)

git-annex repository representation with a minimized API

LegacyGitRepo

alias of GitRepo

LegacyAnnexRepo

alias of AnnexRepo