Skip to main content

Messaging module of Project Thoth

Project description

This provides a library called thoth-messaging used in project Thoth. It is a basic module to encapsule all messaging (here it is Kafka via Faust) primitives.

Message Factory

For the purposes of Thoth we have a few of our custom messages defined within the messaging module. However, we wanted to allow individuals to be able to use our module without having to add their own messages first. For testing and development purposes you can use message_factory(…) which allows you to create arbitrary messages using thoth-messaging using the following syntax:

` message_factory(t_name=<str>, message_contents=<dict<str, type>>, [num_partitions=<int>], [replication_factor=<int>]) ` bracketed arguments are optional.

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

thoth-messaging-0.3.7.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

thoth_messaging-0.3.7-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file thoth-messaging-0.3.7.tar.gz.

File metadata

  • Download URL: thoth-messaging-0.3.7.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/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for thoth-messaging-0.3.7.tar.gz
Algorithm Hash digest
SHA256 2c9ed9840a30129958fbff5fd8ca820c3b844cb60ec6ef3572616b76a6e90b7c
MD5 5cb7433777421a3bf02f862d659543fc
BLAKE2b-256 ee79e6e5e61f813261a347286d1e9ae9c8de3160f5304137b13516cd8eea13a0

See more details on using hashes here.

File details

Details for the file thoth_messaging-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: thoth_messaging-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for thoth_messaging-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f02d77caba1573571733e070d0f52be25ffa698be0e61009289d3921a20f6350
MD5 6e17caf48eea8191aeddde1d0018dc32
BLAKE2b-256 e56c6ebcec87b5a0f7df571c047b77ac1b63d1882d09af5c2b447510655f1e1d

See more details on using hashes here.

Supported by

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