No project description provided
Project description
reyaml
Description
Small utility class to ease yaml configuration in python3.
Requirements
Currently only requires pyyaml
.
To install the requirements:
pip3 install -r requirements.txt
Example
config.yaml
hello: world
this:
is:
- a
- test
example.py
from retroyaml.yamlConf import yamlConf
config = yamlConf('config.yaml')
print(config.hello)
world
print(len(config.this.is))
2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
retroyaml-0.0.2.tar.gz
(2.7 kB
view hashes)