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

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page