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
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 matildapeak_chronicler_transmitter-2019.3-py3-none-any.whl.
File metadata
- Download URL: matildapeak_chronicler_transmitter-2019.3-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d5176420babf31b22ccd8a3cdd8a6ea52a96744aa71b91b0176dfde6482ce47
|
|
| MD5 |
a8c6fc20584ae9b6e2f8f15a15cbdfad
|
|
| BLAKE2b-256 |
08e73e6a46569860f0980d9260601f5dfbf59d0a9b8c4b84a1c606604207e926
|