Metadata-Version: 2.4
Name: stepup-data
Version: 4.3.0a0
Summary: StepUp extension for data exchange and archiving
Author-email: Toon Verstraelen <toon.verstraelen@ugent.be>
License-Expression: LGPL-3.0-or-later
Project-URL: Documentation, https://reproducible-reporting.github.io/stepup-data/
Project-URL: Issues, https://github.com/reproducible-reporting/stepup-data/issues
Project-URL: Source, https://github.com/reproducible-reporting/stepup-data/
Project-URL: Changelog, https://reproducible-reporting.github.io/stepup-data/changelog/
Keywords: build automation,cross-platform,data archiving,extension,open science,Python,reproducibility,reproducible reporting,reproducible research,research data management,research software,StepUp,StepUp Core,workflow automation,Zenodo
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Archiving
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: attrs>=23.1.0
Requires-Dist: cattrs>=23.2.3
Requires-Dist: idutils>=1.4.5
Requires-Dist: markdown-it-py>=3.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: requests>=2.33.0
Requires-Dist: rich>=13.0.0
Requires-Dist: stepup<5.0.0a1,>=4.3.0a1
Provides-Extra: tests
Requires-Dist: pytest>=8.2.0; extra == "tests"
Requires-Dist: pytest-asyncio>=0.24; extra == "tests"
Requires-Dist: pytest-timeout>=2.3.1; extra == "tests"
Requires-Dist: pytest-xdist>=3.6.1; extra == "tests"
Provides-Extra: dev
Requires-Dist: stepup-data[tests]; extra == "dev"
Requires-Dist: mkdocstrings-python; extra == "dev"
Requires-Dist: psutil; extra == "dev"
Requires-Dist: reuse; extra == "dev"
Requires-Dist: snipwise<2.0a0; extra == "dev"
Requires-Dist: zensical; extra == "dev"
Dynamic: license-file

<!--
SPDX-FileCopyrightText: 2026 Toon Verstraelen <Toon.Verstraelen@UGent.be>
SPDX-License-Identifier: LGPL-3.0-or-later
-->

# StepUp Data

[![pytest](https://github.com/reproducible-reporting/stepup-data/actions/workflows/pytest.yaml/badge.svg?branch=main)](https://github.com/reproducible-reporting/stepup-data/actions/workflows/pytest.yaml)
[![docs](https://github.com/reproducible-reporting/stepup-data/actions/workflows/docs.yaml/badge.svg?branch=main)](https://github.com/reproducible-reporting/stepup-data/actions/workflows/docs.yaml)
![LGPL-3 License](https://img.shields.io/badge/License-LGPL_v3-blue.svg)

<!-- snipwise.md BEGIN abstract -->
StepUp Data helps you manage data files of a research project.
It records them in inventories, packs them into ZIP files and keeps them in sync with Zenodo.
As an extension of [StepUp Core](https://reproducible-reporting.github.io/stepup-core/),
a universal dynamic build tool,
it performs these tasks as build steps that rerun only when their inputs change.
StepUp Data is part of [Reproducible Reporting](https://github.com/reproducible-reporting).
<!-- snipwise.md END abstract -->

> **Note:** StepUp Data is in early development, and its API may still change.
> For production use, keep using [StepUp RepRep 4.2](https://reproducible-reporting.github.io/stepup-reprep/).

This development release contains the inventory tools and the Zenodo synchronization
of StepUp RepRep 4.2 under new names:

- `make_inventory()` and `sd-make-inventory` record files with their sizes and digests
  in an inventory, a JSON Lines file.
- `zip_inventory()` and `sd-zip-inventory` check the files against an inventory
  and pack them into a reproducible ZIP file.
- `sd-check-inventory` checks files on disk against an inventory.
- `sync_zenodo()` and `sd-sync-zenodo` keep the files of an inventory in sync
  with a draft dataset on Zenodo.
  The token is taken from `STEPUP_DATA_ZENODO_TOKEN`.

The functions are imported from `stepup.data.api` in the `plan.py` of a StepUp workflow.
Inventories, Zenodo configuration files and record-id files
written for StepUp RepRep 4.2 are accepted unchanged.

- Documentation: <https://reproducible-reporting.github.io/stepup-data/>
- Source code: <https://github.com/reproducible-reporting/stepup-data/>
