Metadata-Version: 2.1
Name: xconfig
Version: 0.0.5
Summary: yaml config for python
Home-page: https://github.com/remorses/TODO
Author: Tommaso De Rossi
Author-email: daer.tommy@gmail.com
License: Apache Software License 2.0
Keywords: xconfig,config,yaml
Platform: UNKNOWN
Classifier: Intended Audience :: Information Technology
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: pyyaml
Requires-Dist: aiofiles

# python-lib-template

```python
config = Config('./ciao.yaml')

# writes a new field in config
config.write(f'cose.cosa', 'ciao')
print(config['cose']['cosa']) # ciao

# pushes a new obj in config
config.push(f'arrays.array_id', 1)
config.push(f'arrays.array_id', 2)
print(config['arrays']['array_id']) # [1, 2]

```

```yaml
cose:
    cosa: ciao

arrays:
    array_id:
        - 1
        - 2
```

