Configuration reading extensibility point for your package via python entry-points mechanism.
Project description
config-reading
config-reading is a configuration reading extensibility point for your package via python entry-points mechanism.
Features
- Bundled formats: TOML, YAML, JSON, Python
- Extensible via Python entry-points
Installation
Install the core library:
pip install config-reading
To enable YAML support:
pip install config-reading[yaml]
Usage Example
from config_reading import read_config
config1 = read_config('config.toml')
config2 = read_config('config.json')
config3 = read_config('config.py')
# For YAML (requires optional dependency):
# config = load_yaml_config('config.yaml')
Extensibility
You can add new config formats by registering entry points in your own package.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details. © 2025 Vitalii Stepanenko
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 config_reading-0.1.3.tar.gz.
File metadata
- Download URL: config_reading-0.1.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbb252a8f035b77c7e5df04bcb07dd9befdc8b3a43e7c298e3e33b054988cb95
|
|
| MD5 |
e6aa73992f008b22f1330443eda3f9a4
|
|
| BLAKE2b-256 |
4894d6222669574c03efcd8d8cfff4757a611192661ca444648080c4cc3822a1
|
File details
Details for the file config_reading-0.1.3-py3-none-any.whl.
File metadata
- Download URL: config_reading-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
372f4535e39398b10a42ba9ea90fe55c369928d7e9653a20f0494171d47def89
|
|
| MD5 |
949ee7471b90b862a3319dd08a956b94
|
|
| BLAKE2b-256 |
940079722ae98d0aeb635bb2ab825f2347fe6c175b67d86ad796d590e5d36eac
|