Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Easy_Decorator-1.2.tar.gz (1.3 kB) Copy SHA256 Checksum SHA256 Source Aug 9, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting