Fasten Plug-ins basic interface
Project description
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
from fasten.plugins.kafka import KafkaPlugin
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fasten-0.0.5.tar.gz.
File metadata
- Download URL: fasten-0.0.5.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6df559819f329f8b9e8a55c7833a2c37f3d26dd08dd6ad9320ffc503f492cb4
|
|
| MD5 |
573109e9bafc87de055343a73b325c7e
|
|
| BLAKE2b-256 |
cd8acd67e8a50464cf9ae70b99f2acae455f7e72d3e58e46a8f4c75156dee767
|
File details
Details for the file fasten-0.0.5-py3-none-any.whl.
File metadata
- Download URL: fasten-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ea8514727f300df46d9bd4d888975b0990e7198724b5f334faa3a322f03da70
|
|
| MD5 |
19250cc56a4d057093b4ee2706dc535e
|
|
| BLAKE2b-256 |
cbffd2b58ddcf78983ed3b97ba2bfde280166250475f9bdbee6d918a3fefb3e3
|