python from contexts import context @context def my_context(): with my_context(): $ pip install python-contexts