brightside-0.6.9
توضیحات
Provides a command dispatcher and task queue to support CQRS and microservices
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | brightside-0.6.9 |
| نام | brightside |
| نسخه کتابخانه | 0.6.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ian Cooper |
| ایمیل نویسنده | ian_hammond_cooper@yahoo.co.uk |
| آدرس صفحه اصلی | https://github.com/BrighterCommand/Brightside |
| آدرس اینترنتی | https://pypi.org/project/brightside/ |
| مجوز | MIT |
# 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
[](https://travis-ci.org/BrighterCommand/Brightside)
نیازمندی
| مقدار | نام |
|---|---|
| - | kombu |
| - | sqlalchemy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.0 | Python |
نحوه نصب
نصب پکیج whl brightside-0.6.9:
pip install brightside-0.6.9.whl
نصب پکیج tar.gz brightside-0.6.9:
pip install brightside-0.6.9.tar.gz