A Python library to manage environment variables
Project description
Environment Setup for env_manager
To properly use this library, ensure your project contains the following files in its root directory:
-
.env.dev- Used for development environment variables.
- Important: Add this file to
.gitignoreto avoid committing sensitive data.
-
.env.prod- Used for production environment variables.
- Important: Add this file to
.gitignoreto avoid committing sensitive data.
-
.env.example- A template file that details the required environment variables and their structure.
- Do not add this file to
.gitignore, as it serves as documentation for other developers, and more importantly - it's necessary for the funtionality, as it loads the key names.
Key Guidelines
- Never use quotes (
"or') in environment variable values. This ensures compatibility and avoids parsing issues.
Running in Development Mode
To run the application in development mode:
- Explicitly set the environment variable
FLASK_DEV_ENV. - The value of
FLASK_DEV_ENVcan be arbitrary (any value is acceptable).
export FLASK_DEV_ENV=true
Project details
Release history Release notifications | RSS feed
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 solugen.env_manager-0.1.0.tar.gz.
File metadata
- Download URL: solugen.env_manager-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afa0bf56631c5bbafa368cee0a3981909195e112cd5ea945b6165e1b4823e701
|
|
| MD5 |
4b4858caf65641bc78036fd2e1fdcb21
|
|
| BLAKE2b-256 |
c7aebd06afee3fd8fbec30432b17e027afa5aa8cbe5b1310b637271ac4444916
|
File details
Details for the file solugen.env_manager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: solugen.env_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1778a5fceb9698ef58fbe437b953d2e3a5a23aebd92ff8cfcc2ec87c968972b4
|
|
| MD5 |
a6e67b08b6bcad628d8406e189a5f342
|
|
| BLAKE2b-256 |
0624d8c0a3f71ef030b9bb12275d2a26fa132942d7747e251b7d06afb1f6d401
|