Skip to main content

# 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 will be added here.

### on_init Called when the object is initialised.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy.

### on_attach Called when the object is attached to the database.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy.

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

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy.

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

#### Arguments * The new location of this object. * The thing which is moving into this object.

### on_exit Called before an object exits another.

#### Arguments * The old location of this object. * The object which is leaving.

### on_add_parent Called before a parent is added to this object.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy. * The parent which is being added.

### on_add_child Called before this object gains a child.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy. * The child which is being added.

### on_remove_parent Called before a parent is removed from this object.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy. * The parent which is being removed.

### on_remove_child Called before a child is removed from this object.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy. * The child which is being removed.

### on_add_property Called before a property is added to this object.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy. * The new Property instance.

### on_remove_property Called before a property is removed from this object.

#### Arguments * The object that is being initialised. This allows the event call to propagate up the object hierarchy. * The name of the old property.

Metadata

Release files for carehome 4.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carehome 4.1.1
File Size Uploaded
carehome-4.1.1.tar.gz 19.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for carehome 4.1.1
File Interpreter ABI Platform
carehome-4.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / carehome-4.1.1.tar.gz

Download URL carehome-4.1.1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9695a9aaa1bbc5c97752db0b85f0e7e55ba01c80d2f5e45172e0087b2a766296
BLAKE2b-256 checksum
How to use checksums
eda968cc3173d75145e38b05e770f065cb096976fda66b4f9eeea238bae54625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release files / carehome-4.1.1-py3-none-any.whl

Download URL carehome-4.1.1-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d75366a1ef7568191a6d46c47b19e63b1cd8506e98b60857b4f6d584e4b495d
BLAKE2b-256 checksum
How to use checksums
ff61055b5701352896695d25df5dad63cd259802aedf27c1d55260d474e1f4f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

4.1.1 This release

2 release files

3.1.1

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.0.0

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

1 release file

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page