Metadata-Version: 2.1
Name: heputils
Version: 0.0.7
Summary: Helper utilities around the Scikit-HEP ecosystem for common tasks in HEP
Home-page: https://github.com/matthewfeickert/heputils
Author: Matthew Feickert
Author-email: matthew.feickert@cern.ch
License: BSD 3-Clause
Project-URL: Documentation, https://matthewfeickert.github.io/heputils/
Project-URL: Source, https://github.com/matthewfeickert/heputils
Project-URL: Tracker, https://github.com/matthewfeickert/heputils/issues
Keywords: hep utilities scikit-hep physics
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click (>=6.0)
Requires-Dist: awkward (>=1.0)
Requires-Dist: uproot (>=4.0)
Requires-Dist: mplhep (>=0.3.8)
Requires-Dist: hist[plot] (>=2.3.0)
Requires-Dist: uproot3 (>=3.14)
Provides-Extra: complete
Requires-Dist: black ; extra == 'complete'
Requires-Dist: bump2version ; extra == 'complete'
Requires-Dist: check-manifest ; extra == 'complete'
Requires-Dist: flake8 ; extra == 'complete'
Requires-Dist: pre-commit ; extra == 'complete'
Requires-Dist: pytest-console-scripts (~=0.2) ; extra == 'complete'
Requires-Dist: pytest-cov (~=2.8) ; extra == 'complete'
Requires-Dist: pytest-mock (~=3.0) ; extra == 'complete'
Requires-Dist: pytest (~=6.0) ; extra == 'complete'
Requires-Dist: twine ; extra == 'complete'
Provides-Extra: develop
Requires-Dist: black ; extra == 'develop'
Requires-Dist: bump2version ; extra == 'develop'
Requires-Dist: check-manifest ; extra == 'develop'
Requires-Dist: flake8 ; extra == 'develop'
Requires-Dist: pre-commit ; extra == 'develop'
Requires-Dist: pytest-console-scripts (~=0.2) ; extra == 'develop'
Requires-Dist: pytest-cov (~=2.8) ; extra == 'develop'
Requires-Dist: pytest-mock (~=3.0) ; extra == 'develop'
Requires-Dist: pytest (~=6.0) ; extra == 'develop'
Requires-Dist: twine ; extra == 'develop'
Provides-Extra: lint
Requires-Dist: black ; extra == 'lint'
Requires-Dist: flake8 ; extra == 'lint'
Provides-Extra: test
Requires-Dist: check-manifest ; extra == 'test'
Requires-Dist: pytest-console-scripts (~=0.2) ; extra == 'test'
Requires-Dist: pytest-cov (~=2.8) ; extra == 'test'
Requires-Dist: pytest-mock (~=3.0) ; extra == 'test'
Requires-Dist: pytest (~=6.0) ; extra == 'test'

# heputils

[![GitHub Project](https://img.shields.io/badge/GitHub--blue?style=social&logo=GitHub)](https://github.com/matthewfeickert/heputils)
[![GitHub Actions Status: CI](https://github.com/matthewfeickert/heputils/workflows/CI/badge.svg?branch=main)](https://github.com/matthewfeickert/heputils/actions?query=workflow%3ACI+branch%3Amain)
[![Code Coverage](https://codecov.io/gh/matthewfeickert/heputils/graph/badge.svg?branch=main)](https://codecov.io/gh/matthewfeickert/heputils?branch=main)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/matthewfeickert/heputils/main.svg)](https://results.pre-commit.ci/latest/github/matthewfeickert/heputils/main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/matthewfeickert/heputils/HEAD?urlpath=lab/tree/examples/dev-example.ipynb)

[![PyPI version](https://badge.fury.io/py/heputils.svg)](https://badge.fury.io/py/heputils)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/heputils.svg)](https://pypi.org/project/heputils/)

Helper utilities around the [Scikit-HEP ecosystem][Scikit-HEP] for common tasks in HEP

**This library is not meant for wide use and will probably be deprecated in favor of a Scikit-HEP library soon.**
This library should be viewed as a testing grounds for API design decisions.

## Installation

In a fresh virtual environment you can install from PyPI with

```
python -m pip install heputils
```

### Development releases

If you want to install _unsupported_ development releases you can do so from TestPyPI.
**First** install `heputils` like normal from PyPI to get stable releases of all dependencies

```
python -m pip install heputils
```

**then** install the development release of `heputils` from TestPyPI with the following

```
python -m pip install --upgrade --extra-index-url https://test.pypi.org/simple/ --pre heputils
```

which will get the release on TestPyPI that corresponds to the most recent commit on `main`.

You can of course also install directly from the Git repository "locally" by first cloning the repo and then from the top level of it running

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

## Contributing

As this library is experimental contributions of all forms are welcome.
If you have ideas on how to improve the API or conceptually how a library meant to introduce people to the Scikit-HEP ecosystem should be structured please open an Issue.
You are of course also most welcome and encouraged to open PRs.

### Developing

To develop, use a virtual environment.
Once the environment is activated, clone the repo from GitHub

```
git clone git@github.com:matthewfeickert/heputils.git
```

and install all necessary packages for development

```
python -m pip install --ignore-installed --upgrade --editable .[complete]
```

Then setup the Git pre-commit hooks by running

```
pre-commit install
```

## Acknowledgements

This library is built upon the hard work of many people in the [Scikit-HEP ecosystem][Scikit-HEP] and is only possible because of the exchange of ideas and contributions of people working together, across experiments and fields to improve science.
This is not an inevitability, but rather the result of directed thought, time, and effort, to which I am most thankful to have benefited from and have been involved in.

## Requests

Cite the software you use in your papers.

[Scikit-HEP]: https://scikit-hep.org/


