pytest-env

JSON →
library 1.6.0 ·python
verified Jun 28, 2026 install stale

pytest-env is a pytest plugin that allows users to define and manage environment variables for their tests directly within configuration files such as `pyproject.toml`, `pytest.toml`, `.pytest.toml`, or `pytest.ini`. It also supports loading variables from `.env` files and via command-line options. The library is actively maintained, with frequent releases to add features and address issues. The current version is 1.6.0.

total hits 13
actors 4 distinct systems
last hit 59m ago ClaudeBot
Script
1
ClaudeBot
1
Humans
6

top countries 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany · 🇺🇸 United States · 🇬🇧 United Kingdom