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-8675309.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

composition-8675309-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: composition-8675309.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for composition-8675309.tar.gz
Algorithm Hash digest
SHA256 31a048743709d4a874b7e8d5382a078ad75ded57ea4006d747390d5781032ad8
MD5 3b084d03383284feb9120a7188d17a57
BLAKE2b-256 b56860edfca9513d756654192862ae88453489044977a8a4cb84078733c3ea32

See more details on using hashes here.

File details

Details for the file composition-8675309-py2.py3-none-any.whl.

File metadata

  • Download URL: composition-8675309-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for composition-8675309-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f9b0afd51a219ec0161f563d26081eff4ea670604ec64f7e784bfd7d0dd7752
MD5 df758c6f5675e4ac12656fbe23bf0542
BLAKE2b-256 318c5e621a911882f4e046d2601ac28526be1ddb2bf69af80fa00220ce7df612

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