Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/znd4/pdm-dotenv
pdm-dotenv
https://github.com/znd4/pdm-dotenv
pdm
Last synced: about 1 month 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T22:08:28.000Z (about 1 month ago)
- Last Synced: 2024-11-11T23:19:19.226Z (about 1 month ago)
- Topics: pdm
- Language: Python
- Homepage:
- Size: 141 KB
- Stars: 13
- 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
[![Tests](https://github.com/zdog234/pdm-dotenv/workflows/Tests/badge.svg)](https://github.com/zdog234/pdm-dotenv/actions?query=workflow%3Aci)
[![pypi version](https://img.shields.io/pypi/v/pdm-dotenv.svg)](https://pypi.org/project/pdm-dotenv/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm.fming.dev)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![codecov](https://codecov.io/github/znd4/pdm-dotenv/branch/main/graph/badge.svg?token=0PHW2BUEOY)](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
```