Metadata-Version: 2.1
Name: ultra-simple-config
Version: 0.1.0
Summary: 
Author: Marc Mezger
Author-email: marc.mezger@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: omegaconf (>=2.3.0,<3.0.0)
Description-Content-Type: text/markdown

# Ultra Simple Config for Python


## Installation

```bash
pip install ultra-simple-config
```

## Usage

Create a yml file with your configuration, for example:

```yaml
db:
  url: localhost
  port: 5432
  format: utf8


user:
  name: blubby
```

Then load it in your python code:

```python
from ultra_simple_config import load_config
```

Then use it on your method like that:

```python
@load_config(location="tests/example_config/db.yaml")
def test_loading(cfg: DictConfig):

    # then you can use it like this:
    print(cfg.db.url)
```
