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 8!6.75309

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 8!6.75309
File Size Uploaded
composition-8!6.75309.tar.gz 3.8 kB Details

Built distribution (wheel)

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

Total release size: 7.0 kB

Release files / composition-8!6.75309.tar.gz

Download URL composition-8!6.75309.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
27e2fec480bd45786961fa670bbf0957443b145528d36081a6013078eba913c9
BLAKE2b-256 checksum
How to use checksums
f1c08adbc27da390914e78074755b57902d50625355a042d812c91c642270528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / composition-8!6.75309-py2.py3-none-any.whl

Download URL composition-8!6.75309-py2.py3-none-any.whl
Size 3.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8511b08dbb52ae53d2520c22c1209bb193cb193a4a7c287f2ad08181d2d58b81
BLAKE2b-256 checksum
How to use checksums
81752f930ffa103cb0fbad6057f862663af0963a84f2f396151996dec610b2e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

8!6.75309 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