Metadata-Version: 2.1
Name: EasyCo
Version: 0.2.3
Summary: Easy configuration with yaml files
Home-page: https://github.com/spacemanspiff2007/EasyCo
Author: spaceman_spiff
License: UNKNOWN
Project-URL: Documentation, https://easyco.readthedocs.io/
Project-URL: GitHub, https://github.com/spacemanspiff2007/EasyCo
Keywords: yaml,yml,config,configuration,file
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
Requires-Dist: ruamel.yaml
Requires-Dist: voluptuous

# EasyCo
[![Build Status](https://travis-ci.org/spacemanspiff2007/EasyCo.svg?branch=master)](https://travis-ci.org/spacemanspiff2007/EasyCo)
[![Documentation Status](https://readthedocs.org/projects/easyco/badge/?version=latest)](https://easyco.readthedocs.io/en/latest/?badge=latest)

_Easy Configuration with yaml files_

# Goal
The goal of **EasyCo** is to provide an **easy** way of **Co**niguration using yaml files for Python programs.
It can automatically create a default configuration from provided default values and will validate the provided data.

# Documentation
[The documentation can be found at here](https://easyco.readthedocs.io)

# Example

```python
from EasyCo import ConfigFile, ConfigContainer

class MyContainer(ConfigContainer):
    SubValueA: int
    SubValueB: int = 7

class MyConfigFile(ConfigFile):
    ConfValueA: int = 5
    ConfValueB: float = 5.5

    sub_values = MyContainer()

cfg = MyConfigFile('test')
cfg.load()
```

