just_config
Minimalistic library to handle configuration for the application.
As for now, it will look for the configuration value in the following order:
- In system environment variables.
- In
default.inifile in the current working directory - In
default.inifile in application-specific folder under user home directory
Usage:
>>> from just_config.configuration import Configuration
>>> cfg = Configuration()
>>> cfg['test']
'value'
>>> # If I store my configuration in ~/.app/default.ini
>>> cfg = Configuration('app')
>>> cfg['test']
'value'
Example configuration file:
[DEFAULT]
test=value
Metadata
Release files for just-config 24.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| just-config-24.1.tar.gz | 2.8 kB | Without provenance | Details for just-config-24.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| just_config-24.1-py3-none-any.whl | Python 3 | none | any | Details for just_config-24.1-py3-none-any.whl |
Total release size: 6.1 kB
Release files / just-config-24.1.tar.gz
| Download URL | just-config-24.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf53e6f49a9ba841565bce727b2d3808bd41794d000f8835f702c74b3552486e
|
|
BLAKE2b-256 checksum How to use checksums |
57db8ff3e8e774f870cad7a38aa630a8f7ff400c89762aa73b0c25ff0202c482
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Release files / just_config-24.1-py3-none-any.whl
| Download URL | just_config-24.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4580ec0e95fbf0a5e37bd6a0f32cdf3a0aeaf97d1ae63c0bfafe5e807e7f77d
|
|
BLAKE2b-256 checksum How to use checksums |
ad31fd4b2efa7ceac427d8c0a01f5069158f299181086924013b0496de29dfe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Security for just-config 24.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.