An open API service indexing awesome lists of open source software.

https://github.com/cnseniorious000/dotenv.pth

load `.env` when python starts
https://github.com/cnseniorious000/dotenv.pth

cli dotenv monkey-patching web

Last synced: 6 months ago
JSON representation

load `.env` when python starts

Awesome Lists containing this project

README

          

# dotenv.pth

Automatically loads environment variables from `.env` when Python starts.

It works by using a `.pth` file to call `load_dotenv()` at interpreter startup.

## Usage

Once installed, each time Python starts, your `.env` variables are loaded automatically—no code changes or imports needed.