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 details)
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 goodway_configs-0.1.0.tar.gz.
File metadata
- Download URL: goodway_configs-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.19.0-42-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bcb5e9f4087a3965532b300458246e5fef3c08a5168b84f81337b6c72158e28
|
|
| MD5 |
405cca6d2dec0fff5238e298581f34d4
|
|
| BLAKE2b-256 |
b702deba2db2a7c7c102bedd31f9a4b49b2c0fd2218d6a15e7633fe2ff6d9fa9
|
File details
Details for the file goodway_configs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: goodway_configs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.19.0-42-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c14717360de3eefe36b02de005fc5878e8ac390a1c3364a3a26c437af7d42c0
|
|
| MD5 |
e2bbf1beb9d43f1ede2955ae16fde413
|
|
| BLAKE2b-256 |
a894f360f428d1baa673aeb834ac24e566aa161ed83c760f46dcbbac0eb41540
|