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.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for retroyaml-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6118611967d49d89e1601e5d4f7565e5d831941c9a7a76b240024e5dae510dd7 |
|
MD5 | 3a3dba9af4354b58773238c4c8ececde |
|
BLAKE2b-256 | e816ab7a7c6b544e3012adb77423994cce0b466f5d8e9da46c33f5177c3a8621 |