Contents

python-dotenv 1.2.1

0

Read key-value pairs from a .env file and set them as environment variables

Read key-value pairs from a .env file and set them as environment variables

Stars: 8657, Watchers: 8657, Forks: 501, Open Issues: 76

The theskumar/python-dotenv repo was created 11 years ago and the last code push was 1 months ago.
The project is extremely popular with a mindblowing 8657 github stars!

How to Install python-dotenv

You can install python-dotenv using pip

pip install python-dotenv

or add it to a project with poetry

poetry add python-dotenv

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/python-dotenv/
GitHub Repo:
https://github.com/theskumar/python-dotenv

Classifiers

  • System/Systems Administration
  • Utilities
No  python-dotenv  pypi packages just yet.

Errors

A list of common python-dotenv errors.

Code Examples

Here are some python-dotenv code examples and snippets.

GitHub Issues

The python-dotenv package has 76 open issues on GitHub

  • Remove the use of sh in tests
  • [CLI] Support multiple files in CLI commands
  • Fix handling of missing command by dotenv run
  • [Fix] parser handling of inline comments with empty values
  • [Bug] Inline comment is included as value when key has empty value (KEY= # comment)
  • feat: Add waiting logic for FIFO files that may not be immediately readable
  • Bug: python-dotenv doesn't load 1Password “mounted” .env files (looks like a FIFO / fd-backed file)
  • Fix: Use FileNotFoundError for file not found in main.py
  • AssertionError when attempting to locate dotenv file

See more issues on GitHub