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

Uploaded Source

Built Distribution

composition-867530.9-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: composition-867530.9.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 PyPy/7.1.1

File hashes

Hashes for composition-867530.9.tar.gz
Algorithm Hash digest
SHA256 ac893d06c7837aeff05fc050247e96e929a4aaca5a0a648e8044695cb983bb3e
MD5 9af657c0d2dc607099c1812985a295f9
BLAKE2b-256 d728ca028a413d05d4482a75745bef8f2bfa723ee663676a642f5c2f514eeb85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: composition-867530.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 PyPy/7.1.1

File hashes

Hashes for composition-867530.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5abd2e804a0caacc6661865a43acda23932394fe90fa14fb54837d7286e1d472
MD5 eb6932f0b1e40872d84bd24d91442670
BLAKE2b-256 6968e186410be232dbe3c19674ccc865c8fec6fe8d94fe761c588db5dad7db05

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