No project description provided
Project description
AIO-Conf
A minimal configuration system that merges configuration from CLI arguments,
environment variables, config files and defaults. Configuration specs can be
defined in JSON and loaded with AIOConfig.
Usage
from aio_conf import AIOConfig
cfg = AIOConfig.load_from_spec('spec.json')
cfg.load(cli_args=['--port', '8000'], file_path='config.json')
print(cfg.as_dict())
Run tests with:
pytest -q
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
aio_conf-1.0.0.dev1.tar.gz
(2.3 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 aio_conf-1.0.0.dev1.tar.gz.
File metadata
- Download URL: aio_conf-1.0.0.dev1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.9 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f20ecd8929a8f53c4efab6c3047dbfe2b4a8b26011f301d4f13c5d91a96a8f66
|
|
| MD5 |
3cfdade75dabd0eaec55662c6d552409
|
|
| BLAKE2b-256 |
7345ddf846961e3c0d3ada7d3f9125b80078a7cc07cdba7b130923eb992fbc6d
|
File details
Details for the file aio_conf-1.0.0.dev1-py3-none-any.whl.
File metadata
- Download URL: aio_conf-1.0.0.dev1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.9 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca0c89354fbcef774a3fbdddb8eb58e2c61944b818883797dfb9d74e368ed67
|
|
| MD5 |
fe182b5e17928499d707b1cf1af8d052
|
|
| BLAKE2b-256 |
b087626204c89590fe37cfd856226e29992e895b0bfaca5c0a57ce52c0120b02
|