{ "info": { "author": "fatisar", "author_email": "fatisar@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "python-mailgun2\n===============\n\n[![Code Climate](https://codeclimate.com/github/ZeroCater/python-mailgun2/badges/gpa.svg)](https://codeclimate.com/github/ZeroCater/python-mailgun2)\n[![Dependency Status](https://gemnasium.com/ZeroCater/python-mailgun2.svg)](https://gemnasium.com/ZeroCater/python-mailgun2)\n\nA super simple Python API for interacting with [Mailgun](http://www.mailgun.com/).\nCurrently only supports sending messages. Powered by\n[Requests](http://docs.python-requests.org/en/latest/).\n\nPython 3 support should be there but is currently untested.\n\nInstallation:\n\n```shell\npip install mailgun2\n```\n\nUsage:\n\n```python\nfrom mailgun2 import Mailgun\nmailer = Mailgun('apikey', 'example.mailgun.org')\nmailer.send_message(\n 'from@yourdomain.com',\n ['to@you.com', 'others@you.com'],\n subject='Hi!',\n text='Sweet.'\n )\n```\n\nRequired arguments:\n```\nfrom_email: string of email address to set as sender\nto: list or string of email address to send to\n```\n\nOptional arguments:\n\n```\nsubject: string subject of the email\ntext: string body of the email. Either text or html is required.\nhtml: string HTML of the email. Either text or html is required.\ncc: list of cc addresses.\nbcc: list of bcc addresses.\ntags: list of mailgun tags to associate with the email.\nreply_to: Convenience argument for setting the Reply-To header\nheaders: Extra headers for messages\ninlines: List of file paths to attach inline to the message\nattachments: List of (file name, content type, file handle) as a multipart attachment\n```\n\nPull requests welcome!", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/fatisar/python-mailgun3/archive/0.1.9.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fatisar/python-mailgun3", "keywords": "mailgun,email", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "mailgun3", "package_url": "https://pypi.org/project/mailgun3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mailgun3/", "project_urls": { "Download": "https://github.com/fatisar/python-mailgun3/archive/0.1.9.tar.gz", "Homepage": "https://github.com/fatisar/python-mailgun3" }, "release_url": "https://pypi.org/project/mailgun3/0.1.9/", "requires_dist": null, "requires_python": null, "summary": "A python client for Mailgun API v3", "version": "0.1.9" }, "last_serial": 1645819, "releases": { "0.1.5": [ { "comment_text": "", "digests": { "md5": "6140fab7c374cde3faf357ffdb329881", "sha256": "d0f4295b349c48476f0f9872297f143b1f07ea6e4867ece4087207cb729ea0c1" }, "downloads": -1, "filename": "mailgun3-0.1.5.tar.gz", "has_sig": false, "md5_digest": "6140fab7c374cde3faf357ffdb329881", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3223, "upload_time": "2015-06-05T19:11:10", "url": "https://files.pythonhosted.org/packages/a0/49/aa11836b32f4e0abf23e7e8adaf8ab564b6165fad3ce6c047d1390c52e2c/mailgun3-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "6e1314e661c1364e0aa3f5a0afd20ac2", "sha256": "42db4ab26a528fc205cbaa5a2043d3c53552d57bd102167ab9b5d457a23467db" }, "downloads": -1, "filename": "mailgun3-0.1.6.tar.gz", "has_sig": false, "md5_digest": "6e1314e661c1364e0aa3f5a0afd20ac2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3526, "upload_time": "2015-06-05T22:01:23", "url": "https://files.pythonhosted.org/packages/58/a1/440b33c34de05e11307973a0962203af8ad0a15ef2cca553404cdbe15d15/mailgun3-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "3f1346105da494687619d3fddbcf1483", "sha256": "e73a36f4f13bb51299de2d8856ad35d5d3d87f2c58637db03d512688da1787bc" }, "downloads": -1, "filename": "mailgun3-0.1.7.tar.gz", "has_sig": false, "md5_digest": "3f1346105da494687619d3fddbcf1483", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3557, "upload_time": "2015-07-22T22:05:23", "url": "https://files.pythonhosted.org/packages/61/dd/7508acdaf35033e6ebd4e8c66a422a29f336ab8a253ccf6e135f6ea8516d/mailgun3-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "bf8dcc8febcd062d0127a9b2eec46c48", "sha256": "f01e698c88c88a85b45be394007ec5fd20d5a2b73c86dd9358d20c67360692ef" }, "downloads": -1, "filename": "mailgun3-0.1.8.tar.gz", "has_sig": false, "md5_digest": "bf8dcc8febcd062d0127a9b2eec46c48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3579, "upload_time": "2015-07-22T22:22:51", "url": "https://files.pythonhosted.org/packages/90/54/02544a9f764b26491fbbe2ed6b3d47f38cb0c16b8bffd8c5662a6317ced9/mailgun3-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "929afbe700d456ec0c1c0375e8c9df41", "sha256": "1e63371ae0746620f04baf9b8eed67f69fc90a10370d421fc1375fc5e3fda44a" }, "downloads": -1, "filename": "mailgun3-0.1.9.tar.gz", "has_sig": false, "md5_digest": "929afbe700d456ec0c1c0375e8c9df41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3603, "upload_time": "2015-07-22T22:30:43", "url": "https://files.pythonhosted.org/packages/38/c0/25e327c10c6f2de429d0355cfe71e6f7871f4e91b9150c6665ff495dbe9c/mailgun3-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "929afbe700d456ec0c1c0375e8c9df41", "sha256": "1e63371ae0746620f04baf9b8eed67f69fc90a10370d421fc1375fc5e3fda44a" }, "downloads": -1, "filename": "mailgun3-0.1.9.tar.gz", "has_sig": false, "md5_digest": "929afbe700d456ec0c1c0375e8c9df41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3603, "upload_time": "2015-07-22T22:30:43", "url": "https://files.pythonhosted.org/packages/38/c0/25e327c10c6f2de429d0355cfe71e6f7871f4e91b9150c6665ff495dbe9c/mailgun3-0.1.9.tar.gz" } ] }