semvec/pypi-packages huggingface dataset:
django-messaging-subscription 0.8.0
A RESTful API for managing messaging content, subscriptions and sending via Vumi-go
License: BSD

django-messaging-subscription
================================

A RESTful API for managing messaging content, subscriptions and sending
via Vumi-go


::

    $ virtualenv ve
    $ source ve/bin/activate
    (ve)$ pip install -r requirements.txt
    (ve)$ pip install -r requirements-dev.txt
    (ve)$ py.test --ds=testsettings subscription/tests.py --cov=subscription


Configuration
-------------------------------

The following configuration (with dummy values replaced by real ones) needs to
be added to ``settings.py`` to configure this app:

.. code-block:: python

    INSTALLED_APPS = [
        # Usual Django stuff plus
        # Third-party apps
        'south',
        'tastypie',
        'djcelery',
        # Us
        'subscription'
    ]

    VUMI_GO_ACCOUNT_KEY = "replaceme"
    VUMI_GO_CONVERSATION_KEY = "replaceme"
    VUMI_GO_ACCOUNT_TOKEN = "replaceme"

    CELERY_ACCEPT_CONTENT = ['pickle']
    CELERY_TASK_SERIALIZER = 'pickle'
    CELERY_RESULT_SERIALIZER = 'pickle'
    CELERY_ALWAYS_EAGER = DEBUG
    SUBSCRIPTION_SEND_INITIAL_DELAYED = 1800 # optional delay in seconds
    SUBSCRIPTION_MULTIPART_BOUNDARY = "-------"
    SUBSCRIPTION_NOOP_KEYWORD = "SKIPSEND"


Release Notes
------------------------------
0.8.0 - 2016-06-22 - Add support for not sending on certain days
0.7.1 - 2016-05-20 - Pin and bump of dependency versions
0.7.0 - 2015-05-06 - Added support for firing metrics on completion of sets
0.6.0 - 2015-01-13 - Added support for default schedules on message sets for auto
transition
rest_framework_custom_viewsets 0.0.4
Django ModelViewSet extended for per view base extensions like Serializer Classes etc.
License: BSD
Keywords: rest_framework_custom_viewsets

=============================
Rest Framework Custom ViewSets
=============================

.. image:: https://badge.fury.io/py/rest_framework_custom_viewsets.png
    :target: https://badge.fury.io/py/rest_framework_custom_viewsets

.. image:: https://travis-ci.org/Darwesh27/rest_framework_custom_viewsets.png?branch=master
    :target: https://travis-ci.org/Darwesh27/rest_framework_custom_viewsets

Django ModelViewSet extended for per view base extensions like Serializer Classes etc.

Documentation
-------------

The full documentation is at https://rest_framework_custom_viewsets.readthedocs.org.

Quickstart
----------

Install Rest Framework Custom ViewSets::

    pip install rest_framework_custom_viewsets
Add it to the INSTALLED_APPS setting::

    INSTALLED_APPS += ('drf_custom_viewsets')

Example::

    from drf_custom_viewsets.viewsets.CustomSerializerViewSet
    from myapp.serializers import CustomSerializer1, CustomSerializer2

    class MyViewSet(CustomSerializerViewSet):
        custom_serializer_class = {
            'GET':  CustomSerializer1,
            'POST': CustomSerializer2,
        }


Then import it in a project::

    import drf_custom_viewsets
Features
--------

* TODO

Running Tests
--------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install -r requirements-test.txt
    (myenv) $ python runtests.py

Credits
---------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.0.1 (2016-05-25)
++++++++++++++++++

* First release on PyPI.
django-debug-panel 0.8.3
django-debug-toolbar in WebKit DevTools. Works fine with background Ajax requests and non-HTML responses
License: BSD

==================
Django Debug Panel
==================

Django Debug Toolbar inside WebKit DevTools. Works fine with background AJAX requests and non-HTML responses.
Great for single-page applications and other AJAX intensive web applications.

Installation
============

#. Install and configure `Django Debug Toolbar <https://github.com/django-debug-toolbar/django-debug-toolbar>`_

#. Install Django Debug Panel:

   .. code-block:: bash

    pip install django-debug-panel

#. Add ``debug_panel`` to your ``INSTALLED_APPS`` setting:

   .. code-block:: python

    INSTALLED_APPS = (
        # ...
        'debug_panel',
    )

#. Replace the Django Debug Toolbar middleware with the Django Debug Panel one. Replace:

   .. code-block:: python

    MIDDLEWARE_CLASSES = (
        ...
        'debug_toolbar.middleware.DebugToolbarMiddleware',
        ...
    )

   with:

   .. code-block:: python

    MIDDLEWARE_CLASSES = (
        ...
        'debug_panel.middleware.DebugPanelMiddleware',
        ...
    )


#. (Optional) Configure your cache.
   All the debug data of a request are stored into the cache backend ``debug-panel``
   if available. Otherwise, the ``default`` backend is used, and finally if no caches are
   defined it will fallback to a local memory cache.
   You might want to configure the ``debug-panel`` cache in your ``settings``:

   .. code-block:: python

    CACHES = {
        'default': {
            'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
            'LOCATION': '127.0.0.1:11211',
        },

        # this cache backend will be used by django-debug-panel
        'debug-panel': {
            'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
            'LOCATION': '/var/tmp/debug-panel-cache',
            'OPTIONS': {
                'MAX_ENTRIES': 200
            }
        }
    }

#. Install the Chrome extension `Django Debug Panel <https://chrome.google.com/webstore/detail/django-debug-panel/nbiajhhibgfgkjegbnflpdccejocmbbn>`_