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
Metadata
Release files for retroyaml 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| retroyaml-0.0.2.tar.gz | 2.7 kB | Details |
Release files / retroyaml-0.0.2.tar.gz
| Download URL | retroyaml-0.0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21b96fd9fb03d7a5f81c82b6da2b781bab6219df022c041689add8f5863cef63
|
|
BLAKE2b-256 checksum How to use checksums |
bc8c2b6e1af0b3c9c45f43a3afe07afa53a3cce0f641b62144c8201d17bf6502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4
|