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.
Source Distribution
propobject-0.1.3.tar.gz
(3.4 kB
view details)
File details
Details for the file propobject-0.1.3.tar.gz
.
File metadata
- Download URL: propobject-0.1.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad51a5d1b4f3fd4c1784586b6a5a0d8d016e3585d3ef31f7215263a30bedf31 |
|
MD5 | 9f1d9743e9f1ce743aabc2186b2eff9d |
|
BLAKE2b-256 | 8129d9753f90dec9b666ddd597edf486d98b323f576fcf47b108b4870bda789d |