Metadata-Version: 2.1
Name: AMQPEz
Version: 1.0.0
Summary: Micro library to spin up AMQP shoveling with transforms
Home-page: https://github.com/frozaken/AMQPEz
Author: Marcus Teller
Author-email: marcumail@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/frozaken/AMQPEz/issues
Description: # AMQPEz
        Personal library for spinning up quick AMQP shoveling applications, which allows for mid-transit transforms, contrary to rabbitmq-shovel. See this [Example](examples/addfive.py).
        ## Install
        Simply run
        ```sh
        pip3 install AMQPEz
        ```
        ## Basics
        Essentially you build your configuration 
        ```python3
        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).
        ```python3
        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.
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
