python-dotenv

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-dotenv

Related Tools

Quick Info

Latest Version
1.2.2
First Release
2014
License
BSD-3-Clause

About pytools.dev

pytools.dev is your go-to directory for the best Python tools, libraries, and frameworks—designed for the modern Python developer.

© 2026 pytools.dev. All rights reserved.
Created with ❤️ by James Fricker