Bus for anyblok
Project description
AnyBlok / Dramatiq
Improve AnyBlok AnyBlok to add comunication with bus.
AnyBlok / Bus is released under the terms of the Mozilla Public License.
See the latest documentation
Front Matter
Information about the AnyBlok / Bus project.
Project Homepage
AnyBlok is hosted on github - the main project page is at https://github.com/AnyBlok/anyblok_bus. Source code is tracked here using GIT.
Releases and project status are available on Pypi at http://pypi.python.org/pypi/anyblok_bus.
The most recent published version of this documentation should be at http://doc.anyblok-bus.anyblok.org.
Project Status
AnyBlok with bus is currently in beta status and is expected to be fairly stable. Users should take care to report bugs and missing features on an as-needed basis. It should be expected that the development version may be required for proper implementation of recently repaired issues in between releases;
Installation
Install released versions of AnyBlok from the Python package index with pip or a similar tool:
pip install anyblok_bus
Installation via source distribution is via the setup.py script:
python setup.py install
Installation will add the anyblok commands to the environment.
Unit Test
Run the test with nose:
pip install nose nosetests anyblok_bus/tests
Script
anyblok_bus add console_script to launch worker. A worker consume a queue defined by the decorator anyblok_bus.bus_consumer:
anyblok_bus -c anyblok_config_file.cfg
..note:: The profile name in the configuration is used to find the correct url to connect to rabbitmq
Dependencies
AnyBlok / Bus works with Python 3.3 and later and pika. The install process will ensure that AnyBlok is installed, in addition to other dependencies. The latest version of them is strongly recommended.
Contributors
Anybox team:
Jean-Sébastien Suzanne
Bugs
Bugs and feature enhancements to AnyBlok should be reported on the Issue tracker.
CHANGELOG
0.1.0 (2018-06-05)
add Worker to consume the message from rabbitmq
add publish method to publish a message to rabbitmq
add anyblok_bus.bus_consumer add decorator to défine the consumer
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
Built Distribution
Hashes for anyblok_bus-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b698aa529503b8859fa9007a706632606da2f7a80cb7c7d246b044bda71cc4f |
|
MD5 | d4b1b1da1bdb4a54275a36b71423166a |
|
BLAKE2b-256 | cbdb957842fd8c1fb830d128da91c8190341d9957db94051191bd9be2764f5e6 |