Metadata-Version: 2.3
Name: babyyoda
Version: 0.0.3
Project-URL: Documentation, https://github.com/APN-Pucky/babyyoda#readme
Project-URL: Issues, https://github.com/APN-Pucky/babyyoda//issues
Project-URL: Source, https://github.com/APN-Pucky/babyyoda/
Author-email: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.9
Requires-Dist: numpy
Provides-Extra: develop
Requires-Dist: boost-histogram; extra == 'develop'
Requires-Dist: histoprint; extra == 'develop'
Requires-Dist: mplhep; extra == 'develop'
Requires-Dist: notebook; extra == 'develop'
Requires-Dist: pre-commit; extra == 'develop'
Requires-Dist: pydocstyle; extra == 'develop'
Requires-Dist: pytest-cov>=2.5.1; extra == 'develop'
Requires-Dist: pytest>=6.0; extra == 'develop'
Requires-Dist: ruff; extra == 'develop'
Requires-Dist: tbump>=6.7.0; extra == 'develop'
Requires-Dist: uhi; extra == 'develop'
Provides-Extra: lint
Requires-Dist: ruff; extra == 'lint'
Provides-Extra: test
Requires-Dist: histoprint; extra == 'test'
Requires-Dist: mplhep; extra == 'test'
Requires-Dist: pydocstyle; extra == 'test'
Requires-Dist: pytest-cov>=2.5.1; extra == 'test'
Requires-Dist: pytest>=6.0; extra == 'test'
Requires-Dist: uhi; extra == 'test'
Description-Content-Type: text/markdown

# babyyoda

[![PyPI - Version](https://img.shields.io/pypi/v/babyyoda.svg)](https://pypi.org/project/babyyoda)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/babyyoda.svg)](https://pypi.org/project/babyyoda)

-----

## Differences to yoda

`babyyoda` has the advantages

- works with just Python 3 and can be installed with pip.
- makes it easy to manipulate the bin contents.
- tries to adhere to the UHI standard.
- is easy to plot in a Jupyter notebook.
- keeps representation close to the yoda file format.

and the disadvantages to `yoda` are that it

- is slower.
- is not as feature complete.
- is not as well tested.
- only has histogram support.


## Installation

```console
pip install babyyoda
```

## Design

`babyyoda` is designed to be a drop-in replacement for `yoda` with a few key differences:

```python
import babyyoda as yoda
```

with UHI support.
It can use either `yoda` (C++) or `babyyoda.grogu` (Python) as backend.
At some point the UHI support might be adapted by the original `yoda` package.

For a less feature complete version, `babyyoda.grogu` is a simpler python drop-in replacement for `yoda`:

```python
import babyyoda.grogu as yoda
```

## License

`babyyoda` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
