{ "info": { "author": "Martin Majlis", "author_email": "martin@majlis.cz", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Communications :: Email", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "MailGun V3\n==========\n\nThis package provides fluent API for `MailGun API`_.\n\n.. _MailGun API: http://mailgun-documentation.readthedocs.io/\n\n|build-status| |docs| |cc-badge| |cc-issues|\n\n\n\nInstallation\n------------\n\n.. code-block:: python\n\n pip install mailgunv3\n\n\nUsage\n-----\n\n.. code-block:: python\n\n domain = 'example.com'\n\n mg = MailGunV3(domain,\n 'key-asdfghjkl',\n 'pubkey-asdfghjkl')\n\n res1 = (mg.\n mailinglist('mlA-{}@{}'.format(random.randint(0, 10), domain)).\n create('Test Mailing List').\n delete())\n print(repr(res1))\n\n res2 = (mg.\n mailinglist('mlB-{}@{}'.format(random.randint(0, 10), domain)).\n create('Test Mailing List').\n update(\n name='New Name',\n description='New Description').\n get())\n print(repr(res2))\n\n res3 = (mg.\n mailinglist('newsletter-dev@' + domain).\n members())\n print(repr(res3))\n\n res4 = (mg.\n mailinglist('newsletter-dev@' + domain).\n member('a01-{}@{}'.format(random.randint(0, 1000), domain)).\n create(\n name='Foo Bar',\n params={'a': 1, 'b': 2}).\n get())\n print(repr(res4))\n\n res5 = (mg.\n mailinglist('newsletter-dev@' + domain).\n member('a01-{}@{}'.format(random.randint(0, 1000), domain)).\n update(\n name='Foo Bar - EDIT',\n params={'a': 1, 'b': 2}).\n get())\n print(repr(res5))\n\n res6 = (mg.\n mailinglist('newsletter-dev@' + domain).\n members())\n print(repr(res6))\n\n res7 = (mg.\n mailinglist('newsletter-dev@' + domain).\n member('a01@' + domain).\n delete())\n print(repr(res7))\n\nExternal Links\n--------------\n\n* `GitHub`_\n* `PyPi`_\n* `Travis`_\n* `ReadTheDocs`_\n\n.. _GitHub: https://github.com/martin-majlis/MailGun-V3/\n.. _PyPi: https://pypi.python.org/pypi/MailGun-V3/\n.. _Travis: https://travis-ci.org/martin-majlis/MailGun-V3/\n.. _ReadTheDocs: http://mailgun-v3.readthedocs.io/\n\n\n\n.. |build-status| image:: https://travis-ci.org/martin-majlis/MailGun-V3.svg?branch=master\n :alt: build status\n :target: https://travis-ci.org/martin-majlis/MailGun-V3\n\n.. |docs| image:: https://readthedocs.org/projects/mailgun-v3/badge/?version=latest\n :target: http://mailgun-v3.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. |cc-badge| image:: https://codeclimate.com/github/martin-majlis/MailGun-V3/badges/gpa.svg\n :target: https://codeclimate.com/github/martin-majlis/MailGun-V3\n :alt: Code Climate\n\n.. |cc-issues| image:: https://codeclimate.com/github/martin-majlis/MailGun-V3/badges/issue_count.svg\n :target: https://codeclimate.com/github/martin-majlis/MailGun-V3\n :alt: Issue Count\n\n\nChangelog\n======================\n\n0.2\n---\n* Playing with documentation\n\n0.1\n---\n* Initial commit", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/martin-majlis/MailGunV3/archive/master.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/martin-majlis/MailGunV3", "keywords": "mailgun mail", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "MailGun-V3", "package_url": "https://pypi.org/project/MailGun-V3/", "platform": "any", "project_url": "https://pypi.org/project/MailGun-V3/", "project_urls": { "Download": "https://github.com/martin-majlis/MailGunV3/archive/master.tar.gz", "Homepage": "https://github.com/martin-majlis/MailGunV3" }, "release_url": "https://pypi.org/project/MailGun-V3/0.3.2/", "requires_dist": null, "requires_python": "", "summary": "Python Wrapper With Fluent API for Mailgun v3", "version": "0.3.2" }, "last_serial": 5458477, "releases": { "0.2.8": [ { "comment_text": "", "digests": { "md5": "195c51344b180a5ab13890bd57fcafa1", "sha256": "7e189898a94349d76b03c0ca7fe022fe88cda6070d12bf2c1d81e8f7d616b43f" }, "downloads": -1, "filename": "MailGun-V3-0.2.8.tar.gz", "has_sig": false, "md5_digest": "195c51344b180a5ab13890bd57fcafa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5744, "upload_time": "2017-07-05T22:21:01", "url": "https://files.pythonhosted.org/packages/23/3e/38f0e0c7230cc0a5918c81602e40503c061a641708e191a0d3dace2b72d2/MailGun-V3-0.2.8.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "cfae2bc1879c21ee429c1e8a0ec89ef1", "sha256": "c2fe85b828628e3af737d889a51735554021c13d56b65e6c55d8e6b75b06bbdd" }, "downloads": -1, "filename": "MailGun-V3-0.3.2.tar.gz", "has_sig": false, "md5_digest": "cfae2bc1879c21ee429c1e8a0ec89ef1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5264, "upload_time": "2019-06-27T19:19:48", "url": "https://files.pythonhosted.org/packages/ef/64/df4f9c17c8f9f140e93fded65ca33a72ddef44c7d48bd82ccfcd78cebad9/MailGun-V3-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cfae2bc1879c21ee429c1e8a0ec89ef1", "sha256": "c2fe85b828628e3af737d889a51735554021c13d56b65e6c55d8e6b75b06bbdd" }, "downloads": -1, "filename": "MailGun-V3-0.3.2.tar.gz", "has_sig": false, "md5_digest": "cfae2bc1879c21ee429c1e8a0ec89ef1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5264, "upload_time": "2019-06-27T19:19:48", "url": "https://files.pythonhosted.org/packages/ef/64/df4f9c17c8f9f140e93fded65ca33a72ddef44c7d48bd82ccfcd78cebad9/MailGun-V3-0.3.2.tar.gz" } ] }