Skip to main content

A package exposing a collection of ready-to-use python decorators.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for decorpy, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size decorpy-0.3-py3-none-any.whl (14.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size decorpy-0.3.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page