propobject: Low level object to inherit from
Project description
Structure to handle the _proprerties, _side_properties, _derived_properties tricks.
A class inheriting from BaseObject could have the following global-class variables:
` PROPERTIES = ["a","b"] SIDE_PROPERTIES = ["t"] DERIVED_PROPERTIES = ["whynot"] ` if so, object created from this class or any inheriting class could have access to the self._properties[“a”], self._properties[“b”] self._side_properties[“t”] or self._derived_properties[“whynot”] parameters.
BaseObject have a basic .copy() method.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size propobject-0.1.3.tar.gz (3.4 kB) | File type Source | Python version None | Upload date | Hashes View |