Skip to main content


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')

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
also-0.0.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