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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file composition-8!6.75309.tar.gz.

File metadata

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

File hashes

Hashes for composition-8!6.75309.tar.gz
Algorithm Hash digest
SHA256 27e2fec480bd45786961fa670bbf0957443b145528d36081a6013078eba913c9
MD5 6a67654761a4e5a1c509af47e573fc58
BLAKE2b-256 f1c08adbc27da390914e78074755b57902d50625355a042d812c91c642270528

See more details on using hashes here.

File details

Details for the file composition-8!6.75309-py2.py3-none-any.whl.

File metadata

  • Download URL: composition-8!6.75309-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.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

File hashes

Hashes for composition-8!6.75309-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8511b08dbb52ae53d2520c22c1209bb193cb193a4a7c287f2ad08181d2d58b81
MD5 b18351195069b9e9d2e0ed8d990d9bd8
BLAKE2b-256 81752f930ffa103cb0fbad6057f862663af0963a84f2f396151996dec610b2e4

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