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

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.3.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for anyblok_dramatiq-1.0.3.tar.gz
Algorithm Hash digest
SHA256 9cdb0ad4a0e34e6ba7687ee542d6273d16f78e84c940d7f24a455c98214870ba
MD5 2ac0beab6808c6cb53a3afd3dcdd1cbc
BLAKE2b-256 d15c5f1ce5bba588452d87a4a21b0012f5c955965273debf86a7d7457ec9b41f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anyblok_dramatiq-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f01a4981cd960c96c8f10db849ba03a63efdf1e68138b694a0655db56bc648a
MD5 9edab4f1b468efb3ac6d820b3d22ed37
BLAKE2b-256 2f3c3fc3d14ac136de9839de22966f4d9389c43bdeafbc15a08634290859dd57

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