{ "info": { "author": "Albert Wang", "author_email": "albertyw@mit.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Communications :: Email", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "python-mailgun2\n===============\n\n|PyPI|\n\n|Codeship Status for albertyw/python-mailgun2|\n|Code Climate|\n|Code Climate Test Coverage|\n|Dependency Status|\n\nOriginally at https://github.com/ZeroCater/python-mailgun2\n\nA super simple Python API for interacting with\n`Mailgun `__. Currently only supports sending\nmessages. Powered by\n`Requests `__.\n\nWorks with Python 3!\n\nInstallation\n------------\n\n.. code:: shell\n\n pip install mailgun2\n\nUsage\n-----\n\n.. code:: python\n\n from mailgun2 import Mailgun\n mailer = Mailgun('example.mailgun.org', 'public_key', 'private_key')\n mailer.send_message(\n 'from@yourdomain.com',\n ['to@you.com', 'others@you.com'],\n subject='Hi!',\n text='Sweet.'\n )\n\nRequired arguments:\n\n::\n\n from_email: string of email address to set as sender\n to: list or string of email address to send to\n\nOptional arguments:\n\n::\n\n subject: string subject of the email\n text: string body of the email. Either text or html is required.\n html: string HTML of the email. Either text or html is required.\n cc: list of cc addresses.\n bcc: list of bcc addresses.\n tags: list of mailgun tags to associate with the email.\n reply_to: Convenience argument for setting the Reply-To header\n headers: Extra headers for messages\n inlines: List of file paths to attach inline to the message\n attachments: List of (file name, content type, file handle) as a multipart attachment\n\n\nContributing\n------------\nSee `Contributing `__\n\nPull requests welcome!\n\n\n\n.. |PyPI| image:: https://img.shields.io/pypi/dm/mailgun2.svg\n :target: https://pypi.python.org/pypi?:action=display&name=mailgun2\n.. |Codeship Status for albertyw/python-mailgun2| image:: https://codeship.com/projects/ce6c4f80-c4de-0133-efb5-62b97b21679d/status?branch=master\n :target: https://codeship.com/projects/138455\n.. |Code Climate| image:: https://codeclimate.com/github/albertyw/python-mailgun2/badges/gpa.svg\n :target: https://codeclimate.com/github/albertyw/python-mailgun2\n.. |Code Climate Test Coverage| image:: https://codeclimate.com/github/albertyw/python-mailgun2/badges/coverage.svg\n :target: https://codeclimate.com/github/albertyw/python-mailgun2/coverage\n.. |Dependency Status| image:: https://gemnasium.com/albertyw/python-mailgun2.svg\n :target: https://gemnasium.com/albertyw/python-mailgun2", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/albertyw/python-mailgun2/archive/1.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/albertyw/python-mailgun2", "keywords": "mailgun,email", "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "mailgun2", "package_url": "https://pypi.org/project/mailgun2/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mailgun2/", "project_urls": { "Download": "https://github.com/albertyw/python-mailgun2/archive/1.1.0.tar.gz", "Homepage": "https://github.com/albertyw/python-mailgun2" }, "release_url": "https://pypi.org/project/mailgun2/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "A python client for Mailgun API v2", "version": "1.1.0" }, "last_serial": 2813295, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "a960f156c17174a0908fe06a67c40523", "sha256": "ee40a10a42bdc94921b1dddc5681f969422cb83dce7b7d7422d88d943c593cc4" }, "downloads": -1, "filename": "mailgun2-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a960f156c17174a0908fe06a67c40523", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1945, "upload_time": "2013-07-17T23:13:50", "url": "https://files.pythonhosted.org/packages/c0/e7/24bed30db0d5e694c059fc2927c4db43d83fa094e87d2e3a2173223a00e5/mailgun2-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c0c9df6a18e28dfd99ce819e761a563b", "sha256": "6aaecbb81c192da7ed4d03181918a0635b9c9a8a54c7a9ad8a229fba41ba4430" }, "downloads": -1, "filename": "mailgun2-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c0c9df6a18e28dfd99ce819e761a563b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2528, "upload_time": "2014-04-28T19:16:14", "url": "https://files.pythonhosted.org/packages/49/0b/a0d0b1f1521141aea63eb2b940d230e6e6b26ea711283e39048326168c99/mailgun2-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "28e16d5d456212132ee8c196c231258b", "sha256": "cdb7502921d0bb9a0d5f9fa96e86262744192b1c1426e9212dbf997aa769a3f0" }, "downloads": -1, "filename": "mailgun2-0.1.3.linux-x86_64.exe", "has_sig": false, "md5_digest": "28e16d5d456212132ee8c196c231258b", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64514, "upload_time": "2014-10-02T00:52:19", "url": "https://files.pythonhosted.org/packages/da/8c/db3c0d2e0f1ea9e0c24b81676c608abad6ed5bcace06077d64955e49d698/mailgun2-0.1.3.linux-x86_64.exe" }, { "comment_text": "", "digests": { "md5": "0f3c4fffafd058d79994069346a3f9c9", "sha256": "f66e4ac65e11814398b95a6b9dee1e106a2f30279de36878a55fb64a53a7c4de" }, "downloads": -1, "filename": "mailgun2-0.1.3.tar.gz", "has_sig": false, "md5_digest": "0f3c4fffafd058d79994069346a3f9c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2927, "upload_time": "2014-10-02T00:52:16", "url": "https://files.pythonhosted.org/packages/d2/b0/d6d4eb9aaff5535c395c653ac508dacb6bec0406ff7cfd8d9f97427829d3/mailgun2-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "328e8108e84e96266095dbf7a0d32c79", "sha256": "17e2ac71e7552fa34e707aaa9967653a7aec70b28cfeb278db9d50de1152e3fa" }, "downloads": -1, "filename": "mailgun2-0.1.4-py2.7.egg", "has_sig": false, "md5_digest": "328e8108e84e96266095dbf7a0d32c79", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4305, "upload_time": "2015-05-04T00:19:07", "url": "https://files.pythonhosted.org/packages/b8/f9/ec1973a862def5a36f64d05052fc4b26ffbb1c3dfe460351f371b29e9cce/mailgun2-0.1.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5632c8748c9eb52ae10fbf921a1667ab", "sha256": "b3efe36958685ef1e95c4e8972d12e6a3cc0cd9990263a3636dd26b9cc494afa" }, "downloads": -1, "filename": "mailgun2-0.1.4.tar.gz", "has_sig": false, "md5_digest": "5632c8748c9eb52ae10fbf921a1667ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3043, "upload_time": "2015-05-04T00:19:10", "url": "https://files.pythonhosted.org/packages/6c/7c/891e5da8361a909ba83a2706c56bc06b61c15260190e495c4bb404b6a588/mailgun2-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "246a8e75278f903cbd578bb2a42cc3ca", "sha256": "871ba4f82515bb1b4c9070f900bb88a45192603cd2be0524b197ffc8eeea18b4" }, "downloads": -1, "filename": "mailgun2-0.1.5.tar.gz", "has_sig": false, "md5_digest": "246a8e75278f903cbd578bb2a42cc3ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3125, "upload_time": "2016-03-05T08:50:39", "url": "https://files.pythonhosted.org/packages/68/6b/1d91505443f186efbee4c833c4e9dfc4da033971d47400a2d14fbb4c4fd5/mailgun2-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "b3cd1bdbccf78ff00612ef9910d4d2e9", "sha256": "4fa755925e4db1f3b08e250bbfc6d7702cbc6cf5b9411df733eca687e4b7d327" }, "downloads": -1, "filename": "mailgun2-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b3cd1bdbccf78ff00612ef9910d4d2e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3800, "upload_time": "2016-03-06T01:16:35", "url": "https://files.pythonhosted.org/packages/8e/a4/9ad89c11be3d77e6d8bbd60f418727cca9e0c0360320d4ed349a6b518d48/mailgun2-0.1.6.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "3acae66173a61352d8f25de0943cc002", "sha256": "6cdd99641238fd3576f649ca62d69e0883d81a455f72ec2af0ddd60c887fbda1" }, "downloads": -1, "filename": "mailgun2-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3acae66173a61352d8f25de0943cc002", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4395, "upload_time": "2016-03-07T07:03:00", "url": "https://files.pythonhosted.org/packages/1f/8b/8fffba23ca7a06ecae52ff01483790e8cd6f2ec4485e561cc83ec33e8f86/mailgun2-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "ff7c98a2c7045ad2458ad89524dcb5b5", "sha256": "e2cf69349f0a00aaf6ee6fea0223ea0703742818423f913f573f1dbead816a02" }, "downloads": -1, "filename": "mailgun2-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ff7c98a2c7045ad2458ad89524dcb5b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6179, "upload_time": "2017-04-19T08:20:41", "url": "https://files.pythonhosted.org/packages/f9/dd/6f65c4408798e7266d7999be449b4bf96e8cee65f2959d3138f51d030594/mailgun2-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d48a03630e047272738696162260ee25", "sha256": "91330225c8d740866dcc457e7e939e41c126039f3ad91bf2dc8d584edbc5760d" }, "downloads": -1, "filename": "mailgun2-1.1.0.tar.gz", "has_sig": false, "md5_digest": "d48a03630e047272738696162260ee25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4470, "upload_time": "2016-05-17T08:04:32", "url": "https://files.pythonhosted.org/packages/08/77/2d055016e874b5dd78a072356aee461a873021394a98db814daa1f409e68/mailgun2-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff7c98a2c7045ad2458ad89524dcb5b5", "sha256": "e2cf69349f0a00aaf6ee6fea0223ea0703742818423f913f573f1dbead816a02" }, "downloads": -1, "filename": "mailgun2-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ff7c98a2c7045ad2458ad89524dcb5b5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6179, "upload_time": "2017-04-19T08:20:41", "url": "https://files.pythonhosted.org/packages/f9/dd/6f65c4408798e7266d7999be449b4bf96e8cee65f2959d3138f51d030594/mailgun2-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d48a03630e047272738696162260ee25", "sha256": "91330225c8d740866dcc457e7e939e41c126039f3ad91bf2dc8d584edbc5760d" }, "downloads": -1, "filename": "mailgun2-1.1.0.tar.gz", "has_sig": false, "md5_digest": "d48a03630e047272738696162260ee25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4470, "upload_time": "2016-05-17T08:04:32", "url": "https://files.pythonhosted.org/packages/08/77/2d055016e874b5dd78a072356aee461a873021394a98db814daa1f409e68/mailgun2-1.1.0.tar.gz" } ] }