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.
Metadata
Release files for env-easy 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| env_easy-0.0.7.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| env_easy-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / env_easy-0.0.7.tar.gz
| Download URL | env_easy-0.0.7.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eeb2f030b2477927df902e488178f0399a703c95097d5988f35f1f88b17799a
|
|
BLAKE2b-256 checksum How to use checksums |
74bb2594ad9979e936c3554243d21220c5f8957c93839730ee682fd371c4c02c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Release files / env_easy-0.0.7-py3-none-any.whl
| Download URL | env_easy-0.0.7-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5158a1a71964e83895455b6b083a995e62cc6435e5e8fef64d38cbf68ff21baf
|
|
BLAKE2b-256 checksum How to use checksums |
f471cc2c33d2e60c6dffb59d658494d412b84ca827c67850f44d7bdcc73c3e8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|