Skip to main content

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.

Metadata

Release files for context_tools 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for context_tools 0.2
File Size Uploaded Provenance
context_tools-0.2.tar.gz 3.1 kB Without provenance Details
context_tools-0.2-py3.tar.gz 2.7 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for context_tools 0.2
File Interpreter ABI Platform
context_tools-0.2-py2.5.egg Legacy Egg format - - Details
context_tools-0.2-py2.4.egg Legacy Egg format - - Details

Total release size: 15.0 kB

Release files / context_tools-0.2.tar.gz

Download URL context_tools-0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b89b69431ce24c4a37f9a88709ecc9a402ecd74000b3eb039b2825ccd71f3360
BLAKE2b-256 checksum
How to use checksums
e72e7ebe343d6c08f0777dcbb850732a0de440e96caad31465d004ae2db0198d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / context_tools-0.2-py3.tar.gz

Download URL context_tools-0.2-py3.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a012090bb823df412b67ef83d0f56eafbf8b2fe1f0460648bc9a09e0f57b3050
BLAKE2b-256 checksum
How to use checksums
a958a18402e53052de44c44686bcb98f385af0c7fe6c24112410c5ac41623c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / context_tools-0.2-py2.5.egg

Download URL context_tools-0.2-py2.5.egg
Size 4.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
04f6cc62c8c47ef165ff8fb20febdaca63239629061781213fd943e4b10836fa
BLAKE2b-256 checksum
How to use checksums
d291ec48cf0a47269334a17cf8e90312d0aa805c107f215488cde9125d730d7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / context_tools-0.2-py2.4.egg

Download URL context_tools-0.2-py2.4.egg
Size 4.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
8784f802acf2c5aff81eead2e1fb3b261cc88fba780c97cad630a47422221a58
BLAKE2b-256 checksum
How to use checksums
91685dc21b10a1173673d856574aa8eb865dfec7970fbc2107a3257eec23b43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for context_tools 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2 This release

4 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page