context_tools 0.2
Utility functions for context managers
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.
In addition to Python 2.5 and 3.0, context_tools is available for Python 2.4.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
|
context_tools-0.2-py3.tar.gz
(md5)
Source for Python 3 |
Source | 2007-07-06 13:04:15 | 2KB | 284 | |
| context_tools-0.2.tar.gz (md5) | Source | 2007-07-06 13:01:21 | 2KB | 300 | |
| context_tools-0.2-py2.4.egg (md5) | Python Egg | 2.4 | 2007-07-06 13:01:30 | 4KB | 576 |
| context_tools-0.2-py2.5.egg (md5) | Python Egg | 2.5 | 2007-07-06 13:01:41 | 4KB | 576 |
- Author: Collin Winter <collinw at gmail com>
- Home Page: http://oakwinter.com/code/context_tools
- Keywords: context managers decorators generators tests
- License: MIT License
- Categories
- Package Index Owner: collinw
- DOAP record: context_tools-0.2.xml
Log in to rate this package.
