{ "info": { "author": "Piotr Buli\u0144ski", "author_email": "piotr@bulinski.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "==================\nDjango-SES-backend\n==================\n\n.. image:: https://travis-ci.org/piotrbulinski/django-ses-backend.svg?branch=master\n :target: https://travis-ci.org/piotrbulinski/django-ses-backend\n\nThis is a minified fork of Harry Marr's django-ses_\n\nManagement UI and DKIM signing was removed, because:\n - AWS can do automatic DKIM signing for you: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html,\n - It's backend, so no UI is expected from it.\n\nAnother reasons for the fork:\n - I need to have it running under Python 3,\n - I don't need all the \"additional\" feature of django-ses_.\n\n.. _django-ses: https://github.com/hmarr/django-ses\n\nGetting going\n=============\nTo get it running, you need to have Django_ (1.5>=) and Boto_ (>=2.32.0) installed in your system.\n\nInstalling boto::\n\n pip install --upgrade boto\n\nInstall django-ses-backend::\n\n pip install django-ses-backend\n\nAdd the following to your settings.py::\n\n EMAIL_BACKEND = 'django_ses_backend.SESBackend'\n\n # These are optional -- if they're set as environment variables they won't\n # need to be set here as well\n AWS_ACCESS_KEY_ID = 'YOUR-ACCESS-KEY-ID'\n AWS_SECRET_ACCESS_KEY = 'YOUR-SECRET-ACCESS-KEY'\n\n # Additionally, you can specify an optional region, like so:\n AWS_SES_REGION_NAME = 'us-east-1'\n AWS_SES_REGION_ENDPOINT = 'email.us-east-1.amazonaws.com'\n\nAlternatively, instead of `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`, you\ncan include the following two settings values. This is useful in situations\nwhere you would like to use a separate access key to send emails via SES than\nyou would to upload files via S3::\n\n AWS_SES_ACCESS_KEY_ID = 'YOUR-ACCESS-KEY-ID'\n AWS_SES_SECRET_ACCESS_KEY = 'YOUR-SECRET-ACCESS-KEY'\n\nNow, when you use ``django.core.mail.send_mail``, Simple Email Service will\nsend the messages by default.\n\nSince SES imposes a rate limit and will reject emails after the limit has been\nreached, django-ses will attempt to conform to the rate limit by querying the\nAPI for your current limit and then sending no more than that number of\nmessages in a two-second period (which is half of the rate limit, just to\nbe sure to stay clear of the limit). This is controlled by the following setting::\n\n AWS_SES_AUTO_THROTTLE = 0.5 # (default; safety factor applied to rate limit)\n\nTo turn off automatic throttling, set this to None.\n\nDjango Builtin-in Error Emails\n==============================\n\nIf you'd like Django's `Builtin Email Error Reporting`_ to function properly\n(actually send working emails), you'll have to explicitly set the\n``SERVER_EMAIL`` setting to one of your SES-verified addresses. Otherwise, your\nerror emails will all fail and you'll be blissfully unaware of a problem.\n\n*Note:* You will need to sign up for SES_ and verify any emails you're going\nto use in the `from_email` argument to `django.core.mail.send_email()`. Boto_\nhas a `verify_email_address()` method: https://github.com/boto/boto/blob/master/boto/ses/connection.py\n\n.. _Builtin Email Error Reporting: http://docs.djangoproject.com/en/1.2/howto/error-reporting/\n.. _Django: http://djangoproject.com\n.. _Boto: http://boto.cloudhackers.com/\n.. _SES: http://aws.amazon.com/ses/\n\nFull List of Settings\n=====================\n\n``AWS_ACCESS_KEY_ID``, ``AWS_SECRET_ACCESS_KEY``\n *Required.* Your API keys for Amazon SES.\n\n``AWS_SES_ACCESS_KEY_ID``, ``AWS_SES_SECRET_ACCESS_KEY``\n *Required.* Alternative API keys for Amazon SES. This is useful in situations\n where you would like to use separate access keys for different AWS services.\n\n``AWS_SES_REGION_NAME``, ``AWS_SES_REGION_ENDPOINT``\n Optionally specify what region your SES service is using. Details:\n http://readthedocs.org/docs/boto/en/latest/ref/ses.html#boto.ses.regions\n\n``AWS_SES_RETURN_PATH``\n Instruct Amazon SES to forward bounced emails and complaints to this email.\n For more information please refer to http://aws.amazon.com/ses/faqs/#38\n\nContributing\n============\nIf you'd like to fix a bug, add a feature, etc\n\n#. Start by opening an issue.\n Be explicit so that project collaborators can understand and reproduce the\n issue, or decide whether the feature falls within the project's goals.\n Code examples can be useful, too.\n\n#. File a pull request.\n You may write a prototype or suggested fix.\n\n#. Write and run tests.\n Write your own test showing the issue has been resolved, or the feature\n works as intended.\n\nRunning Tests\n=============\nTo run the tests::\n\n python runtests.py", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/piotrbulinski/django-ses-backend/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/piotrbulinski/django-ses-backend/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-ses-backend", "package_url": "https://pypi.org/project/django-ses-backend/", "platform": "Posix,MacOS X,Windows", "project_url": "https://pypi.org/project/django-ses-backend/", "project_urls": { "Download": "https://github.com/piotrbulinski/django-ses-backend/archive/master.zip", "Homepage": "https://github.com/piotrbulinski/django-ses-backend/" }, "release_url": "https://pypi.org/project/django-ses-backend/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A Django email backend for Amazon's Simple Email Service", "version": "0.1.1" }, "last_serial": 1176517, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d12c303e168480260358842509f3ed13", "sha256": "eef735867d2839ad66ad688625f12e071d1422758bc487798ea28a8b9fccb196" }, "downloads": -1, "filename": "django_ses_backend-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d12c303e168480260358842509f3ed13", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10948, "upload_time": "2014-07-31T14:26:19", "url": "https://files.pythonhosted.org/packages/2e/37/4126cac0bc33c79cb4af83fdf497f0b4c7ced6027966870c5ee221f62ec5/django_ses_backend-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31a6d4147dc9fb3d8bf59240c3570388", "sha256": "0a361384d3dfc5f0c0023ea73e37d55263f1899646331d3b2fede8ab13b7e816" }, "downloads": -1, "filename": "django-ses-backend-0.1.0.tar.gz", "has_sig": false, "md5_digest": "31a6d4147dc9fb3d8bf59240c3570388", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8088, "upload_time": "2014-07-31T14:26:15", "url": "https://files.pythonhosted.org/packages/57/89/6e84ff6a57c1609dbc1e6dca2e22efb89ac1be3a8074976833eadf3cd6b5/django-ses-backend-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f015bbbbe7844008664a827a1546901a", "sha256": "18160b68c068c85a096c19d51d8731a2ccec7a4a52e2f88be6b6373f643ce189" }, "downloads": -1, "filename": "django_ses_backend-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f015bbbbe7844008664a827a1546901a", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10770, "upload_time": "2014-08-01T08:47:49", "url": "https://files.pythonhosted.org/packages/cb/8a/942b39416ca26980af823c61729bd411d768d76db0a60a315ed261d80003/django_ses_backend-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09d9d062818d6c1a5098edb1ed1a77ee", "sha256": "335d17cdd448927e2d4c54c529e381ebe0a9fd591742e9338b685ea331e9371d" }, "downloads": -1, "filename": "django-ses-backend-0.1.1.tar.gz", "has_sig": false, "md5_digest": "09d9d062818d6c1a5098edb1ed1a77ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7003, "upload_time": "2014-08-01T08:47:45", "url": "https://files.pythonhosted.org/packages/c8/76/be919ea300fba082f5be39785293cd653bd72ae8e14423fe0e7b6a7f2d01/django-ses-backend-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f015bbbbe7844008664a827a1546901a", "sha256": "18160b68c068c85a096c19d51d8731a2ccec7a4a52e2f88be6b6373f643ce189" }, "downloads": -1, "filename": "django_ses_backend-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f015bbbbe7844008664a827a1546901a", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10770, "upload_time": "2014-08-01T08:47:49", "url": "https://files.pythonhosted.org/packages/cb/8a/942b39416ca26980af823c61729bd411d768d76db0a60a315ed261d80003/django_ses_backend-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09d9d062818d6c1a5098edb1ed1a77ee", "sha256": "335d17cdd448927e2d4c54c529e381ebe0a9fd591742e9338b685ea331e9371d" }, "downloads": -1, "filename": "django-ses-backend-0.1.1.tar.gz", "has_sig": false, "md5_digest": "09d9d062818d6c1a5098edb1ed1a77ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7003, "upload_time": "2014-08-01T08:47:45", "url": "https://files.pythonhosted.org/packages/c8/76/be919ea300fba082f5be39785293cd653bd72ae8e14423fe0e7b6a7f2d01/django-ses-backend-0.1.1.tar.gz" } ] }