Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 pydecorator

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.2
Filename, size File type Python version Upload date Hashes
Filename, size decorpy-0.2.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page