fasten-0.0.5
توضیحات
Fasten Plug-ins basic interface
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fasten-0.0.5 |
| نام | fasten |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fasten/ |
| مجوز | - |
fasten-python-plugins
=====================
This package provides a template for creating FASTEN plug-ins.
It composed of two abstract classes; `FastenPlugin` and `KafkaPlugin`.
`FastenPlugin` implements logging methods `err` and `log`, and specifies
abstract methods abstract methods for declaring the metadata of a FASTEN
plug-in. `KafkaPlugin` implements the methods `set_consumer`, `set_producer`,
`create_message`, `emit_message`, and `consume_messages`. It also declares
the abstract method `consumes`.
An example is provided in the `demo` directory.
Install
-------
```
pip install fasten
```
Usage
-----
```python
from fasten.plugins.kafka import KafkaPlugin
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.0.1 | kafka-python |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.4, <4 | Python |
نحوه نصب
نصب پکیج whl fasten-0.0.5:
pip install fasten-0.0.5.whl
نصب پکیج tar.gz fasten-0.0.5:
pip install fasten-0.0.5.tar.gz