Pimp your Class/Property/Methods with useful functionality
Project description
Pimp My Class
This library provides base classes to enable useful behavior in Python Objects.
The central purpose of the library is to extend python properties to allow:
get/set logging.
get/set timing, success and failure stats.
async locking.
get/set coercion and conversion.
value cache
prevent unnecessary set.
read once properties
But most importantly, it allows owner specific configurations. Properties are class attributes, and therefore it is difficult to have a property which is, for exampled cached, in an object but not cached in another instance of the same class.
The library also provides DictProperties: that is properties that can be accessed by key; and also methods!
Each capability is isolated in individual classes allowing you to pick only what you need.
Lantz-drivers Changelog
0.1.3 (2018-04-04)
Removed keyword argument from DictFeat signal for greater compatibility with Qt.
0.1.2 (2018-04-04)
Fixed repr in BoundedProperty.
0.1.1 (2018-03-28)
Fixed check_signature when params is empty.
0.1 (2018-03-23)
first public release.
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
File details
Details for the file pimpmyclass-0.1.3.tar.gz
.
File metadata
- Download URL: pimpmyclass-0.1.3.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc19ee93c563682eb0820e06292714f273bcfaf4ef2b2ab1cd05306ee1533e7f |
|
MD5 | d6362714f2738baaa88e5b62a04ce880 |
|
BLAKE2b-256 | df70e88aae11c15dda95d0ffe34510206448b529c98a7bc19f65b0571010783b |