Skip to main content

Provides a command dispatcher and task queue to support CQRS and microservices

Project description


Brightside is a command dispatcher and processor for Python. It also provides a work queue for asynchronous dispatch over a broker such as RabbitMQ. It is intended to work with Brighter, a C# command dispatcher and processor and allow polyglot solutions i.e. a Flask endpoint that sends work over a queue to a C# consumer or an ASP.NET WebAPI endpoint that sends a request over a work queue to a Python application. Brightside can also be used stand-alone as an opinionated alternative to libraries like Celery, which use RPC and not messaging.

Message Store Configuration

If you post messages via a Broker, and use alchemy_store then We need to know where the tables for the message store can be found; we don't create the database that contains them, we assume that you will do that, and so we need a connection string to find that database. To do this, we pick up the following environment variable:


If this environment variable is not set, we will generate an error

Docker Compose File

The Docker Compose File is intended to provide sufficient infrastructure for you to run tests that require backing stores or Message Oriented Middleware. The script finds all test fixtures with the naming convention tests_* and runs them To run the tests just use ./ This shell script will docker-compose up the required infrastructure and a container for Brightside code and tests; that container is kept running with top Once running we use docker-exec to run the python test runner script

Build Status

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

brightside-0.6.13.tar.gz (22.5 kB view hashes)

Uploaded source

Built Distribution

brightside-0.6.13-py2.py3-none-any.whl (35.1 kB view hashes)

Uploaded py2 py3

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