Environment variables, but easy
The easiest way to load and handle the environment variables.
Usage:
Environment.get_variable_from_dotenv(var)- Read the variable
varsimpsfrom the dotenv file, but not load it.
- Read the variable
Environment.set_variable(var, 33)- Set the value
33in thevarvariable in our environment variables dict.
- Set the value
Environment.remove_variable(var)- Remove the
varvariable from our environment variables dict.
- Remove the
Environment.get_variable(var)- Get the value of the
varvariable in our environment variables dict.
- Get the value of the
See the tests/test_env.py for more examples.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
env_easy-0.0.2.tar.gz
(3.1 kB
view details)
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 env_easy-0.0.2.tar.gz.
File metadata
- Download URL: env_easy-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc9466e79deef5a68aae16b7d6bd9f26daeaefdc976c310fe5747e823070597
|
|
| MD5 |
3cbb67c7cac9d56df66f3a47f4382808
|
|
| BLAKE2b-256 |
97aa40955e920a9765d68f63d3f67f0219314656556e499120620fcda09e7929
|
File details
Details for the file env_easy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: env_easy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8e57a9092131819356f5b0ace7913fc1d77d37cedd1b1f6c7ecef62540e0d07
|
|
| MD5 |
1ce0f0f3eb2dc145479beab979941394
|
|
| BLAKE2b-256 |
79856c5fb7e08fc63f92d0cae7dfeee6845a5a9de53caf0626d12c0770babdbb
|