Skip to main content

test simple usecase between anyblok and dramatiq

Project description

.. 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.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

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

anyblok_dramatiq-1.0.2.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

anyblok_dramatiq-1.0.2-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file anyblok_dramatiq-1.0.2.tar.gz.

File metadata

File hashes

Hashes for anyblok_dramatiq-1.0.2.tar.gz
Algorithm Hash digest
SHA256 019c92ccb43261b0936ff9a417499cf9178c7cee42095499fba3c2144e2a2f85
MD5 40a3aa8122bd330a9956cf6be3ba4e6c
BLAKE2b-256 d07f952d9cd4637f3907c180307d97f9884282826b5a01f770f765685b6e55e2

See more details on using hashes here.

File details

Details for the file anyblok_dramatiq-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for anyblok_dramatiq-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb8a40e43158231398419f966717cb3cf43cc5d6c2a8ff7ba1935fb20a27aec9
MD5 dc19c89872b6785de9c6c1c49d5d9c67
BLAKE2b-256 6bab64da38a01d774e43f7f753f59b9603d033f4676ba5f46777c88c79c93c32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page