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.3.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file config_profile-0.0.3.tar.gz
.
File metadata
- Download URL: config_profile-0.0.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de063e2d98168268f1be86cffde96f72f5bd7b6ab85cd69413b6454bd12acce4 |
|
MD5 | 7796d0d7d0d362a0cbc338400ecffaf0 |
|
BLAKE2b-256 | 134cb96fcba147e2fa4e53a24b49489845614bdd02f66c2d16ba5b64c7cd5ca7 |
File details
Details for the file config_profile-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: config_profile-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 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 | ff2df35bb0acb90138cc11af3c26ff8d25823e5994f676eee258e38e74b618f9 |
|
MD5 | a47819ef8028e57de5ff2b4ee54a89f4 |
|
BLAKE2b-256 | f95ea54c277343785de5562348c9743aeae0ebb2f3ee8f1510e41c3d8a970b1e |