Core components of the DataLad framework https://datalad.org
  • Python 99.7%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Hanke e8e8d7263a
Some checks failed
Codespell / Check for spelling errors (push) Successful in 52s
Codespell / Check for spelling errors (pull_request) Successful in 56s
Ruff / Code linting (push) Successful in 1m1s
Ruff / Code linting (pull_request) Successful in 1m4s
Conventional commits / check-messages (pull_request) Successful in 1m9s
Unit tests (Linux) / check (push) Failing after 1m24s
Unit tests (Linux) / check (pull_request) Failing after 1m28s
Type annotation (project) / check (push) Successful in 1m35s
Type annotation (PR) / check (pull_request) Successful in 1m42s
feat: get_worktree_content()
This is the work horse for populating a worktree with (missing) tracked
content: downloading annex keys and cloning submodules.

This implementation has support for Git (non-literal) pathspecs.

This implementation is also capable of using a global task executor, for
example, to parallelize download operations *across* repositories.
However, this feature is not thoroughly tested. Moreover, there is no
support for multiple git-annex download-jobs *within* a repository, yet.
2026-07-21 05:50:44 +02:00
.forgejo/workflows rf: switch to Python 3.11 as the minimum supported version 2026-03-19 18:19:20 +01:00
datalad_core feat: get_worktree_content() 2026-07-21 05:50:44 +02:00
docs feat: get_worktree_content() 2026-07-21 05:50:44 +02:00
tools test: (also) run test battery on a crippled filesystem 2026-07-21 03:59:06 +02:00
.appveyor.yml ci: test require more space 2025-10-28 19:46:10 +01:00
.changelog.md.j2 chore: migrate changelog links to hub.datalad.org 2026-05-28 21:26:16 +02:00
.gitignore chore: dynamic version setup 2024-09-20 13:46:14 +02:00
.noannex doc: initial commit with basic information 2024-09-20 09:39:22 +02:00
.readthedocs.yaml chore: let docs use RTD theme, tune doc setup 2024-10-08 08:16:14 +02:00
CHANGELOG.md bump: version 0.2.0 → 0.3.0 2026-07-21 04:20:52 +02:00
conftest.py feat: add loguru-based logging facility 2026-07-21 04:29:40 +02:00
CONTRIBUTING.md rf: switch to Python 3.11 as the minimum supported version 2026-03-19 18:19:20 +01:00
LICENSE doc: initial commit with basic information 2024-09-20 09:39:22 +02:00
pyproject.toml chore: depend on an unreleased datasalad branch for development 2026-07-21 04:29:40 +02:00
README.md chore: homogenize badges with datasalad, codecov removed, requires GitHub 2026-01-22 14:50:40 +01:00

datalad-core: core library for the DataLad framework

PyPI version fury.io Documentation Status Hatch project

Developing with datalad_core

API stability is important, just as adequate semantic versioning, and informative changelogs.

Public vs internal API

Anything that can be imported directly from any of the sub-packages in datalad_core is considered to be part of the public API. Changes to this API determine the versioning, and development is done with the aim to keep this API as stable as possible. This includes signatures and return value behavior.

As an example: from datalad_core.abc import xyz imports a part of the public API, but from datalad_core.abc.def import xyz does not.

Use of the internal API

Developers can obviously use parts of the non-public API. However, this should only be done with the understanding that these components may change from one release to another, with no guarantee of transition periods, deprecation warnings, etc.

Developers are advised to never reuse any components with names starting with _ (underscore). Their use should be limited to their individual subpackage.

Contributing

Contributions to this library are welcome! Please see the contributing guidelines for details on scope and style of potential contributions.