Metadata-Version: 2.1
Name: composition
Version: 8675309
Summary: What You Crave
Home-page: https://github.com/Julian/composition
Author: Julian Berman
Author-email: Julian+ButDontSendMeEmailsAboutThisOne@GrayVines.com
License: UNKNOWN
Project-URL: Source, https://github.com/Julian/composition
Project-URL: Issues, https://github.com/Julian/composition/issues/
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Description-Content-Type: text/x-rst
Requires-Dist: forbiddenfruit (!=0.1.3)

===========
composition
===========

|PyPI| |Pythons| |CI| |Codecov|

.. |PyPI| image:: https://img.shields.io/pypi/v/composition.svg
  :alt: PyPI version
  :target: https://pypi.org/project/composition/

.. |Pythons| image:: https://img.shields.io/pypi/pyversions/composition.svg
  :alt: Supported Python versions
  :target: https://pypi.org/project/composition/

.. |CI| image:: https://github.com/Julian/composition/workflows/CI/badge.svg
  :alt: Build status
  :target: https://github.com/Julian/composition/actions?query=workflow%3ACI

.. |Codecov| image:: https://codecov.io/gh/Julian/composition/branch/master/graph/badge.svg
  :alt: Codecov Code coverage
  :target: https://codecov.io/gh/Julian/composition


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:

.. code-block:: python

    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


