Skip to main content

AMQPEz

Personal library for spinning up quick AMQP shoveling applications, which allows for mid-transit transforms, contrary to rabbitmq-shovel. See this Example.

Install

Simply run

pip3 install AMQPEz

Basics

Essentially you build your configuration

conf = AMQPEzConfigBuilder() \
        .add_connection_params("localhost") \
        .add_basic_credentials("guest", "guest") \
        .add_exchange("test_exchange") \
        .add_queue('test_queue') \
        .add_serializers(serialize, deserialize) \
        .add_task(lambda x: x+5) \
        .add_qos(1) \
        .build() 

And start your shovel, which runs the specified task (here we add 5).

amqpez = AMQPEz(conf)
try:
    amqpez.start()
except KeyboardInterrupt:
    amqpez.stop()

The consumer is quite similar to a very standard pika async consumer. It will include ISID tracking to tackle publish network timeouts in a future update. This also works seemlessly with protobuf, since you essentially plug all serialization.

Metadata

Release files for AMQPEz 1.0.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 AMQPEz 1.0.0
File Size Uploaded Provenance Actions
AMQPEz-1.0.0.tar.gz 4.0 kB Without provenance Details for AMQPEz-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.7 kB

Release files / AMQPEz-1.0.0.tar.gz

Download URL AMQPEz-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a6f07fd2bb17cebb15c1c0d9c55aa118d3ebea803b1a1b671eb97648d2a5a38a
BLAKE2b-256 checksum
How to use checksums
e279a7908ec23e1dece68b9b930653a4fbf4ac75f46df436441422337c0cbf8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release files / AMQPEz-1.0.0-py3-none-any.whl

Download URL AMQPEz-1.0.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1fc0e9886c1c64ee06ddc5b48857e871e72eae6ca897d065e8a4450fb8b2198
BLAKE2b-256 checksum
How to use checksums
3a89d24ae0d4a22ca26d438efa68c3a8438277e0f0558d821802dcadf7c43e5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Security for AMQPEz 1.0.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

1.0.0 This release

2 release files 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