Skip to main content

What You Crave

Project description

Hi mature software developer!

You have decided inheritance isn’t your cup of tea?

Well have we got the thing for you!

This module does one thing:

import composition

class Superclass(object):
    pass

class ThisWillGoBoom(Superclass):
    pass

Enjoy. This is mature software, put it in production, and let it drive your car.

Installation

$ pip install composition

of course. Python 3.6+ only though, sorry kids.

Wait Wat?

https://en.wikipedia.org/wiki/Composition_over_inheritance

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

composition-86753.0.9.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

composition-86753.0.9-py2-none-any.whl (3.3 kB view details)

Uploaded Python 2

File details

Details for the file composition-86753.0.9.tar.gz.

File metadata

File hashes

Hashes for composition-86753.0.9.tar.gz
Algorithm Hash digest
SHA256 b9e038ae1a62b993a90f30021d2ee9afeedd7a6974f58711050dc2035e260602
MD5 511a65c4c6b0dfe2d8630c1a01eea78e
BLAKE2b-256 f9217277456f4e052b131c95fd5000e794fe6a5707514eb4b0648871099e6c02

See more details on using hashes here.

File details

Details for the file composition-86753.0.9-py2-none-any.whl.

File metadata

File hashes

Hashes for composition-86753.0.9-py2-none-any.whl
Algorithm Hash digest
SHA256 d241a4b5ae4fa331bdb3a1e41494351f3358a012c2cf455ff2afdc939327bc77
MD5 9431e7a5df2edbe1a06437d45225c34c
BLAKE2b-256 f93a859aefa147523a1dbc0be4c4834488e858309d19419c2b1cf536c0165ce1

See more details on using hashes here.

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