Metadata-Version: 2.1
Name: pinefarm
Version: 0.3.2
Summary: Generate PineAPPL grids from PineCards.
Home-page: https://github.com/NNPDF/runcards
Author: Alessandro Candido
Author-email: candido.ale@gmail.com
Requires-Python: >=3.8,<3.12
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Dist: PyYAML (>=6.0.0,<7.0.0)
Requires-Dist: appdirs (>=1.4.4,<2.0.0)
Requires-Dist: click (>=8.0.1,<9.0.0)
Requires-Dist: lhapdf-management (>=0.3,<0.4)
Requires-Dist: lz4 (>=4.0.2,<5.0.0)
Requires-Dist: more-itertools (>=8.10.0,<9.0.0)
Requires-Dist: pandas (>=1.3.0,<2.0.0)
Requires-Dist: pineappl (>=0.6.2,<0.7.0)
Requires-Dist: pkgconfig (>=1.5.5,<2.0.0)
Requires-Dist: pygit2 (>=1.12.0,<2.0.0)
Requires-Dist: requests (>=2.26.0,<3.0.0)
Requires-Dist: rich (>=12.5.1,<13.0.0)
Requires-Dist: tomli (>=2.0.1,<3.0.0)
Requires-Dist: yadism[box] (>=0.13.2,<0.14.0)
Project-URL: Repository, https://github.com/NNPDF/runcards
Description-Content-Type: text/markdown

# Pinefarm

<p align="center">
  <a href="https://github.com/NNPDF/pinefarm/actions/workflows/unittests.yml"><img alt="Tests" src="https://github.com/NNPDF/pinefarm/actions/workflows/unittests.yml/badge.svg" /></a>
  <a href="https://pinefarm.readthedocs.io/en/latest/?badge=latest"><img alt="Docs" src="https://readthedocs.org/projects/pinefarm/badge/?version=latest"></a>
</p>

Generate [PineAPPL grids](https://github.com/NNPDF/pineappl) from [pinecards](https://github.com/NNPDF/pinecards).

## Installation

pinefarm is available via
- PyPI: <a href="https://pypi.org/project/pinefarm/"><img alt="PyPI" src="https://img.shields.io/pypi/v/pinefarm"/></a>
```bash
pip install pinefarm
```

### Dev

For development you need the following tools:

- `poetry`, follow [installation
  instructions](https://python-poetry.org/docs/#installation)
- `poetry-dynamic-versioning`, used to manage the version (see
  [repo](https://github.com/mtkennerly/poetry-dynamic-versioning))
- `pre-commit`, to run maintenance hooks before commits (see
  [instructions](https://pre-commit.com/#install))

See [below](.github/CONTRIBUTING.md#non-python-dependencies) for a few more
dependencies (already available on most systems).

## Documentation
- The documentation is available here: <a href="https://pinefarm.readthedocs.io/en/latest/?badge=latest"><img alt="Docs" src="https://readthedocs.org/projects/pinefarm/badge/?version=latest"></a>
- To build the documentation from source run these commands

```sh
poetry shell
cd docs
make html
make view
```

