callableabc-1.1.0
توضیحات
A variant of ABC that allows customizing the call behavior via _class_call()
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | callableabc-1.1.0 |
| نام | callableabc |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Anselm Schüler <mail@anselmschueler.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/callableabc/ |
| مجوز | - |
# callableabc
This package implements a metaclass and convenience instance of it that works like `abc.ABC`, but allows you to customize what happens when the class object gets called by implementing a `_class_call()` classmethod.
Inherit from the convenience class `CallableABC` to get this behavior,
or use the metaclass `CallableABCMeta` directly.
The metaclass uses the `CallableABCMetaDict` dictionary subclass to keep track of the `_class_call()` method.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl callableabc-1.1.0:
pip install callableabc-1.1.0.whl
نصب پکیج tar.gz callableabc-1.1.0:
pip install callableabc-1.1.0.tar.gz