https://github.com/znd4/pdm-dotenv
pdm-dotenv
https://github.com/znd4/pdm-dotenv
pdm
Last synced: 3 months ago
JSON representation
pdm-dotenv
- Host: GitHub
- URL: https://github.com/znd4/pdm-dotenv
- Owner: znd4
- License: mit
- Created: 2023-04-14T16:26:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-02-23T20:36:46.000Z (4 months ago)
- Last Synced: 2026-02-24T02:58:59.377Z (4 months ago)
- Topics: pdm
- Language: Python
- Homepage:
- Size: 143 KB
- Stars: 15
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-pdm - pdm-dotenv - A PDM plugin that loads `.env` files (Plugins)
README
# pdm-dotenv
[](https://github.com/zdog234/pdm-dotenv/actions?query=workflow%3Aci)
[](https://pypi.org/project/pdm-dotenv/)
[](https://github.com/psf/black)
[](https://pdm.fming.dev)
[](https://github.com/pre-commit/pre-commit)
[](https://codecov.io/github/znd4/pdm-dotenv)
A pdm plugin that automatically loads .env files
## Requirements
pdm-dotenv requires Python >=3.8
## Installation
```shell
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.:
```shell
pdm config --local dotenv.path .dev.env
```