Skip to main content

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:

  1. .env.dev

    • Used for development environment variables.
    • Important: Add this file to .gitignore to avoid committing sensitive data.
  2. .env.prod

    • Used for production environment variables.
    • Important: Add this file to .gitignore to avoid committing sensitive data.
  3. .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_ENV can be arbitrary (any value is acceptable).
export FLASK_DEV_ENV=true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solugen.env_manager-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solugen.env_manager-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

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

Hashes for solugen.env_manager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 afa0bf56631c5bbafa368cee0a3981909195e112cd5ea945b6165e1b4823e701
MD5 4b4858caf65641bc78036fd2e1fdcb21
BLAKE2b-256 c7aebd06afee3fd8fbec30432b17e027afa5aa8cbe5b1310b637271ac4444916

See more details on using hashes here.

File details

Details for the file solugen.env_manager-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for solugen.env_manager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1778a5fceb9698ef58fbe437b953d2e3a5a23aebd92ff8cfcc2ec87c968972b4
MD5 a6e67b08b6bcad628d8406e189a5f342
BLAKE2b-256 0624d8c0a3f71ef030b9bb12275d2a26fa132942d7747e251b7d06afb1f6d401

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page