youknowone / methodtools
Expand functools features(lru_cache) to class - methods, classmethods, staticmethods and even for (unofficial) hybrid methods.
☆81Updated 7 months ago
Alternatives and similar repositories for methodtools:
Users that are interested in methodtools are comparing it to the libraries listed below
- pytest plugin for testing mypy types, stubs, and plugins☆111Updated 2 months ago
- Re-apply type annotations from .pyi stubs to your codebase.☆142Updated 2 years ago
- FrozenList is a list-like structure that implements collections.abc.MutableSequence and can be made immutable.☆100Updated last week
- Pytest plugin for trio☆55Updated 7 months ago
- String case converter for python.☆208Updated last year
- Operator overloading for fast anonymous functions.☆50Updated last month
- Helpers to use cachetools with async functions☆98Updated last year
- A library to handle automated deprecations☆92Updated 2 years ago
- A Python Enum that inherits from str.☆118Updated last year
- Deserialize to objects while staying DRY☆158Updated last year
- MIGRATED TO CODEBERG. Python library to load dynamically typed data into statically typed data structures☆259Updated 6 months ago
- Dynamically create python functions with a proper signature.☆124Updated 6 months ago
- itertools and builtins for AsyncIO and mixed iterables☆255Updated 4 months ago
- A simple immutable dictionary for Python☆154Updated last month
- Check for python builtins being used as variables or parameters☆116Updated 10 months ago
- flake8 plugin which checks that typing imports are properly guarded☆48Updated 2 weeks ago
- Typing-toolbox for Python 3 _and_ 2.7 w.r.t. PEP 484.☆200Updated last year
- Ordered Set implementation in Cython☆74Updated 5 years ago
- Type stubs for the lxml package☆46Updated 10 months ago
- Sniff out which async library your code is running under☆133Updated last year
- A fast and thorough lazy object proxy.☆255Updated 4 months ago
- ☆45Updated 4 years ago
- Idiomatic asyncio utilties☆158Updated last week
- Decorator which checks whether the function is called with the correct type of parameters.☆110Updated 3 months ago
- Turn Pydantic defined Data Models into CLI Tools☆150Updated 6 months ago
- A simple immutable mapping for python☆113Updated 3 years ago
- extracted --boxed from pytest-xdist to ensure backward compat☆70Updated 3 months ago
- A fast and flexible reimplementation of data classes☆84Updated 2 years ago
- Redis fixtures and fixture factories for Pytest.This is a pytest plugin, that enables you to test your code that relies on a running Redi…☆103Updated last week
- Typical: Fast, simple, & correct data-validation using Python 3 typing.☆180Updated 7 months ago