python-dotenv

Get and set values in the .env file in local and production servers

Install

All systems
curl cmd.cat/python-dotenv.sh
Debian Debian
apt-get install python3-dotenv
Ubuntu
apt-get install python3-dotenv
image/svg+xml Kali Linux
apt-get install python3-dotenv
Fedora
dnf install python3-dotenv
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-dotenv

python3-dotenv

Get and set values in the .env file in local and production servers

Reads key value pairs from the .env file and adds them to environment. variables. It is useful to manage settings during development and in production following the 12-factor principles: http://12factor.net/ The executable is named python-dotenv