Skip to main content

A STOMP client with message definitions via Pydantic

Project description

Pigeon logo

GitHub Actions Workflow Status Documentation Status PyPI - Version

Pigeon

Pigeon is a combination of a STOMP client, and a message definition system using Pydantic models.

Message Definitions

Messages are defined by writing a Pydantic model for each topic. These messages can be registered at runtime, or placed in a Python package and automatically loaded when Pigeon is imported using an entrypoint.

Logging

When a Pigeon client is instantiated, a logger is created. If desired, logs can also be sent to Grafana Loki by setting environment variables.

Variable Documentation
LOKI_URL The URL of the location of the Loki Server
LOKI_TAGS A mapping using colons to split tags and values, and commas to separate pairs
LOKI_USERNAME The username to use when connecting to the server
LOKI_PASSWORD The password to use when connecting to the server
LOKI_VERSION The version of the Loki Emitter to use

Templates

To ease the creation of services using Pigeon, a Cookiecutter template is available. Similarly, a template for a message definition package is available.

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

pigeon_client-3.0.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

pigeon_client-3.0.2-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file pigeon_client-3.0.2.tar.gz.

File metadata

  • Download URL: pigeon_client-3.0.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pigeon_client-3.0.2.tar.gz
Algorithm Hash digest
SHA256 3648da64c62a66766c0c71bc6f92ccb69eea5b080f9ad641d0ee429387fb1535
MD5 c00c84d663f3c9a1b587007cf97525cf
BLAKE2b-256 7c1248aa4ca0a00951897170eea5c92373dad2950e173590f3e654e7fbeab2ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for pigeon_client-3.0.2.tar.gz:

Publisher: main.yaml on TilEM-project/pigeon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pigeon_client-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: pigeon_client-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pigeon_client-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64bd96b01936c23bd6c5ed6eac87c87e36b1fd6aef5e418de4f71ae97f077459
MD5 a04eb8cf24af3b50788024f0bb0add89
BLAKE2b-256 a946ba01e70e4b7a2fed8992582d5e14e082820a36b1fad9495bd1465c435178

See more details on using hashes here.

Provenance

The following attestation bundles were made for pigeon_client-3.0.2-py3-none-any.whl:

Publisher: main.yaml on TilEM-project/pigeon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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