Skip to main content

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()

Metadata

Release files for yaml-helper 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yaml-helper 0.1.0
File Size Uploaded
yaml-helper-0.1.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yaml-helper 0.1.0
File Interpreter ABI Platform
yaml_helper-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.9 kB

Release files / yaml-helper-0.1.0.tar.gz

Download URL yaml-helper-0.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
325a8d4b1f2e0c893953fdc955db922377273bd7aaf9481c47d57829a32f2c15
BLAKE2b-256 checksum
How to use checksums
3303e82e191da981b8071e6f5c686277c2050fa1e5134945a14bfc4462ecdc32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

Release files / yaml_helper-0.1.0-py3-none-any.whl

Download URL yaml_helper-0.1.0-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6833504ad1c549a0b2c287e1b0093abf0c544cd40cc1428fd8fc642f3b8c5a35
BLAKE2b-256 checksum
How to use checksums
5b8dbfd3268c6771b4d261722aa0733e47c8ffe3022168da437c3ec86e8dd6b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.2

2 release files

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