Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Context Manager Python Packages

Python packages with the GitHub topic context-manager. Sorted by monthly downloads, with stars and forks.
alexdelorenzo
limiter

⏲️ Easy rate limiting for Python using a token bucket algorithm, with async and thread-safe decorators and context managers

20K 52 1
sileod
xpflow

Python nested loops as classes for improved readability and modularity

4K 9 0
pomponchik
instld

The simplest package management

2K 130 1
meribold
timethis

Context manager for measuring execution times

2K 11 3
kajaste
overdue

Conveniently stop Python code from running when it is taking too long on Python 3.10+

1K 7 0
Friskes
capture-db-queries

Class to simplify the search for slow and suboptimal sql queries to the database in django projects.

1K 3 0
bskinn
stdio-mgr

Context manager for mocking/wrapping stdin/stdout/stderr

1K 14 4
seba2390
executiontimer

Hierarchical execution timing for Python: nested sections, categories, asyncio and threads.

560 0 0
MathiasPaulenko
tmpkit

Ergonomic tempfile & tempdir context managers with auto-cleanup, atomic writes, async support, and zero dependencies.

547 0 0
devRMA
python-stopwatch2

A simple stopwatch for measuring code performance with static typing.

520 4 2
man8
easylimit

A simple, precise Python rate limiter with built-in context manager support for hassle-free API throttling.

443 1 0
nowledge-co
browse-now

Memory and context manager just works.

383 319 15
TechnoBro03
pyeventic

A high-performance, strongly-typed event library for Python.

232 6 0
tybruno
zombie-py

Raising Exceptions From the Dead by Re-raising Them With New Exception Types

223 1 0
coldbricks
aftercare

Teardown orchestration: reverse-order cleanup with success logging.

189 0 0
hermes-labs-ai
forgetted

forgetted is a Python library for selective memory governance in AI agents: a context-managed window where the agent keeps full read access but its writes to memory files, session logs, deliverables, and an optional vector store vanish and are cleaned up on exit.

184 3 0
inderdevbhumi82-prog
py-stepchain

Composable step orchestrator for Python. Write clean, declarative pipelines for synchronous and asynchronous workflows — with retries, validation, logging, and hooks — all in a tiny, dependency-free package.

148 1 0
LemonPi
window-recorder

Programatically video record a window as a context manager

141 11 2
TechnoBro03
gitlogger-cli

A high-performance, strongly-typed event library for Python.

124 6 0
leether
ctxmgr

工作区上下文管理工具 - 专为多项目并行开发设计

123 0 0
gmagannaDevelop
tidycsv

A minimalistic solution to messy CSV files.

120 3 0
coldbricks
buzzkill

Haptic/BLE emergency-stop helper: guaranteed shutdown callbacks.

118 0 0
JOIVY
gaesd

Capture and dispatch Stack-Driver compatible traces using a pure python implementation with a pythonic api: context-managers, thread-locals (for web requests) and method decorators. The full patchTraces API is supported. Uses the `google_api_python_client` and `oauth2client` libraries under the hood and easily usable on AppEngine if these libraries are vendored-in. Documentation can be found here: https://gaesd.readthedocs.io/en/latest/

107 1 0
ertgl
stackholm

Stack based context managers.

85 4 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology