Utilities for Chronicler event delivery
Project description
The matildapeak-chronicler-transmitter module is a set of utilities employed by Matilda Peak’s Emergent Behaviour Platform.
Chronicler Transmitter
This class provides basic payload transmission to Chronicler and is used by Garten and other data adapters to feed Chronicler with processable data. The payload is a keyword-value dictionary that is passed to connected Patterneer Runners encapsulated in a Protocol Buffer object.
For convenience The class provides a synchronous posting method (post()) and an asynchronous posting method (post_async()) but you’re advised to use one or the other, not mix them in a single application.
Typical usage:
from matildapeak.chronicler_transmitter import ChroniclerTransmitter ct = ChroniclerTransmitter(URL, RESOURCE, APP_ID, APP_CODE) ct.post_async({'field': 'value'}) ct.stop_async()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for matildapeak_chronicler_transmitter-2019.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d5176420babf31b22ccd8a3cdd8a6ea52a96744aa71b91b0176dfde6482ce47 |
|
MD5 | a8c6fc20584ae9b6e2f8f15a15cbdfad |
|
BLAKE2b-256 | 08e73e6a46569860f0980d9260601f5dfbf59d0a9b8c4b84a1c606604207e926 |