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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page