Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Python wheel package for git-annex

Why?

Git-annex is written in Haskell and plenty of installation methods are available. However, for deploying git-annex as a dependency of a Python library/application, like DataLad or AnnexRemote, system packages are a lot less flexible than Python's virtual environments, and other methods are more complex and fragile.

With git-annex being available from PyPi, versioned dependencies and deployment in application-specific environments are possible via standard means of Python packaging.

Caveats

A standard git-annex deployment is (primarily) a single binary (git-annex), and a bunch of symlinks that make this one binary fulfilled multiple roles (git-annex-shell, git-remote-annex, etc.). A Python wheel, however, is a ZIP file container with no support for symlinks, and also no support for "post-install" scripts.

In order to square this circle, the git-annex binary is wrapped via regular Python entrypoint scripts that handle calling git-annex as necessary. This delivers a cross-platform compatible wheel, but at a start-up cost (~30ms vs ~11ms on my laptop).

Installation

Get the package from PyPi, and install like any other package from PyPi.

uv users can deploy git-annex in a dedicated virtual environment via the one-liner:

uv tool install git-annex

git-annex build configuration

Git-annex is built with libmagic support, but without the git-annex assistant. The primary purpose of this package is to provide git-annex (as a dependency), installed in a virtual environment. Users of the git-annex assistant application likely install git-annex via any of its platform packages.

Platform notes

Linux

The manylinux wheel is self-contained and includes copies of all libraries. It only depends on the declared GLIBC versions. The magic.mgc database is not included, and is assumed to be available on the target system. Install it separately, if needed (e.g., libmagic-mgc package).

Windows

The wheel is self-contained and includes a copy of libmagic and the magic.mgc database.

Mac

Git-annex is built with libmagic support, but the library is not included and needs to be deployed separately.

Developer information

Sources

The sources for this package are available at https://github.com/psychoinformatics-de/git-annex-wheel

The repository tracks the git-annex sources as a Git submodule.

Issues

For issues related to the Python wheel packaging of git-annex, please use the tracker at https://github.com/psychoinformatics-de/git-annex-wheel/issues

How to update for a new git-annex release?

Advance the submodule ./git-annex to the new release tag.

Now adjust the package version in pyproject.toml accordingly. This version must follow the rules for Python packages.

The included (GitHub) action workflows will build a corresponding wheel and upload it to PyPi.

Acknowledgements

This work was funded, in part, by

  • Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under grant TRR 379 (546006540, Q02 project)
  • Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under grant SFB 1451 (431549029, INF project)
  • MKW-NRW: Ministerium für Kultur und Wissenschaft des Landes Nordrhein-Westfalen under the Kooperationsplattformen 2022 program, grant number: KP22-106A

Release files for git-annex 10.20250520b7

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

Built distributions (wheels)

Table of built distributions (wheels) for git-annex 10.20250520b7
File
git_annex-10.20250520b7-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
git_annex-10.20250520b7-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
git_annex-10.20250520b7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
git_annex-10.20250520b7-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details
git_annex-10.20250520b7-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details

Total release size: 122.5 MB

Release files / git_annex-10.20250520b7-py3-none-win_amd64.whl

Download URL git_annex-10.20250520b7-py3-none-win_amd64.whl
Size 26.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
502680cfd6869d3f765c7a256c032f73691856ddc17a012966d4459940099bcc
BLAKE2b-256 checksum
How to use checksums
bcd2e6cacb9ebd747cbb09c55340dcc5c239f2b126b5eb4a43f47e0a3dafaab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.11

Release files / git_annex-10.20250520b7-py3-none-manylinux_2_34_x86_64.whl

Download URL git_annex-10.20250520b7-py3-none-manylinux_2_34_x86_64.whl
Size 21.3 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0dea2081de7fc20fd0500885530edcf2ea714aae314a3db20868bbfe46a85b97
BLAKE2b-256 checksum
How to use checksums
922de2a1336372598feb5a7c80f56e701a5507bed089d9891a06b97d87f8ff50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.11

Release files / git_annex-10.20250520b7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL git_annex-10.20250520b7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 24.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4f86dc427f82ac218d278ebf4eda477460a54d868ba8f1a99adf3f57e18c6a6b
BLAKE2b-256 checksum
How to use checksums
38a4906c0a58593870c8150950e2c572e9499c964b6a59cf03ef0e93a65a50f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release files / git_annex-10.20250520b7-py3-none-macosx_14_0_arm64.whl

Download URL git_annex-10.20250520b7-py3-none-macosx_14_0_arm64.whl
Size 36.0 MB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
3fc72daea9cba5fc30e3cea94dcac20c5f1ed239279a373ecbceeb8d34bce3f6
BLAKE2b-256 checksum
How to use checksums
d728297fc3f819f97cb57aac412ca2627de10dd1a188798d3b086b425ff2469a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.11

Release files / git_annex-10.20250520b7-py3-none-macosx_13_0_x86_64.whl

Download URL git_annex-10.20250520b7-py3-none-macosx_13_0_x86_64.whl
Size 14.3 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
cfd5c77bba8169e70beeb8ca1dbce1461253e664d1a5545e3f683fa2fb8a567b
BLAKE2b-256 checksum
How to use checksums
62d80dc29a37971a6c9104b1a3e66139b094cc812bb1325f6a6dc2694d80f520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.11
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