Metadata-Version: 1.1
Name: queue-fetcher
Version: 1.6.2
Summary: QueueFetcher makes dealing with SQS queues in Django easier
Home-page: https://github.com/mypebble/django-queue-fetcher
Author: SF Software limited t/a Pebble
Author-email: sysadmin@mypebble.co.uk
License: UNKNOWN
Description: QueueFetcher for Django and SQS
        ===============================
        
        |CircleCI| |PyPI version|
        
        QueueFetcher allows you to deal with Amazon SQS queues in an easier
        manner in Django.
        
        It provides:
        
        -  ``run_queue`` management task to start the task from cli
        -  ``QueueFetcher`` class to do the heavy lifting with the pieces
           seperated out and testable
        
        Getting started
        ---------------
        
        Install ``queue-fetcher`` from pip
        
        Add ``queue_fetcher`` to ``INSTALLED_APPLICATIONS``
        
        Add to your settings.py:
        
        .. code:: python
        
            TEST_SQS = False
        
            QUEUES = {
                'Internal Name': 'Name On Amazon'
            }
        
        Now build your tasks in your tasks package:
        
        ::
        
            from queue_fetcher.tasks import QueueFetcher
        
            class SampleQueueTask(QueueFetcher):
                queue = 'test'
        
                def process_sample(self, msg):
                    raise NotImplementedError('This does nothing.. yet')
        
        QueueFetcher expects messages from SQS to contain a list of events, with
        each event containg a ``message_type`` attribute of something like
        ``update_transaction``.
        
        This is then dispatched to a function prefixed with ``process_``.
        
        .. |CircleCI| image:: https://circleci.com/gh/mypebble/django-queue-fetcher.svg?style=svg
           :target: https://circleci.com/gh/mypebble/django-queue-fetcher
        .. |PyPI version| image:: https://badge.fury.io/py/queue-fetcher.svg
           :target: https://badge.fury.io/py/queue-fetcher
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Django
