Artifactum · atfm
atfm.io · pip install artifactum · import artifactum as atfm · the atfm command
A registry and lineage tracker for the files data teams produce: datasets, models, results and figures.
Every file you publish gets a permanent ID, and Artifactum records where it came from: the artifacts your code read, the git commit and code that ran, and who published it. Files stay in storage your team controls, a shared directory or a Google Cloud Storage bucket; Artifactum stores only metadata.
Install
pip install artifactum
atfm init
init asks for your API token (from Settings at atfm.io), your server URL (https://atfm.io
unless your team runs its own) and where to store files. Or give them and skip the questions:
atfm init --token atfm_... --storage ~/atfm-files
Storage
Artifactum never holds your files. Each one is copied to your team's storage when it's published and fetched from there when someone reads it, then cached locally.
| Storage | Location to give init |
Install |
|---|---|---|
| A shared directory (lab server, cluster, network drive) | /groups/lab/atfm |
pip install artifactum |
| Google Cloud Storage | gs://my-team-bucket/atfm |
pip install 'artifactum[gcs]' |
A shared directory needs no cloud account: everyone on the team just needs to reach it at the same
path, since the registry records where each file is. Files are stored by content, under
<location>/<hash[:2]>/<hash>/<filename>, and never overwritten.
For Google Cloud Storage, each person signs in once with gcloud auth application-default login and needs
read and write access to the bucket.
To try Artifactum on your own, a folder like ~/atfm-files is enough. When you bring in your team, move
what you've published to shared storage; the files are copied, checked against their hashes and their
records updated, and the old copies are left in place:
atfm storage move /groups/lab/atfm # or gs://my-team-bucket/atfm
Use
import artifactum as atfm
import pandas as pd
events = pd.read_parquet(atfm.artifact("C4LN9E2A")) # fetched and cached locally
features = build_features(events)
features.to_parquet("features.parquet")
atfm.publish(
"features.parquet",
description="Feature matrix, nulls dropped",
tags=["features"],
)
# C4LN9E2A is recorded as the parent automatically, along with the git commit and code.
From the shell (bash, R, Nextflow, Snakemake, ...):
eval "$(atfm run start 'align reads')" # lineage is recorded across the commands below
bwa mem "$(atfm get GRCH38RF)" "$(atfm get FQ7R1A2B)" > aligned.sam
atfm publish aligned.bam -d "Reads aligned with BWA-MEM" --code align.sh
eval "$(atfm run end)"
atfm get prints a local path and atfm publish prints the new ID, so both compose with other
commands. Use --parent ID to set parents explicitly.
Add --json to get, publish, describe, log or run status to get one JSON object on stdout
instead, for tools that parse rather than split strings. Messages and errors stay on stderr, and a
failure exits non-zero.
$ atfm get C4LN9E2A --json
{"id": "C4LN9E2A", "path": "/home/me/.artifactum/cache/3f9a..."}
$ atfm publish model.rds -p C4LN9E2A --json
{"id": "M0DL3V3X", "file": "/home/me/project/model.rds", "parents": ["C4LN9E2A"], "run_id": null}
From R, call the command and read its JSON with jsonlite:
atfm <- function(...) {
out <- system2("atfm", c(..., "--json"), stdout = TRUE)
if (!is.null(attr(out, "status"))) stop("atfm failed")
jsonlite::fromJSON(paste(out, collapse = ""))
}
counts <- read.csv(atfm("get", "C4LN9E2A")$path)
saveRDS(fit, "model.rds")
atfm("publish", "model.rds", "-p", "C4LN9E2A", "-d", shQuote("GLM on cleaned counts"))$id
There's no R package yet. If you'd like one, email hello@atfm.io.
Browsing from the terminal:
atfm log K9PWQM7T # upstream lineage
atfm browse # interactive browser (preview: recent artifacts, no search yet)
License
MIT. See LICENSE.
Metadata
Release files for artifactum 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| artifactum-0.2.0.tar.gz | 44.3 kB | With provenance | Details for artifactum-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| artifactum-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for artifactum-0.2.0-py3-none-any.whl |
Total release size: 79.2 kB
Release files / artifactum-0.2.0.tar.gz
| Download URL | artifactum-0.2.0.tar.gz |
|---|---|
| Size | 44.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e4260fe3105b3a18c408e8e51a3427a6993b79fc6d12eb3fbbdb88075e36fbf
|
|
BLAKE2b-256 checksum How to use checksums |
6ebf444aa70f4fe0e42a57f34ee625933199389d84da18103b14841209a378f2
|
| 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 13, 2026.
Transparency logRelease files / artifactum-0.2.0-py3-none-any.whl
| Download URL | artifactum-0.2.0-py3-none-any.whl |
|---|---|
| Size | 34.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e827d8798465ca2c9f5a8b0efe291b658bfc3b36319858564506c5bbc80c048c
|
|
BLAKE2b-256 checksum How to use checksums |
1be392c5e082d1569196efa29e14cf3f6f3e7d9cc054757bf61a5f0371a93a77
|
| 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 13, 2026.
Transparency logSecurity for artifactum 0.2.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.
Attestation for artifactum-0.2.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 Nov 13, 2026.
Transparency logA 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.