Skip to main content

Mixin class for extracting friendly names from classes

Project description

About

Mixin class for extracting friendly names from classes.

Continuous integration is powered by Jenkins.

http://ci.petarmaric.com/job/friendly_name_mixin/badge/icon

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

friendly_name_mixin-2.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page