Skip to main content

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.0.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page