Skip to main content

amgi-pulsar

amgi-pulsar is an AMGI compatible server project, supporting running AMGI applications against Apache Pulsar topics.

The server consumes messages from a shared subscription, which is created if it does not exist. The subscription type can be configured with consumer_type; Shared (the default) provides no ordering guarantees between consumers, while Exclusive, Failover and KeyShared are also available. Messages are only acknowledged when the application sends a message.ack event; a message.nack event triggers a redelivery. Messages that remain unacknowledged for longer than unacked_messages_timeout_ms (30000 by default) are also redelivered.

Installation

pip install amgi-pulsar==0.47.0

Example

This example uses AsyncFast:

from dataclasses import dataclass

from amgi_pulsar import run
from asyncfast import AsyncFast

app = AsyncFast()


@dataclass
class Order:
    item_ids: list[str]


@app.channel("order.topic")
async def order_topic(order: Order) -> None:
    # Makes an order
    ...


if __name__ == "__main__":
    run(app, "order.topic")

Or the application could be run via the commandline:

asyncfast run amgi-pulsar main:app order.topic

Contact

For questions or suggestions, please contact jack.burridge@mail.com.

License

Copyright 2025 AMGI

Metadata

Release files for amgi-pulsar 0.51.0

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

Built distribution (wheel)

Table of built distributions (wheels) for amgi-pulsar 0.51.0
File Interpreter ABI Platform
amgi_pulsar-0.51.0-py3-none-any.whl Python 3 none any Details

Release files / amgi_pulsar-0.51.0-py3-none-any.whl

Download URL amgi_pulsar-0.51.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88612be9bd8e141678edc783692eb848f075d7f657ef8fe3107397bab8bc1da8
BLAKE2b-256 checksum
How to use checksums
afa11b61e831f21a72fb41c7f74d66a9b32a8ccf720786c89614d2f5cb1e4f0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for amgi-pulsar 0.51.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.

Release history Release notifications | RSS feed

This release

0.51.0 This release

1 release file No 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