Easy configuration with yaml files
Project description
EasyCo
Easy Configuration with yaml files
Goal
The goal of EasyCo is to provide an easy way of Coniguration using yaml files for Python programs. It can automatically create a default configuration from provided default values and will validate the provided data.
Documentation
The documentation can be found at here
Example
from EasyCo import ConfigFile, ConfigContainer
class MyContainer(ConfigContainer):
SubValueA: int
SubValueB: int = 7
class MyConfigFile(ConfigFile):
ConfValueA: int = 5
ConfValueB: float = 5.5
sub_values = MyContainer()
cfg = MyConfigFile('test')
cfg.load()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file EasyCo-0.2.3.tar.gz.
File metadata
- Download URL: EasyCo-0.2.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e774ccced398a7624c8e4a926b5ea9da51ad1212aff0db1d73726307206eaf6
|
|
| MD5 |
b27349e5163b62797510edd78e6aec2d
|
|
| BLAKE2b-256 |
9cf8d63d87f4d8dfabb3d3d4a3029215c5b44fb26f4b81bab03a08a7c05695fd
|
File details
Details for the file EasyCo-0.2.3-py3-none-any.whl.
File metadata
- Download URL: EasyCo-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87e5d7ca04889c77725311d2fa621097e6abdd4fb27c9bdc108a8c60b104891b
|
|
| MD5 |
86100ba7cfd46570577c737bc4550d8c
|
|
| BLAKE2b-256 |
bd799dec7a6325e6c2fad42e6440ab938b7f080c8e3c77efb6804a3eec23d81e
|