Skip to main content

Make objects with multiple inheritance with Python.

Project description

# Carehome A stupidly named package for creating MOO-style objects with Python.

Objects support multiple inheritance, properties, events, and methods. The resulting database can be dumped and loaded to and from dictionary objects.

## Events The following events are used throughout the code. Any other events which are baked into the main code base should be added here.

### on_init Called when the object is initialised.

#### Arguments None

### on_destroy Called before the object is destroyed, and the object is still valid.

#### Arguments None

### on_enter Called before an object enters another one.

#### Arguments

  • The thing which is moving into this object.

### on_exit Called before an object exits another.

#### Arguments

  • The object which is leaving.

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

carehome-1.1.6.tar.gz (16.6 kB view hashes)

Uploaded Source

Built Distribution

carehome-1.1.6-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

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