Metadata-Version: 2.1
Name: eunomia
Version: 0.0.1.dev20
Summary: Simple configuration framework with custom backends, based on hydra config.
Home-page: https://github.com/nmichlo/eunomia
Author: Nathan Juraj Michlo
Author-email: NathanJMichlo@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Intended Audience :: Science/Research
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: asteval (==0.9.22)
Requires-Dist: lark-parser (==0.11.1)
Requires-Dist: ruamel.yaml (==0.16.12)

<p align="center">
    <h1 align="center">📜 Eunomia</h1>
    <p align="center">
        <i>A sane but flexible configuration framework.</i>
    </p>
</p>

<p align="center">
    <a href="https://choosealicense.com/licenses/mit/">
        <img alt="license" src="https://img.shields.io/github/license/nmichlo/eunomia?style=flat-square&color=lightgrey"/>
    </a>
    <a href="https://pypi.org/project/eunomia">
        <img alt="python versions" src="https://img.shields.io/pypi/pyversions/eunomia?style=flat-square"/>
    </a>
    <a href="https://pypi.org/project/eunomia">
        <img alt="pypi version" src="https://img.shields.io/pypi/v/eunomia?style=flat-square&color=blue"/>
    </a>
    <a href="https://github.com/nmichlo/eunomia/actions?query=workflow%3Atest">
        <img alt="tests status" src="https://img.shields.io/github/workflow/status/nmichlo/eunomia/test?label=tests&style=flat-square"/>
    </a>
    <a href="https://codecov.io/gh/nmichlo/eunomia/">
        <img alt="code coverage" src="https://img.shields.io/codecov/c/gh/nmichlo/eunomia?token=86IZK3J038&style=flat-square"/>
    </a>
    <a href="https://github.com/nmichlo/eunomia">
        <img alt="last commit" src="https://img.shields.io/github/last-commit/nmichlo/eunomia?style=flat-square&color=lightgrey"/>
    </a>
</p>

<p align="center">
    <p align="center">
        Visit the <a href="https://eunomia.dontpanic.sh/">docs</a> for more info.
    </p>
</p>

----------------------

### Overview

Simple [Hydra](https://github.com/facebookresearch/hydra) inspired configuration
library, supporting custom backends and variable substitution. Configs are defined as nested groups of mutually exclusive options
that can be selectively activated.

> The Horai, as they are called, to each of them, according as her name
> indicates, was given the ordering and adornment of life, so as to serve to
> the greatest advantage of mankind; for there is nothing which is better to
> build a life of felicity than obedience to law (Eunomia) and justice (Dike)
> and peace (Eirene).
> &mdash;&nbsp;[Diodorus&nbsp;Siculus](https://mythology.wikia.org/wiki/Eunomia)

### Getting Started

1. Install with: `pip install eunomia`

2. Visit the [docs](https://eunomia.dontpanic.sh)!

### Citing Eunomia

Please use the following citation if you use Eunomia in your research:

```bibtex
@Misc{Michlo2021Eunomia,
  author =       {Nathan Juraj Michlo},
  title =        {Eunomia - A sane but flexible configuration framework},
  howpublished = {Github},
  year =         {2021},
  url =          {https://github.com/nmichlo/eunomia}
}
```


