Skip to content

znd4/pdm-dotenv

Repository files navigation

pdm-dotenv

Tests pypi version Code style: black pdm-managed pre-commit codecov

A pdm plugin that automatically loads .env files

Requirements

pdm-dotenv requires Python >=3.8

Installation

pdm self add pdm-dotenv

Configuration

If you want to use something other than .env, such as .dev.env, you can set dotenv.path, e.g.:

pdm config --local dotenv.path .dev.env