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.

Filename, size & hash SHA256 hash help File type Python version Upload date
propobject-0.1.3.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None Jan 24, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page