python-dotenv
View on GitHub
8.7k
Read key-value pairs from a .env file and set them as environment variables
About python-dotenv
Read key-value pairs from a .env file and set them as environment variables
Key Features
- Loads environment variables from .env files
- Supports local development configuration patterns
- Parses shell-like key-value definitions
- Helps implement twelve-factor style app config
Installation
uv add python-dotenvRelated Tools
platformdirs
A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`.
906 stars
iniconfig
brain-dead simple config-ini parsing
59 stars
UV
An extremely fast Python package installer and resolver, written in Rust
80.3k stars
rich
Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
55.7k stars
Quick Info
- Latest Version
- 1.2.2
- First Release
- 2014
- License
- BSD-3-Clause