Skip to main content

rabbit-sim

A single-binary, in-memory AMQP 0-9-1 broker for local development. Point any RabbitMQ client at it.

pip install rabbit-sim        # or: pipx install rabbit-sim / uvx rabbit-sim
rabbit-sim --port 5672 -v

# or from source
cargo run --release -- --port 5672 -v
# amqp://guest:guest@127.0.0.1:5672/
# web UI + API: http://127.0.0.1:15672/   (--http-port 0 to disable)

Supported

  • Exchanges: direct, fanout, topic, headers, plus exchange-to-exchange bindings; default exchange and amq.*
  • Queues: declare (passive, exclusive, auto-delete, server-named), bind/unbind, purge, delete (if-unused/if-empty)
  • Publish (mandatory + basic.return), publisher confirms, basic.get, consume/cancel, ack/nack/reject/recover
  • basic.qos prefetch (applied per channel), round-robin dispatch, redelivery on channel/connection close
  • Heartbeats, consumer cancel notification, RabbitMQ-style channel/connection errors

Persistence (optional)

By default everything is in memory. With --data broker.db, state is saved to a SQLite file and restored on start, using RabbitMQ's rules: durable exchanges, durable non-exclusive queues, bindings between durable things, and messages published with delivery_mode=2 into durable queues. Everything else stays transient. Writes go through a background thread in batched transactions (WAL, synchronous=NORMAL), and Ctrl-C/SIGTERM flushes before exit. Messages unacked when the process stops come back as ready. Note: the broker still holds all messages in RAM; the file is for durability, not for paging.

Management

GET / serves a one-page UI (auto-refreshes every 2s, with a purge button per queue). JSON: GET /api/{overview,queues,exchanges,bindings,connections}, and DELETE /api/queues/%2F/{name}/contents to purge. Read-only otherwise, no auth.

Not supported (by design)

  • Persistence, clustering, fault tolerance: everything lives in memory and dies with the process
  • Auth (any credentials accepted), vhosts (all share one), TLS
  • Transactions (tx.* returns NOT_IMPLEMENTED), TTL/max-length/dead-lettering/priority/quorum/streams

Metadata

Release files for rabbit-sim 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for rabbit-sim 0.1.0
File Actions
rabbit_sim-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for rabbit_sim-0.1.0-py3-none-win_amd64.whl
rabbit_sim-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for rabbit_sim-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
rabbit_sim-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for rabbit_sim-0.1.0-py3-none-macosx_11_0_arm64.whl
rabbit_sim-0.1.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for rabbit_sim-0.1.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 5.8 MB

Release files / rabbit_sim-0.1.0-py3-none-win_amd64.whl

Download URL rabbit_sim-0.1.0-py3-none-win_amd64.whl
Size 1.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3252eba3590470fc1ac77c3f19d961b5bc95acc0839c0382495d4d96984d78c5
BLAKE2b-256 checksum
How to use checksums
e8b858f95db26dc90e94f657b8ea036e684358bdb0d60410b63eb2883da7d911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / rabbit_sim-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL rabbit_sim-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
2a93c5ccc88599a95f7efb05d19004f1bc0186b2931c10d989d4e9b92ad72152
BLAKE2b-256 checksum
How to use checksums
146340f836023bbeca97fe12deea00c3014e05f0f2567a528378b1f6eab5d494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / rabbit_sim-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL rabbit_sim-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 1.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6099a04a7e8c8e2930947677bc5075193473a2ff6a027c5ef4873bdd3faf556a
BLAKE2b-256 checksum
How to use checksums
411c163116721ac46010b3293efadb9961078df1fb21dfed00f84d5879eb8ddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / rabbit_sim-0.1.0-py3-none-macosx_10_12_x86_64.whl

Download URL rabbit_sim-0.1.0-py3-none-macosx_10_12_x86_64.whl
Size 1.5 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
23d775283351dfb67af7a0463892676b9369e4fe7f7992767515f9db77342def
BLAKE2b-256 checksum
How to use checksums
2e05244f9d402028f5e0391817b943b749ca479bf7fe72bcfa93a7aeff9ab685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for rabbit-sim 0.1.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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for rabbit_sim-0.1.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

4 release files Full provenance

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