A configuration management for global variables in python projects.
Project description
akconfig
A configuration management for global variables in python projects. akconfig is a small python class that takes global variables and lets you manipulate them quickly. the advantage can be that you still need manipulations that are to be changed via arguments, or via environment variables. when executing the example file basic.py, it quickly becomes obvious what this is intended for.
example
$ poetry run basic
get help
poetry run basic --help
Usage: basic [OPTIONS]
Options:
-c, --config <TEXT TEXT>... Config parameters are: VAR_A, VAR_B, VAR_C,
VAR_D, VAR_E, VAR_F, VAR_G, VAR_H, VARS_MASK
-f, --force-env-vars Set argument if you want force environment
variables
--help Show this message and exit.
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 akconfig-0.1.4.tar.gz.
File metadata
- Download URL: akconfig-0.1.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.7 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4386e6eb8cda9f45563cc5a6f19328fc44bef1106eec36b726f722b328e7afcf
|
|
| MD5 |
05970959b4b25397d06f9cff1aba1070
|
|
| BLAKE2b-256 |
aa32be5bde5e8fb31698a71f5b79fc5e60fe8f5aee472d7dd508fc1645a5d705
|
File details
Details for the file akconfig-0.1.4-py3-none-any.whl.
File metadata
- Download URL: akconfig-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.7 Darwin/24.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bed0455b215ddfb3b10fb3dae1e2c3134f4b671e077f74a0647a4f536fb70d2e
|
|
| MD5 |
925c9326397aec03a3d2c57f09e9f623
|
|
| BLAKE2b-256 |
c690408b0ed718b77e5cddeb7c0812d1b1e1d736c3f885847a23bf78eeb87571
|