awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
theskumar avatar

theskumar/python-dotenv

0
View on GitHub↗
8,794 stars·538 forks·Python·BSD-3-Clause·27 viewssaurabh-kumar.com/python-dotenv↗

Python Dotenv

python-dotenv is a library and command line interface for managing environment variables in Python applications. It functions as a configuration parser and loader that reads key-value pairs from files and injects them into the system environment, enabling the decoupling of application configuration from source code.

The project provides a command line interface for manipulating and editing environment variables within configuration files. It also includes a mechanism for recursive variable interpolation, allowing dynamic placeholders within configuration files to be resolved using existing environment values.

The tool supports loading configuration data from both physical files and generic input streams. It can extract settings into dictionaries without modifying the system environment or write them directly to process-level environment variables to support twelve-factor app development.

Features

  • Environment Variables - Loads configuration from .env files into system environment variables to decouple settings from code.
  • Environment Variable Loaders - Loads environment variables from .env files into the process environment.
  • Environment Variable Management - Manages runtime environment variables as a primary configuration source.
  • Environment Variable Injection - Injects parsed configuration keys directly into the operating system environment variables.
  • Environment Variable-Based Configuration - Decouples application configuration from source code using environment variables.
  • File-Based Loading - Loads environment variables from flat text files into the runtime environment.
  • Configuration File Parsers - Extracts structured key-value configuration data from raw text files into memory.
  • CLI Environment Managers - Includes a command line interface for managing and manipulating environment variables.
  • Configuration Dictionaries - Extracts configuration settings into Python dictionaries to avoid altering the system environment.
  • Configuration File Editors - Provides a command line interface to manipulate and edit environment variables within configuration files.
  • Local Development Environments - Enables managing different environment settings for local development and testing.
  • Variable Interpolators - Resolves dynamic placeholders in configuration files using variables from the environment.
  • Recursive Variable Expansion - Resolves nested placeholders within configuration strings until a final value is reached.
  • Twelve-Factor App Implementations - Implements the configuration principle of the twelve-factor methodology by decoupling settings from code.
  • Configuration Management - Loads environment variables from .env files.
  • Configuration Management - Loads environment variables from files into the application environment.
  • Development Utilities - Managing environment variables from configuration files.

Star history

Star history chart for theskumar/python-dotenvStar history chart for theskumar/python-dotenv

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Python Dotenv

Similar open-source projects, ranked by how many features they share with Python Dotenv.
  • bkeepers/dotenvbkeepers avatar

    bkeepers/dotenv

    6,758View on GitHub↗

    Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a configuration parser to extract variables into hashes and a loader to inject those pairs into the global environment. The project features a variable interpolator that resolves environment variables and shell command outputs within configuration values. It also provides a validator to verify that required configuration keys are present during application initialization. The toolset covers environment variable management, including the ability to generate configuration templates

    Ruby
    View on GitHub↗6,758
  • joho/godotenvjoho avatar

    joho/godotenv

    10,483View on GitHub↗

    godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to extract configuration data from files into maps and inject those key-value pairs directly into the system environment of a Go application process. The project includes a configuration file serializer for exporting environment variable maps back into formatted files and a parser for extracting data without modifying the system environment. It supports injecting variables from strings or files into the process environment using priority-based overloading and overwriting. The li

    Godotenvenvironment-variablesgo
    View on GitHub↗10,483
  • symfony/dotenvsymfony avatar

    symfony/dotenv

    3,790View on GitHub↗

    This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local text files to populate global server and system environment arrays, ensuring that sensitive credentials and application settings remain separate from the source code. The tool implements twelve-factor app configuration principles by mapping local files to process-level variables. It utilizes a regex-based parser to identify variable assignments while stripping comments and whitespace, and it includes guards to prevent local configuration files from overwriting existing host-level

    PHP
    View on GitHub↗3,790
  • vlucas/phpdotenvvlucas avatar

    vlucas/phpdotenv

    13,536View on GitHub↗

    phpdotenv is a PHP environment variable loader and configuration parser. It reads key-value pairs from files and populates them into PHP system environment variables and global arrays to avoid hardcoding sensitive settings in code. The project includes a configuration variable interpolator to resolve nested references and variables within environment files. It also provides an environment variable validator to ensure required variables exist and match specific data types or values. The system covers application secret management, multi-environment deployment, and the parsing of raw configura

    PHPconfigurationdotenvenvironment
    View on GitHub↗13,536
See all 30 alternatives to Python Dotenv→

Frequently asked questions

What does theskumar/python-dotenv do?

python-dotenv is a library and command line interface for managing environment variables in Python applications. It functions as a configuration parser and loader that reads key-value pairs from files and injects them into the system environment, enabling the decoupling of application configuration from source code.

What are the main features of theskumar/python-dotenv?

The main features of theskumar/python-dotenv are: Environment Variables, Environment Variable Loaders, Environment Variable Management, Environment Variable Injection, Environment Variable-Based Configuration, File-Based Loading, Configuration File Parsers, CLI Environment Managers.

What are some open-source alternatives to theskumar/python-dotenv?

Open-source alternatives to theskumar/python-dotenv include: bkeepers/dotenv — Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a… joho/godotenv — godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to… symfony/dotenv — This library is a PHP environment variable loader and configuration parser. It extracts key-value pairs from local… vlucas/phpdotenv — phpdotenv is a PHP environment variable loader and configuration parser. It reads key-value pairs from files and… caarlos0/env — env is a Go library that reads environment variables and populates the fields of a Go struct according to tag… kelseyhightower/envconfig — envconfig is a Go configuration decoder and environment variable mapper that deserializes environment variables into…