contextdecorator (pypi): Create APIs that work as decorators and as context managers.
Keywords: decorator|with|context