anyblok_dramatiq 1.0.3
test simple usecase between anyblok and dramatiq
Keywords: dramatiq

.. This file is a part of the AnyBlok Dramatiq project
..
..    Copyright (C) 2017 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

.. image:: https://travis-ci.org/AnyBlok/anyblok_dramatiq.svg?branch=master
    :target: https://travis-ci.org/AnyBlok/anyblok_dramatiq
    :alt: Build status

.. image:: https://coveralls.io/repos/github/AnyBlok/anyblok_dramatiq/badge.svg?branch=master
    :target: https://coveralls.io/github/AnyBlok/anyblok_dramatiq?branch=master
    :alt: Coverage

.. image:: https://img.shields.io/pypi/v/anyblok_dramatiq.svg
   :target: https://pypi.python.org/pypi/anyblok_dramatiq/
   :alt: Version status

.. image:: https://readthedocs.org/projects/anyblok-dramatiq/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://doc.anyblok-dramatiq.anyblok.org/?badge=latest


AnyBlok / Dramatiq
==================

Improve AnyBlok `AnyBlok <http://doc.anyblok.org>`_ to add distributed actor (agent)
with `dramatiq <https://dramatiq.io>`_.

AnyBlok Dramatiq is released under the terms of the `Mozilla Public License`.

See the `latest documentation <http://doc.anyblok-dramatiq.anyblok.org/>`_

.. This file is a part of the AnyBlok / Dramatiq project
..
..    Copyright (C) 2017 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

.. contents::

Front Matter
============

Information about the AnyBlok / Dramatiq project.

Project Homepage
----------------

AnyBlok is hosted on `github <http://github.com>`_ - the main project
page is at https://github.com/AnyBlok/anyblok_dramatiq. Source code is
tracked here using `GIT <https://git-scm.com>`_.

Releases and project status are available on Pypi at
http://pypi.python.org/pypi/anyblok_dramatiq.

The most recent published version of this documentation should be at
http://doc.anyblok-dramatiq.anyblok.org.

Project Status
--------------

AnyBlok with Dramatiq 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 <http://pypi.python.org/pypi/pip>`_ or a similar tool::

    pip install anyblok_dramatiq

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_dramatiq/tests

Dependencies
------------

AnyBlok / Dramatiq works with **Python 3.6** and later. The install process will
ensure that `AnyBlok <http://doc.anyblok.org>`_,
`dramatiq <https://dramatiq.io>`_ are installed, in addition to other 
dependencies. The latest version of them is strongly recommended.


Contributing (hackers needed!)
------------------------------

Anyblok / Dramatiq is at a very early stage, feel free to fork, talk with core
dev, and spread the word!

Author
------

Jean-Sébastien Suzanne

Contributors
------------

`Anybox <http://anybox.fr>`_ team:

* Jean-Sébastien Suzanne

`Sensee <http://sensee.com>`_ team:

* Franck Bret

Bugs
----

Bugs and feature enhancements to AnyBlok should be reported on the `Issue
tracker <https://github.com/AnyBlok/anyblok_dramatiq/issues>`_.

.. This file is a part of the AnyBlok / Dramatiq project
..
..    Copyright (C) 2017 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..    Copyright (C) 2018 Jean-Sebastien SUZANNE <jssuzanne@anybox.fr>
..
.. This Source Code Form is subject to the terms of the Mozilla Public License,
.. v. 2.0. If a copy of the MPL was not distributed with this file,You can
.. obtain one at http://mozilla.org/MPL/2.0/.

.. contents::

CHANGELOG
=========

1.0.3 (2018-02-24)
------------------

* [REF] Anyblok 0.17.0 changed setter to add application and application 
  groups, So I had to adapt the existing to use new setter

1.0.2 (2018-02-12)
------------------

* [FIX] multi process lock
  AnyBlok seem lock the data base during the migration, the dramatiq process
  don't migrate the data base, the migration is now forbidden

1.0.1 (2018-01-10)
------------------

* [FIX] put the configuration ``dramatiq-broker`` on the default application

1.0.0 (2017-12-23)
------------------

* [IMP] dramatiq console script to execute workers process
* [IMP] actor and actor_send decorator to define dramatiq actor
* [IMP] dramatiq middleware to modify ``Model.Dramatiq.Message`` status
* [IMP] dramatiq blok to historize the message and status
* [IMP] dramatiq-task to add a back task with dramatiq