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.

Source Distribution

decorpy-0.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decorpy-0.3-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file decorpy-0.3.tar.gz.

File metadata

  • Download URL: decorpy-0.3.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.4

File hashes

Hashes for decorpy-0.3.tar.gz
Algorithm Hash digest
SHA256 827b0c183268d5fd236b8c6f3547f44ac5cdca62383eed70185548d298034140
MD5 0590c1cbb88080d9c1000ecf9f41bde8
BLAKE2b-256 e4e81bf3ecd308efb12bd577757a1111dc19dab2ad8599bdd49e9f68ab5afa65

See more details on using hashes here.

File details

Details for the file decorpy-0.3-py3-none-any.whl.

File metadata

  • Download URL: decorpy-0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.4

File hashes

Hashes for decorpy-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 405c923f7b5d69a1ab795a3904e25a9486891b15ae9798d03262131f5dda4d47
MD5 608c020d643d6739819dabce2acc96d5
BLAKE2b-256 8476fcb9e61ab91c6e6de5fd9ddd00300791a3d7a3b84ea816db4de0cfdacea0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page