Skip to main content

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)

Source distribution for retroyaml 0.0.2
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

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page