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
- Host: GitHub
- URL: https://github.com/cnseniorious000/dotenv.pth
- Owner: CNSeniorious000
- Created: 2025-07-17T11:16:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-17T11:26:24.000Z (6 months ago)
- Last Synced: 2025-07-21T00:44:31.177Z (6 months ago)
- Topics: cli, dotenv, monkey-patching, web
- Language: Python
- Homepage: https://pypi.org/p/dotenv.pth
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.