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.5.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

thoth_messaging-0.5.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thoth-messaging-0.5.0.tar.gz
  • Upload date:
  • Size: 5.0 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.5.0.tar.gz
Algorithm Hash digest
SHA256 33643aabdf38544dbcbeab6fbb3e6875a3ca87ff42a60de2a95c10e4c58a4d6d
MD5 cef694fc44018a0a5a5ff00069f6bf66
BLAKE2b-256 421b415ed1a012fb26debddc12a2f9cc2de7cf0995645bab16cc361a73b7eee1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thoth_messaging-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86dbc7f4c6929a1394dd46c586c4eff64ae9683fc03be2fb83a4edb5e9e0b3c0
MD5 3f67fb23d2c1d3d30c1419c280e87a23
BLAKE2b-256 e116f2954df2fcdfaaf85dd50862709c4471f7278b4ae94d20b3aecb0ffa4cef

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