Metadata-Version: 2.4
Name: ctao-dpps-data-products
Version: 0.1.0rc1
Summary: Tools for DPPS data product structures and metadata
Author: CTAO Computing Department
License-Expression: BSD-3-Clause
Project-URL: repository, https://gitlab.cta-observatory.org/cta-computing/dpps/dpps-data-products
Project-URL: documentation, https://cta-computing.gitlab-pages.cta-observatory.org/dpps/dpps-data-products
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ctao-datamodel<2,>=1.5.1
Requires-Dist: astropy<9,>=7.2
Requires-Dist: tables~=3.4
Requires-Dist: packaging
Requires-Dist: particle
Requires-Dist: numpy
Provides-Extra: test
Requires-Dist: pytest>=9; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: doc
Requires-Dist: sphinx; extra == "doc"
Requires-Dist: numpydoc; extra == "doc"
Requires-Dist: ctao-sphinx-theme~=0.2.0; extra == "doc"
Requires-Dist: sphinx-changelog>=1.6.0; extra == "doc"
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: setuptools-scm>=8; extra == "dev"
Requires-Dist: towncrier; extra == "dev"
Requires-Dist: twine; extra == "dev"
Provides-Extra: all
Requires-Dist: ctao-dpps-data-products[dev,doc,test]; extra == "all"
Dynamic: license-file

# DPPS Data Products

`ctao-dpps-data-products` provides tools for DPPS data product structures and
metadata using `ctao-datamodel`. Its intended scope is to:

- Define BDMS data product structures based on data product metadata.
- Read and write data product metadata in DPPS file formats.

Python 3.12 or newer is required. Install from a checkout:

```sh
python -m pip install .
```

The Python module is named `dpps_data_products`:

```python
import dpps_data_products

print(dpps_data_products.__version__)
```

For development:

```sh
python -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[all]'
pre-commit install
python -m pytest
make -C docs html
python -m build
```

Source code and in-tree tests live in `src/dpps_data_products`. Sphinx
documentation lives in `docs`; open `docs/build/html/index.html` after building.
See [the development guide](docs/development.rst) for CI and release conventions.

CI uses the AIV toolkit pipelines through a pinned GitLab project include.
No local toolkit installation or submodule is required.

Versions are generated by `setuptools-scm` from Git tags (for example `v0.1.0`).
Do not commit the generated `_version.py` file.
