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

15K 52 1
seba2390
executiontimer

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

3K 0 0
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+

2K 7 0
pomponchik
instld

The simplest package management

2K 129 1
bskinn
stdio-mgr

Context manager for mocking/wrapping stdin/stdout/stderr

1K 14 4
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.

588 3 0
Friskes
capture-db-queries

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

541 3 0
man8
easylimit

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

524 1 0
devRMA
python-stopwatch2

A simple stopwatch for measuring code performance with static typing.

483 4 2
MathiasPaulenko
tmpkit

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

473 0 0
nowledge-co
browse-now

Memory and context manager just works.

385 294 14
tybruno
zombie-py

Reraising Exceptions Back From the Dead As New Exceptions.

193 1 0
EliahKagan
subaudit

Subscribe and unsubscribe for specific audit events

125 2 1
coldbricks
aftercare

Teardown orchestration: reverse-order cleanup with success logging.

115 0 0
gmagannaDevelop
tidycsv

Tired of having pseudo CSV files full of invalid entries ? Me too, this is my solution.

108 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.

102 1 0
TechnoBro03
pyeventic

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

102 6 0
TechnoBro03
gitlogger-cli

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

102 6 0
leether
ctxmgr

工作区上下文管理工具 - 专为多项目并行开发设计。让你的大脑专注于创造,而不是记忆。

95 0 0
coldbricks
buzzkill

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

94 0 0
soda480
single-line

A context manager to facilitate printing messages to the same line.

80 0 0
LemonPi
window-recorder

Programatically video record a window with a python context manager in Linux

76 11 2
ertgl
stackholm

Zero-copy stack-based context data management library.

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