skip to navigation
skip to content

friendly_name_mixin 1.0.1

Mixin class for extracting friendly names from classes

About

Mixin class for extracting friendly names from classes.

Continuous integration is powered by Jenkins.

Installation

To install friendly_name_mixin run:

$ pip install friendly_name_mixin

Usage example

>>> from friendly_name_mixin import FriendlyNameFromClassMixin

>>> class IsHTML5BetterThanFlash11OrIsItMe(FriendlyNameFromClassMixin):
...     answer = 'yes'

>>> print IsHTML5BetterThanFlash11OrIsItMe().name
Is HTML5 Better Than Flash11 Or Is It Me

Contribute

If you find any bugs, or wish to propose new features please let me know.

If you’d like to contribute, simply fork the repository, commit your changes and send a pull request. Make sure you add yourself to AUTHORS.

 
File Type Py Version Uploaded on Size
friendly_name_mixin-1.0.1.zip (md5) Source 2013-09-30 11KB