{"library":"setenvironment","title":"setenvironment","description":"A cross-platform library for setting environment variables in the current process and launching subprocesses with modified environments. Version 2.0.3 requires Python >=3.7 and is hosted on GitHub by zackees. Release cadence is sporadic.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install setenvironment"],"cli":null},"imports":["from setenvironment import set_env","from setenvironment import run_with_env"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from setenvironment import set_env, run_with_env\n\nset_env('MY_VAR', 'hello')\nrun_with_env(['echo', '$MY_VAR'], {'MY_VAR': 'world'})","lang":"python","description":"Set an environment variable in the current process, then run a subprocess with an overridden environment.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}