composition-8675309
توضیحات
What You Crave
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | composition-8675309 |
| نام | composition |
| نسخه کتابخانه | 8675309 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Julian Berman |
| ایمیل نویسنده | Julian+ButDontSendMeEmailsAboutThisOne@GrayVines.com |
| آدرس صفحه اصلی | https://github.com/Julian/composition |
| آدرس اینترنتی | https://pypi.org/project/composition/ |
| مجوز | - |
===========
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
نیازمندی
| مقدار | نام |
|---|---|
| !=0.1.3 | forbiddenfruit |
نحوه نصب
نصب پکیج whl composition-8675309:
pip install composition-8675309.whl
نصب پکیج tar.gz composition-8675309:
pip install composition-8675309.tar.gz