--- id: jaraco-context version: "6.1.2" license: MIT license_treatment: permissive maintenance: active --- # jaraco.context — Useful decorators and context managers License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install jaraco-context uv add jaraco-context poetry add jaraco-context ## Description .. image:: https://img.shields.io/pypi/v/jaraco.context.svg :target: https://pypi.org/project/jaraco.context .. image:: https://img.shields.io/pypi/pyversions/jaraco.context.svg .. image:: https://github.com/jaraco/jaraco.context/actions/workflows/main.yml/badge.svg :target: https://github.com/jaraco/jaraco.context/actions?query=workflow%3A%22tests%22 :alt: tests .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json :target: https://github.com/astral-sh/ruff :alt: Ruff .. image:: https://readthedocs.org/projects/jaracocontext/badge/?version=latest :target: https://jaracocontext.readthedocs.io/en/latest/?badge=latest .. image:: https://img.shields.io/badge/skeleton-2025-informational :target: https://blog.jaraco.com/skeleton .. image:: https://tidelift.com/badges/package/pypi/jaraco.context :target: https://tidelift.com/subscription/pkg/pypi-jaraco.context?utm_source=pypi-jaraco.context&utm_medium=readme Highlights ========== See the docs linked from the badge above for the full details, but here are some features that may be of interest. - ``ExceptionTrap`` provides a... ## AI interpretation — verify before relying Provides decorators and context managers for exception handling, directory changes, tarball operations, and interrupt handling in Python applications. Verdict: Production-stable utility library with permissive MIT licensing, no known vulnerabilities, and minimal dependencies. Active maintenance and top-1000 popularity make it a low-risk choice for adding context management and exception-handling utilities to Python 3.10+ projects. [View on SkillFed](https://skillfed.io/packages/jaraco-context) · [View on PyPI](https://pypi.org/project/jaraco-context/)