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 details)
File details
Details for the file retroyaml-0.0.2.tar.gz.
File metadata
- Download URL: retroyaml-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21b96fd9fb03d7a5f81c82b6da2b781bab6219df022c041689add8f5863cef63
|
|
| MD5 |
bc033dfbf83c69059504107e09ad99ce
|
|
| BLAKE2b-256 |
bc8c2b6e1af0b3c9c45f43a3afe07afa53a3cce0f641b62144c8201d17bf6502
|