Skip to main content

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")

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)

Source distribution for IDU-config 1.0.3
File Size Uploaded
idu_config-1.0.3.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for IDU-config 1.0.3
File Interpreter ABI Platform
idu_config-1.0.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page