Skip to main content

Make decorators with a before and after function

Project description

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():

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Easy_Decorator-1.2.tar.gz (1.3 kB) Copy SHA256 hash SHA256 Source None

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