Skip to main content

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

Release files for composition 8675309

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

Source distribution (sdist)

Source distribution for composition 8675309
File Size Uploaded
composition-8675309.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for composition 8675309
File Interpreter ABI Platform
composition-8675309-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 7.0 kB

Release files / composition-8675309.tar.gz

Download URL composition-8675309.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
31a048743709d4a874b7e8d5382a078ad75ded57ea4006d747390d5781032ad8
BLAKE2b-256 checksum
How to use checksums
b56860edfca9513d756654192862ae88453489044977a8a4cb84078733c3ea32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release files / composition-8675309-py2.py3-none-any.whl

Download URL composition-8675309-py2.py3-none-any.whl
Size 3.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0f9b0afd51a219ec0161f563d26081eff4ea670604ec64f7e784bfd7d0dd7752
BLAKE2b-256 checksum
How to use checksums
318c5e621a911882f4e046d2601ac28526be1ddb2bf69af80fa00220ce7df612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

8675309 This release

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