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.6
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.6.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| env_easy-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / env_easy-0.0.6.tar.gz
| Download URL | env_easy-0.0.6.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17ff95e1603ed10cd477e3312a1b3ea065eb7bc8001034095b9079c334922b01
|
|
BLAKE2b-256 checksum How to use checksums |
419544b671b50f7772944fb16f1ce978aec902eea6b5ea0b09028a35e1599ccd
|
| 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.6-py3-none-any.whl
| Download URL | env_easy-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fad673386e207d3320b588fd8a5e13d9a53e423e656c40d4f2b02826d9ab783
|
|
BLAKE2b-256 checksum How to use checksums |
7d599d08b03898604393814857642d97cf6d4454bbd6c4acfbfb2ebcbd2a9ba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|