PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Decorator Python Packages

Python packages with the GitHub topic decorator. Sorted by monthly downloads, with stars and forks.
smarie
makefun

Dynamically create python functions with a proper signature.

13.7M 135 18
kata198
func-timeout

Python module which allows you to specify timeouts when calling any existing function, and support for stoppable threads

7.5M 327 37
bitranox
wrapt-timeout-decorator

Python Powerful Timeout Decorator that can be used safely on classes, methods, class methods

1.3M 164 16
smarie
decopatch

python decorators made easy.

1.3M 25 5
lonelyenvoy
memoization

A powerful caching library for Python, with TTL support and multiple algorithm options.

1.2M 246 15
smarie
pytest-cases

Separate test code from test cases in pytest.

799K 378 42
Kemaweyan
singleton-decorator

A testable singleton decorator

632K 48 13
leshchenko1979
reretry

An easy-to-use but functional retry decorator in python

149K 25 2
python-cachier
cachier

Persistent, stale-free, local and cross-machine caching for Python functions.

145K 665 75
FelixTheC
strongtyping

Decorator which checks whether the function is called with the correct type of parameters.

90K 121 5
AhsanSheraz
pyresilience

Unified resilience patterns for Python — retry, circuit breaker, timeout, fallback, bulkhead, rate limiter, and cache in one decorator. Python's Resilience4j.

65K 78 1
smarie
pytest-steps

A tiny package to ease the creation of test steps with shared intermediate results/state.

55K 56 7
ionelmc
aspectlib

An aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.

47K 134 15
rsokl
custom-inherit

A Python package that provides tools for inheriting docstrings in customizable ways.

25K 64 14
conformist-mw
django-query-counter

Count Django SQL queries and surface duplicate (N+1) and slow ones in the console — works as a decorator (management commands, tasks, views) or as middleware

21K 24 3
gahjelle
pyplugs

Decorator based plugin architecture for Python

18K 70 3
python-useful-helpers
logwrap

logwrap is a helper for logging in human-readable format function arguments and call result on function call

16K 14 3
rominf
module-wrapper

Module wrapper Python library

16K 5 2
enricobacis
limit

python decorator that limits the calling rate of a function

11K 18 3
whisperity
unter

📟🔃 A Python module of decorators to allow base classes to selectively hijack and invert inheritance and overriding, enforcing the primacy of a base implementation even in the face of derived overriding classes

7K 0 0
CarrotManMatt
typed-classproperties

Typed Python decorators for classproperty and cached_classproperty

4K 5 0
karlicoss
cachew

Transparent and persistent cache/serialization powered by type hints

4K 236 5
34j
cm-time

A simple context manager and decorator that measures time using perf_counter()

4K 1 1
vertti
daffy

Lightweight DataFrame validation decorators for Pandas, Polars, Modin, and PyArrow. No custom types required.

4K 59 5
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology