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 Distribution

friendly_name_mixin-1.0.1.zip (12.0 kB view details)

Uploaded Source

File details

Details for the file friendly_name_mixin-1.0.1.zip.

File metadata

File hashes

Hashes for friendly_name_mixin-1.0.1.zip
Algorithm Hash digest
SHA256 576c0efa9ee79e8814f405ef23e4dede864405268715504fa2097102e48a7b5f
MD5 f52615cde383c2f9378b3296a08c6ee0
BLAKE2b-256 c07a5b00622f6df06f5c35371c8f230c4a72e2f02c7ef56e17ef53f25a916f4f

See more details on using hashes here.

Supported by

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