Temporary Environment Variable Context Manager
JSON →tempenv is a lightweight Python context manager and decorator for temporarily setting and unsetting environment variables. It guarantees that environment variables are restored to their original state after the context exits or a decorated function completes, making it ideal for testing or local development. The current version is 2.1.0, with releases primarily driven by Python version compatibility updates and minor maintenance.
Traffic · last 30 days ↑40% vs prev 7d
total hits 15
actors 5 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
API endpoints
full doc /v1/registry/tempenv
install /v1/registry/tempenv/install
compatibility /v1/registry/tempenv/compatibility