{ "info": { "author": "Deeptesh Chagan", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP" ], "description": ".. image:: https://travis-ci.org/deep-c/django-sns-view.svg?branch=master\n :target: https://travis-ci.org/deep-c/django-sns-view\n\n===============\nDjango SNS View\n===============\n\nA drop in configurable django view that is used to subscribe and process AWS SNS messages. \n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install django-sns-view\n\n\nDefault Django Settings\n----------------------\n.. code-block:: python\n\n SNS_CERT_DOMAIN_REGEX = r\"sns.[a-z0-9\\-]+.amazonaws.com$\" # Regex to match on cert domain\n SNS_VERIFY_CERTIFICATE = True # Whether to verify signature against certificate\n\n\nSNSEndpoint Attributes\n----------------------\n.. code-block:: python\n\n message_type_header = 'HTTP_X_AMZ_SNS_MESSAGE_TYPE'\n topic_type_header = 'HTTP_X_AMZ_SNS_TOPIC_ARN'\n allowed_message_types = ['Notification', 'SubscriptionConfirmation', 'UnsubscribeConfirmation']\n cert_domain_settings_key = 'SNS_CERT_DOMAIN_REGEX'\n sns_verify_settings_key = 'SNS_VERIFY_CERTIFICATE'\n topic_settings_key = '' # If you would like to subscribe this endpoint only certain topics, create a setting containing a list of topics that are allowed. \n\n\nUsage\n-----------\n.. code-block:: python\n\n from django_sns_view.views import SNSEndpoint\n\n class MySNSView(SNSEndpoint):\n # Can override SNSEndpoint attributes outlined above\n\n def handle_message(self, message, payload):\n # Process the message", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/deep-c/django-sns-view", "keywords": "aws sns django", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-sns-view", "package_url": "https://pypi.org/project/django-sns-view/", "platform": "", "project_url": "https://pypi.org/project/django-sns-view/", "project_urls": { "Homepage": "https://github.com/deep-c/django-sns-view" }, "release_url": "https://pypi.org/project/django-sns-view/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A Django view that can be subscribed to Amazon SNS", "version": "0.1.2" }, "last_serial": 3765527, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "90f295ec3b9ed9e63c01c8ec4c24e9d1", "sha256": "ddc03fe8cca060a72d0a3936479edc2979970dd97f5085cbee8af2cd7ddfa0da" }, "downloads": -1, "filename": "django-sns-view-0.1.1.tar.gz", "has_sig": false, "md5_digest": "90f295ec3b9ed9e63c01c8ec4c24e9d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10613, "upload_time": "2018-01-07T06:53:28", "url": "https://files.pythonhosted.org/packages/57/54/070d4e2eba93ea6047d3eedad1d58f4f1b1538f6d00035374523c3ed8246/django-sns-view-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "76e27e2e5a497d68cba262db8937c9e2", "sha256": "019253530361db739ad0a83f13b99e380fe2ead766995263fd6f51ae853ccd30" }, "downloads": -1, "filename": "django-sns-view-0.1.2.tar.gz", "has_sig": false, "md5_digest": "76e27e2e5a497d68cba262db8937c9e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10648, "upload_time": "2018-04-15T01:13:16", "url": "https://files.pythonhosted.org/packages/7d/36/852fa920a6c0ce68659aac08b1e806ea4027a4bedd197d9f08bc8c97a777/django-sns-view-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "76e27e2e5a497d68cba262db8937c9e2", "sha256": "019253530361db739ad0a83f13b99e380fe2ead766995263fd6f51ae853ccd30" }, "downloads": -1, "filename": "django-sns-view-0.1.2.tar.gz", "has_sig": false, "md5_digest": "76e27e2e5a497d68cba262db8937c9e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10648, "upload_time": "2018-04-15T01:13:16", "url": "https://files.pythonhosted.org/packages/7d/36/852fa920a6c0ce68659aac08b1e806ea4027a4bedd197d9f08bc8c97a777/django-sns-view-0.1.2.tar.gz" } ] }