Skip to content

alexZajac/decorpy

Repository files navigation

Decorpy

Travis Coverage Status Updates Python 3

A collection of python decorators including time measurement, type checking and debugging.

Installation

Install the package directly using Pip with Pypi

pip install decorpy

Or using git

git clone https://github.com/alexZajac/decorpy.git

cd decorpy

python setup.py install

Examples

Measure execution time of a function

Link to gist

Debugging a function with its signature and return value

Link to gist

Runtime type-checking on function parameters and return

Link to gist

[ ~ Dependencies scanned by PyUp.io ~ ]