React-style context management, i.e. dynamically scoped variables. Example:
import context_var as cv
var = cv.ContextVar('hello')
assert var.get() == 'hello'
with var.set('world'):
assert var.get() == 'world'
assert var.get() == 'hello'
pip install context-var