Skip to main content

What You Crave

Project description

PyPI version Supported Python versions Build status Codecov Code coverage

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-8!6.75309.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

composition-8!6.75309-py2.py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 2 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