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.3.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.3.0
File Size Uploaded Provenance Actions
pigeonholes-0.3.0.tar.gz 15.5 kB Without provenance Details for pigeonholes-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 34.2 kB

Release files / pigeonholes-0.3.0.tar.gz

Download URL pigeonholes-0.3.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6ee193be7315c8fe6a54fa4392ebde6ece3ed9cd6adef457e8bed0a937d71972
BLAKE2b-256 checksum
How to use checksums
0d4a3acda3ce5791d9c1579c7a61de6c7be1e596f37e4db4cb2a84e0ce3952ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

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

Security for pigeonholes 0.3.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