Application configuration made simple
Project description
pip install config-profile
file-based config for all of your python needs
Usage
import os
from config_profile import Config
config = Config(resource_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), 'resources')))
config.get("some_key.optional_key", "default_value")
config.get_required("some_key.required_key")
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
config_profile-0.0.1.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file config_profile-0.0.1.tar.gz
.
File metadata
- Download URL: config_profile-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f9c24c12c3d1e50cee2b359f2cb78765452d6cd1b937fa4a8ac33f75dd79543 |
|
MD5 | 51cd4e073216e3b1d70b243e87724c20 |
|
BLAKE2b-256 | d21ead554eaed6baceb79fae2497fef48f74d110a7571007023ad6f5d8f5c131 |
File details
Details for the file config_profile-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: config_profile-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315b35d2cbf77ea12345676c83e38fb349fb71d30d3265b690c3dceef5593ae0 |
|
MD5 | f3d21750ebb3a229b4ec6cb3ede32dbe |
|
BLAKE2b-256 | 9a6f0a6a12916a98bfc83fdb13692a3d8ee9b535c34a9daa8bb57c1690723bd8 |