skip to navigation
skip to content

Easy_Decorator 1.2

Make decorators with a before and after function

Simply make decorators with a before and after function.

Included Files

  • easyDecorator/ - Make decorators with a before and after function


Python must be installed in order for Menu to be imported. Install python at In the terminal type “cd path/to/this/directory” and then “python install”. This will add the menu module to your site-packages.

How to Use

Import eastDecorator:

from easyDecorator import easyDecorator as dec


import easyDecorator.easyDecorator as dec

Make a decorator with before/after functions:

newDecorator = dec.decorator(before=beforeFunction,after=afterFunction)

def someFunc():

Decorate a function that doesn’t accept arguments so that it can:

def funcWithoutArgs():
File Type Py Version Uploaded on Size
Easy_Decorator-1.2.tar.gz (md5) Source 2014-08-09 1KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 55 downloads in the last week
  • 296 downloads in the last month