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 ↑300% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 7d ago ByteDance
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇸🇬 Singapore · 🇩🇪 Germany
API endpoints
full doc /v1/registry/tempenv
install /v1/registry/tempenv/install
compatibility /v1/registry/tempenv/compatibility