Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Hashes for matildapeak_chronicler_transmitter-2019.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5d5176420babf31b22ccd8a3cdd8a6ea52a96744aa71b91b0176dfde6482ce47
MD5 a8c6fc20584ae9b6e2f8f15a15cbdfad
BLAKE2b-256 08e73e6a46569860f0980d9260601f5dfbf59d0a9b8c4b84a1c606604207e926

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page