IDU config library is dedicated for automatic environment variables loading from .env files and changing.
Be advised that your .env file should be named as .env.{TYPE}
where {TYPE} is value of APP_ENV environment variable.
This allows you to have multiple .env files for different scenarios and swapping between them easily on your code launch.
from iduconfig import Config
# This line automatically loads variables from your .env file
config = Config()
# Now you can access them through .get(...) method
env_value = config.get("KEY")
# Or you can set new value for environment variable (even if doesn't exist)
config.set("KEY", "NEW_VALUE")
Metadata
Release files for IDU-config 1.0.3
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 |
|---|---|---|---|---|
| idu_config-1.0.3.tar.gz | 1.8 kB | Without provenance | Details for idu_config-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| idu_config-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for idu_config-1.0.3-py3-none-any.whl |
Total release size: 4.2 kB
Release files / idu_config-1.0.3.tar.gz
| Download URL | idu_config-1.0.3.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2711a54ecf6433f52a8306a6115b8efb460ec976a8f84a246df95548298ffc0
|
|
BLAKE2b-256 checksum How to use checksums |
15ad3fdf6d6d057b0a0983ddf73378395d2dc47deea22b8d9f65510bc95888c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.9 Windows/10
|
Release files / idu_config-1.0.3-py3-none-any.whl
| Download URL | idu_config-1.0.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02f23ddfa1093e2bed8ebe70636b38f680e4b282323b2980c643755e2b4d1bca
|
|
BLAKE2b-256 checksum How to use checksums |
38afe2eead45cd681249ad30b3f8f8f27b818388469baed8d3d6c788fe53baa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.9 Windows/10
|
Security for IDU-config 1.0.3
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.