Skip to main content

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

Project description

Brightside

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:

BRIGHTER_MESSAGE_STORE_URL

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 testrunner.py script finds all test fixtures with the naming convention tests_* and runs them To run the tests just use ./run_rests.sh 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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file brightside-0.6.13.tar.gz.

File metadata

  • Download URL: brightside-0.6.13.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for brightside-0.6.13.tar.gz
Algorithm Hash digest
SHA256 5b802a84681ebfe408cc8541ab8fe39b043fed1bb86c5030cdf1e962142dc77a
MD5 eb1b5dc19267ef03797949c5da5a5d13
BLAKE2b-256 88c0b9325698d69d95af79953929236e16556de524f247a00a0ab952035b5348

See more details on using hashes here.

File details

Details for the file brightside-0.6.13-py2.py3-none-any.whl.

File metadata

  • Download URL: brightside-0.6.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for brightside-0.6.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 325caf4a66944ba43cf81d7ccf94f467fb5897d69c178ce47d710116168d8311
MD5 c43a2699e938e294dca53a2cb0616d87
BLAKE2b-256 0cd4eb71e1461969cad417041884282e02ea8d8000be1a0754fa1edfff77faa0

See more details on using hashes here.

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