Helper methods to read and write YAML files.
Project description
YAML Helper
Helper methods to read and write YAML files.
Installation
pip install yaml-helper
Usage
from yaml_helper import YAML
yaml = YAML('config.yml')
config = yaml.load()
print(config['ip_address'])
print(config['port'])
yaml.add({'driver': 'mysqli'})
yaml.add({'username': 'admin'})
yaml.write()
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
yaml-helper-0.1.0.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for yaml_helper-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6833504ad1c549a0b2c287e1b0093abf0c544cd40cc1428fd8fc642f3b8c5a35 |
|
MD5 | 7c9ca4d41c9b480781be9a37c38a1931 |
|
BLAKE2b-256 | 5b8dbfd3268c6771b4d261722aa0733e47c8ffe3022168da437c3ec86e8dd6b4 |