Package for creating generic objects with transparent 'repr'
Project description
vyGeneric Library
vyGenericObjectRepr
from vyGeneric import vyGenericObjectRepr
- vyGenericObjectRepr(object) will return nice printable 'repr' for your objects
- If you inherit your class, say 'MyClass', from vyGeneric, then any object of MyClass, say 'myObject', prints all its hidden info when you call print(myObject)
vyGeneric
from vyGeneric import vyGeneric
- A generic class which uses vyGenericObjectRepr for repr
vyGenericDict
from vyGeneric import vyGenericDict
- A descendant of vyGeneric which can store items like a dictionary
vyGenericObjectRepr
from vyGeneric import vyGenericArray
- A descendant of vyGeneric which can store items like a list
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vyGeneric-0.0.2.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for vyGeneric-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56b31645c48eed7062e0d0c461c264e9d14b0514aa057507a18e124c4245bf9f |
|
MD5 | 291b177746361325ad3a789823c2d4b8 |
|
BLAKE2b-256 | fba1101b6a50df8a7ad23ff191b87d6850919338d3f1a7448748e9279ecd52d9 |