Skip to main content

Pigeonholes

Structured Routing for Unstructured Event Streams.

Format the payload, define the key, and let Pigeonholes handle the rest. A lightweight, asyncio-powered message consumer framework for modern cloud queues.

  • 📬 Postal Precision – Route messages seamlessly using typed routing keys, just like addressing a letter.
  • ⚡ Asyncio & Lightweight – Built for high performance on modern Python with zero unnecessary overhead.
  • ☁️ Cloud Native Ready – Native support for SQS long-polling (ECS) and AWS Lambda handlers out of the box.
  • 🚀 Lazy Loading & Codegen – Optimize startup times and Lambda cold starts with automated worker registry.

Philosophy

Pigeonholes is a simple message consumer framework, built on three principles.

  1. Explicit behavior. The framework never decides for you. ack has no default, and what happens to a failed message (on_error) is yours to write. What happened to a failed message is logged as a fact; why it happened is left to the handler that decided.
  2. Show the decisions that matter when using a message queue. Instead of adding freedom, Pigeonholes gives you the decision points as a small set of fixed choices: when to ack, whether to leave or delete a failed message, what to do with an unknown routing key, and whether a key may have more than one worker.
  3. Keep business logic apart from operations. A worker knows nothing about where it runs (ECS, Lambda), which broker feeds it, or which cloud it is on. Retry and dead-letter policy stay in the broker's configuration unless you explicitly decide otherwise in code.

See docs/user/pigeonholes.md for the manual.

Metadata

Release files for pigeonholes 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pigeonholes 0.2.0
File Size Uploaded Provenance Actions
pigeonholes-0.2.0.tar.gz 14.1 kB Without provenance Details for pigeonholes-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pigeonholes 0.2.0
File Interpreter ABI Platform Actions
pigeonholes-0.2.0-py3-none-any.whl Python 3 none any Details for pigeonholes-0.2.0-py3-none-any.whl

Total release size: 32.0 kB

Release files / pigeonholes-0.2.0.tar.gz

Download URL pigeonholes-0.2.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cf8b1a846750893c6d00be1a3da3a39f85e104c0b5ba548395b2bb15c178227d
BLAKE2b-256 checksum
How to use checksums
f0d9aed8f318063481bdcd6b0991dbfe2f6b6894913fe02e93995f973a457f46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pigeonholes-0.2.0-py3-none-any.whl

Download URL pigeonholes-0.2.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e031a885a064f986893ab66459c1ccfc091da898689c65b39ffe3765572c3c4
BLAKE2b-256 checksum
How to use checksums
22b915f4170100b6b40412bef74cee68a388faf978b29f3842008540777e7bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pigeonholes 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page