Skip to main content

No project description provided

Project description

Shuttle Bus

A modern distributed application framework for Python.

Build Status

Branch Status
master master
develop develop

Getting started

Install

pip install shuttle-bus-rabbitmq

Simple example

uri = "amqp://admin:admin@localhost/"
host_settings = HostSettings.create(uri)

receive_settings = ReceiveSettings()
receive_settings.name = "queue_name"

consumer = PrintConsumer()
receive_endpoint_configuration = ReceiveEndpointConfiguration(receive_settings, consumer)

bus_configuration = BusConfiguration(host_settings)

bus = await Bus.create(bus_configuration, receive_endpoint_configuration)

await bus.start()
await bus.publish(bytes("Hello", "UTF-8"))
await bus.stop()

Versioning

Shuttle Bus follows Semantic Versioning.

Contributing

See CONTRIBUTING.md

Builds

See https://pypi.org/project/shuttle-bus/

Requirements

  • Python >= 3.6

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shuttle-bus-rabbitmq-0.0.1.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

shuttle_bus_rabbitmq-0.0.1-py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page