Decoratory

The decoratory package provides a Python implementation of some classical decorators. It is based on the Decorator Arguments Template, an integrated concept for Python decorators with and without parameters. All decorators created with it support complex arguments, e.g. lists of values and functions, without unnecessarily complicating the decoration of simple cases by these extensions.

This way, quickstarters simply install the decoratory package from PyPI.org and check out the following code examples:

More background on these implementations and the underlying Decorator Arguments Template of the decoratory package is discussed in the following two sections:

In the first section, a Decorator Unification Protocol is formulated, which allows an uniform treatment of decorators with and without parameters. This Protocol is then implemented step by step and a Decorator Arguments Template is derived that serves as a basis for the implementation of all decorators of the decoratory package, explained and provided for download in the second section.

  1. Python Decorator Arguments Template

  2. Python Decorator Implementations

The decoratory package is for free and distributed under the MIT License, also included within the download package on PyPI.org as well as from Downloads on this site. It comes without any warranty, but with the intention of saving work, time and improving code quality as well as productivity.

All kinds of bugs, questions, improvement suggestions, change requests etc. are welcome to be directed to the product maintainers email address.


◄ prev

up

next ►

Legal Notice

Privacy Policy

Cookie Consent

Sphinx 7.2.6 & Alabaster 0.7.12

© Copyright 2020-, Martin Abel, eVation. All Rights Reserved.