Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page