Skip to main content

Utility functions for context managers

Project description

Python 2.5’s contextlib provides some handy functions for dealing with context managers, but it’s pretty limited. The code in context_tools allows you to use context managers as decorators, as setUp and tearDown functions in unittest tests, and as decorators for generators.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

context_tools-0.1.tar.gz (2.1 kB view hashes)

Uploaded Source

context_tools-0.1-py3.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

context_tools-0.1-py2.5.egg (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page