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()
Metadata
Release files for EasyCo 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| EasyCo-0.2.3.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| EasyCo-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / EasyCo-0.2.3.tar.gz
| Download URL | EasyCo-0.2.3.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e774ccced398a7624c8e4a926b5ea9da51ad1212aff0db1d73726307206eaf6
|
|
BLAKE2b-256 checksum How to use checksums |
9cf8d63d87f4d8dfabb3d3d4a3029215c5b44fb26f4b81bab03a08a7c05695fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / EasyCo-0.2.3-py3-none-any.whl
| Download URL | EasyCo-0.2.3-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87e5d7ca04889c77725311d2fa621097e6abdd4fb27c9bdc108a8c60b104891b
|
|
BLAKE2b-256 checksum How to use checksums |
bd799dec7a6325e6c2fad42e6440ab938b7f080c8e3c77efb6804a3eec23d81e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|