configs in a good way
Project description
Goodway Configs
This library contains utilities to work with configs in a good way.
Installation
pip install goodway-configs
Getting Started
The following code uses MultiConfigLoader
and JsonConfigLoader
to combine two config files together.
from pathlib import Path
from goodway_configs.config_loader.json_loader import JsonConfigLoader
from goodway_configs.config_loader.multi_loader import MultiConfigLoader
loader = MultiConfigLoader(config_loaders=[
JsonConfigLoader(file_path=Path('./config1.json')),
JsonConfigLoader(file_path=Path('./config2.json')),
])
config = await loader.load_config()
Documentation
Documentation can be found here.
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
goodway_configs-0.1.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for goodway_configs-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c14717360de3eefe36b02de005fc5878e8ac390a1c3364a3a26c437af7d42c0 |
|
MD5 | e2bbf1beb9d43f1ede2955ae16fde413 |
|
BLAKE2b-256 | a894f360f428d1baa673aeb834ac24e566aa161ed83c760f46dcbbac0eb41540 |