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.
In addition to Python 2.5 and 3.0, context_tools is available for Python 2.4.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file context_tools-0.2.tar.gz.
File metadata
- Download URL: context_tools-0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b89b69431ce24c4a37f9a88709ecc9a402ecd74000b3eb039b2825ccd71f3360
|
|
| MD5 |
640a84d405a8f0f75c894f92dd91bd08
|
|
| BLAKE2b-256 |
e72e7ebe343d6c08f0777dcbb850732a0de440e96caad31465d004ae2db0198d
|
File details
Details for the file context_tools-0.2-py3.tar.gz.
File metadata
- Download URL: context_tools-0.2-py3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a012090bb823df412b67ef83d0f56eafbf8b2fe1f0460648bc9a09e0f57b3050
|
|
| MD5 |
3b707d88bcb3c9b75212ca46ff50b729
|
|
| BLAKE2b-256 |
a958a18402e53052de44c44686bcb98f385af0c7fe6c24112410c5ac41623c92
|
File details
Details for the file context_tools-0.2-py2.5.egg.
File metadata
- Download URL: context_tools-0.2-py2.5.egg
- Upload date:
- Size: 4.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04f6cc62c8c47ef165ff8fb20febdaca63239629061781213fd943e4b10836fa
|
|
| MD5 |
610032b641bb87e76520a46d83a423ca
|
|
| BLAKE2b-256 |
d291ec48cf0a47269334a17cf8e90312d0aa805c107f215488cde9125d730d7e
|
File details
Details for the file context_tools-0.2-py2.4.egg.
File metadata
- Download URL: context_tools-0.2-py2.4.egg
- Upload date:
- Size: 4.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8784f802acf2c5aff81eead2e1fb3b261cc88fba780c97cad630a47422221a58
|
|
| MD5 |
c1ea11b66eb3dda4c2a3af7918df851a
|
|
| BLAKE2b-256 |
91685dc21b10a1173673d856574aa8eb865dfec7970fbc2107a3257eec23b43d
|