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.
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
File details
Details for the file friendly_name_mixin-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: friendly_name_mixin-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0769cffb0b7e2394d2abad588f8fd4a442c3326a62e3a43714ff3685b550022 |
|
MD5 | 9260f13a7aad2ede2decf8417995e0e6 |
|
BLAKE2b-256 | 257b7bdb9a7ca1993a0a635e6788f970604deab69abbc3e3d5ce296cc9a1fd6e |