Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ekanshul
python-dotenv
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
python-dotenv
src
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 17, 2026
fix: parse empty unquoted value with inline comment as empty string
Show description for f5485a6
Bolt4243
authored and
theskumar
committed
f5485a6
View commit details
Copy full SHA for f5485a6
View code at this point
Browse repository at this point
Commits on Aug 16, 2026
Bump version: 1.2.2 → 1.2.3
theskumar
committed
49515af
View commit details
Copy full SHA for 49515af
View code at this point
Browse repository at this point
fix: round-trip backslashes through set_key (#680)
Show description for f7b18d9
dchaudhari7177
and
claude
authored
f7b18d9
View commit details
Copy full SHA for f7b18d9
View code at this point
Browse repository at this point
Commits on May 8, 2026
Cache empty dotenv dicts (#638)
ReinerBRO
authored
3f0e3e0
View commit details
Copy full SHA for 3f0e3e0
View code at this point
Browse repository at this point
Commits on Apr 19, 2026
fix: strip UTF-8 BOM from .env files (#640)
Show description for bca6644
3 people
authored
bca6644
View commit details
Copy full SHA for bca6644
View code at this point
Browse repository at this point
fix: typo in comment (#621)
terezapohankova
authored
68ea2d1
View commit details
Copy full SHA for 68ea2d1
View code at this point
Browse repository at this point
Commits on Mar 6, 2026
Add missing interpolate parameter to the docstrings of functions `load_dotenv` and `dotenv_values` (#614)
edgarrmondragon
authored
fa4e6a9
View commit details
Copy full SHA for fa4e6a9
View code at this point
Browse repository at this point
Commits on Mar 2, 2026
fix: print friendly error for missing command in `dotenv run` (#606)
Show description for da0c820
bbc2
and
theskumar
authored
da0c820
View commit details
Copy full SHA for da0c820
View code at this point
Browse repository at this point
Commits on Mar 1, 2026
Bump version: 1.2.1 → 1.2.2
theskumar
committed
36004e0
View commit details
Copy full SHA for 36004e0
View code at this point
Browse repository at this point
Merge commit from fork
Show description for 790c5c0
bbc2
authored
790c5c0
View commit details
Copy full SHA for 790c5c0
View code at this point
Browse repository at this point
Commits on Jan 12, 2026
Make `dotenv run` forward flags to given command (#607)
Show description for 9f3b8b5
bbc2
authored
9f3b8b5
View commit details
Copy full SHA for 9f3b8b5
View code at this point
Browse repository at this point
Commits on Oct 26, 2025
Bump version: 1.2.0 → 1.2.1
theskumar
committed
8716196
View commit details
Copy full SHA for 8716196
View code at this point
Browse repository at this point
Support reading .env from FIFOs (Unix) (#586)
Show description for 3af77d3
sidharth-sudhir
and
Sidharth Sudhir
authored
3af77d3
View commit details
Copy full SHA for 3af77d3
View code at this point
Browse repository at this point
Bump version: 1.1.1 → 1.2.0
theskumar
committed
5bf8822
View commit details
Copy full SHA for 5bf8822
View code at this point
Browse repository at this point
Commits on Jun 24, 2025
Update spacing and docs
theskumar
committed
16f2bda
View commit details
Copy full SHA for 16f2bda
View code at this point
Browse repository at this point
feat: add `PYTHON_DOTENV_DISABLED` flag to disable load_dotenv (fixes #510) (#569)
Show description for c715d19
matthewfranglen
and
theskumar
authored
c715d19
View commit details
Copy full SHA for c715d19
View code at this point
Browse repository at this point
Use sys.exit() instead of exit() (#568)
theskumar
authored
666984d
View commit details
Copy full SHA for 666984d
View code at this point
Browse repository at this point
style: upgrade to use ruff (#567)
theskumar
authored
02b6857
View commit details
Copy full SHA for 02b6857
View code at this point
Browse repository at this point
Bump version: 1.1.0 → 1.1.1
theskumar
committed
16e660d
View commit details
Copy full SHA for 16e660d
View code at this point
Browse repository at this point
fix(cli): issue with execvpe on Windows (#566)
Show description for 9d85edb
wrongontheinternet
and
jakeowen-dev
authored
9d85edb
View commit details
Copy full SHA for 9d85edb
View code at this point
Browse repository at this point
Commits on May 30, 2025
fix: ensure find_dotenv work reliably on python 3.13 (#563)
theskumar
authored
8411987
View commit details
Copy full SHA for 8411987
View code at this point
Browse repository at this point
Commits on Mar 25, 2025
Bump version: 1.0.1 → 1.1.0
theskumar
committed
2198b69
View commit details
Copy full SHA for 2198b69
View code at this point
Browse repository at this point
Add _is_debugger so load_dotenv will work in pdb (#553)
randomseed42
authored
8dd413e
View commit details
Copy full SHA for 8dd413e
View code at this point
Browse repository at this point
Commits on Mar 9, 2025
Some more s/Python-dotenv/python-dotenv/ (#552)
theskumar
authored
9acba4a
View commit details
Copy full SHA for 9acba4a
View code at this point
Browse repository at this point
Commits on Jul 23, 2024
ci: add py3.13 to test.yml (#527)
Show description for 4d505f2
waketzheng
authored
4d505f2
View commit details
Copy full SHA for 4d505f2
View code at this point
Browse repository at this point
Commits on Jul 18, 2024
Enhance dotenv run: Switch to execvpe for better resource management and signal handling (#523)
Show description for 4543837
eekstunt
authored
4543837
View commit details
Copy full SHA for 4543837
View code at this point
Browse repository at this point
Commits on Apr 29, 2024
docs: clearify default behaviour of load_dotenv
Show description for 08937a1
theskumar
committed
08937a1
View commit details
Copy full SHA for 08937a1
View code at this point
Browse repository at this point
Commits on Jan 23, 2024
Bumpversion 1.0.0 -> 1.0.1
theskumar
committed
d6c0b96
View commit details
Copy full SHA for d6c0b96
View code at this point
Browse repository at this point
Fix temporary file is deleted before closing, in the rewrite function (#468)
Show description for 6ff1391
Qwerty-133
authored
6ff1391
View commit details
Copy full SHA for 6ff1391
View code at this point
Browse repository at this point
Allow modules using load_dotenv to be reloaded when launched in a separate thread (#497)
Show description for 0b94ac0
freddyaboulton
authored
0b94ac0
View commit details
Copy full SHA for 0b94ac0
View code at this point
Browse repository at this point
Commits on Apr 17, 2023
Gracefully handle code which has been imported from a zipfile (#456)
samwyma
authored
137bc3d
View commit details
Copy full SHA for 137bc3d
View code at this point
Browse repository at this point
Commits on Feb 24, 2023
Bump version: 0.21.1 → 1.0.0
theskumar
committed
d0684d1
View commit details
Copy full SHA for d0684d1
View code at this point
Browse repository at this point
Commits on Feb 23, 2023
Handle situations where the cwd does not exist. (#446)
Show description for fc19a55
jctanner
authored
fc19a55
View commit details
Copy full SHA for fc19a55
View code at this point
Browse repository at this point
Commits on Jan 21, 2023
Bump version: 0.21.0 → 0.21.1
theskumar
committed
5317a56
View commit details
Copy full SHA for 5317a56
View code at this point
Browse repository at this point
Commits on Jan 11, 2023
Fix type hint for dotenv_path var, add StrPath alias (#432)
Show description for 09cf4ab
eaftan
authored
09cf4ab
View commit details
Copy full SHA for 09cf4ab
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.