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!


Project Description

## Also
Ever had lots of methods that do the same thing?!
You want to set them to the same thing but dont want to do something lame like
def method(self):

othermethod = method

Rather you want to do it with style like

def method(self):

Then do I have a solution for you!

## Installation
pip install also

## Usage
from also import also, AlsoMetaClass

class Foo:
__metaclass__ = AlsoMetaClass

def getthing(self):
return 'go bears'

foo = Foo()
assert (foo.getthing() == foo.get_thing() ==
foo.getThing() == 'go bears')

Release History

This version
History Node


History Node


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
(1.3 kB) Copy SHA256 Hash SHA256
Source None Aug 30, 2012

Supported By

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 Google Google Cloud Servers