Contents

python-dotenv 1.0.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: 7045, Watchers: 7045, Forks: 403, Open Issues: 57

The theskumar/python-dotenv repo was created 9 years ago and the last code push was 22 hours ago.
The project is extremely popular with a mindblowing 7045 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
Saurabh Kumar
License
BSD-3-Clause
Homepage
https://github.com/theskumar/python-dotenv
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 57 open issues on GitHub

  • Feature Request: surface errors instead of warnings/swallowing
  • Need clarity (perhaps in documentation) regarding when a value returned from DotEnv.dict() can be None
  • Support for passing dict or json as parameters to load_dotenv method
  • Documentation should make clear what path formats for –file are allowed
  • Example env file generator

See more issues on GitHub