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.1.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.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigeon_client-3.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 110d92679bc822da862d8b775f9adb7b3e661e614e96a1783bf396fde3b10e63
MD5 0981d58206867d6b6cd7662fec4dbc7b
BLAKE2b-256 39102d3c55eda6643a2d5b357fe870976d1e35e8fd778bae257a1dbdaa0a82c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pigeon_client-3.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: pigeon_client-3.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7bc71cd00967b1026140c6af3ea7e5fc98426b7e8d29b443e4b5c1b4802b6e17
MD5 7feb5f0a982c8e5690fe61b3c0eb075f
BLAKE2b-256 94ad2b23af28ac19b2f809ece319940cc86ebf4c454e01a3ece4f2546a58295f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pigeon_client-3.0.1-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