--/--
Project description
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")
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 idu_config-1.0.3.tar.gz.
File metadata
- Download URL: idu_config-1.0.3.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2711a54ecf6433f52a8306a6115b8efb460ec976a8f84a246df95548298ffc0
|
|
| MD5 |
4f62afeeada6854b704e16aac9612e73
|
|
| BLAKE2b-256 |
15ad3fdf6d6d057b0a0983ddf73378395d2dc47deea22b8d9f65510bc95888c4
|
File details
Details for the file idu_config-1.0.3-py3-none-any.whl.
File metadata
- Download URL: idu_config-1.0.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02f23ddfa1093e2bed8ebe70636b38f680e4b282323b2980c643755e2b4d1bca
|
|
| MD5 |
0f2332295cdf6e7a1be437fd2c61ba36
|
|
| BLAKE2b-256 |
38afe2eead45cd681249ad30b3f8f8f27b818388469baed8d3d6c788fe53baa6
|