jaraco.functools
Provides additional functools in the spirit of Python's standard library's functools. Current version: 4.4.0, released on December 21, 2025. Maintained by Jason R. Coombs. Requires Python 3.9 or higher. Release cadence: approximately every 3-4 months.
Warnings
- breaking FunctionType was moved from jaraco.functools to jaraco.types in version 4.0.0.
- deprecated The 'deprecated_function' is scheduled for removal in version 5.0.0.
Install
-
pip install jaraco.functools
Imports
- FunctionType
from jaraco.functools import FunctionType
Quickstart
from jaraco.functools import FunctionType
# Example usage of FunctionType
def example_function():
pass
print(isinstance(example_function, FunctionType)) # Output: True