{ "info": { "author": "Steve Leonard", "author_email": "sleonard76@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "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", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Communications :: Email", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# pystmark\n\n[![PyPI version](https://badge.fury.io/py/pystmark.png)](http://badge.fury.io/py/pystmark)\n[![Build Status](https://travis-ci.org/xsleonard/pystmark.png)](https://travis-ci.org/xsleonard/pystmark)\n[![Coverage Status](https://coveralls.io/repos/xsleonard/pystmark/badge.png)](https://coveralls.io/r/xsleonard/pystmark)\n\n\n[Postmark API](http://developer.postmarkapp.com/) library for python 2.7, 3.6 and pypy.\nBuilt on top of the [requests](http://docs.python-requests.org/en/latest/) library.\n\n## Web Framework Integration\n\n* [Flask-Pystmark](https://github.com/xsleonard/flask-pystmark)\n\n## Documentation\n\nThe full Sphinx-compiled documentation is available here: [https://readthedocs.org/docs/pystmark/en/latest/](https://readthedocs.org/docs/pystmark/en/latest/)\n\n## Example Usage\n\n```python\nimport pystmark\n\nAPI_KEY = 'my_api_key'\nSENDER = 'me@example.com'\n\n# Send a single message\nmessage = pystmark.Message(sender=SENDER, to='you@example.com', subject='Hi',\n text='A message', tag='greeting')\npystmark.send(message, api_key=API_KEY)\n\n\n# Send multiple messages (via Postmark's batch send API)\nrecipients = ['you{0}@example.com'.format(i) for i in xrange(20)]\nmessages = [pystmark.Message(sender=SENDER, to=to, subject='Hi',\n text='A message', tag='greeting')\n for to in recipients]\n\nresponse = pystmark.send_batch(messages, api_key=API_KEY)\n\n# Check API response error\ntry:\n response.raise_for_status()\nexcept pystmark.UnauthorizedError:\n print 'Use your real API key'\n\n```\n\n## Contribution\n\n1. Fork this repo\n2. Make your changes and write a test for them\n3. Add yourself to the [AUTHORS.md](./AUTHORS.md) file and submit a pull request\n\nPlease run the tests with `./setup.py test --with-integration`, with at least python2.7,\nbefore you make a pull request. Requirements for running the tests are in `tests/requirements.txt`.\nThe other versions will be handled by [travis-ci](https://travis-ci.org/).\n\nThe pep8 tests may fail if using pypy due to [this bug](https://bugs.pypy.org/issue1207),\nso that test is disabled if pypy is detected.\n\n## Copyright and License\n\npystmark is licensed under the MIT license. See the [LICENSE](./LICENSE) file for full details.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xsleonard/pystmark", "keywords": "postmark postmarkapp email", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pystmark", "package_url": "https://pypi.org/project/pystmark/", "platform": "any", "project_url": "https://pypi.org/project/pystmark/", "project_urls": { "Homepage": "https://github.com/xsleonard/pystmark" }, "release_url": "https://pypi.org/project/pystmark/0.4.8/", "requires_dist": null, "requires_python": "", "summary": "A Python library for the Postmark API (http://developer.postmarkapp.com/).", "version": "0.4.8" }, "last_serial": 5889684, "releases": { "0.1": [], "0.3": [ { "comment_text": "", "digests": { "md5": "05a92211c8ee19cf4f4c63d60fe5b87d", "sha256": "dd2ecb3671a2ca6480c91e33b2de331dda886fc72f6335a9f1e28ef769b51d90" }, "downloads": -1, "filename": "pystmark-0.3.tar.gz", "has_sig": false, "md5_digest": "05a92211c8ee19cf4f4c63d60fe5b87d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12829, "upload_time": "2013-06-13T10:12:44", "url": "https://files.pythonhosted.org/packages/93/8a/02c2dcbcdb437eb558b70acde5ac32ec01224bfe6bf0c9b46ebf34910b97/pystmark-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "b7ebdba16f2393187f15b28fef7b6849", "sha256": "48de2a42d85bf8211d83b21e03837d19be24d136d46f96f0c2e8fe8b933cff1d" }, "downloads": -1, "filename": "pystmark-0.3.1.tar.gz", "has_sig": false, "md5_digest": "b7ebdba16f2393187f15b28fef7b6849", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12919, "upload_time": "2013-06-13T10:43:14", "url": "https://files.pythonhosted.org/packages/ca/32/e5fb6073f0fc30f4cb8202f0d5aa1bd03ce3a0474127e29d0abd8ec93bd2/pystmark-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "bc75d8aa1cb30523fe43fe5bb8b66559", "sha256": "41d0dc7c3dfa717f40201177b982f301b3a465f51d7fa0db5de0111858b60ada" }, "downloads": -1, "filename": "pystmark-0.3.2.tar.gz", "has_sig": false, "md5_digest": "bc75d8aa1cb30523fe43fe5bb8b66559", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12932, "upload_time": "2013-06-13T10:46:52", "url": "https://files.pythonhosted.org/packages/7f/ed/4157930a77a2fb2dcbe45dd19a91587b7722b630dd0f21a1b2507444305d/pystmark-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "7e347ab92f847431445f653fbb6d0736", "sha256": "35d624f2ef6a4fa71ddd5aea22a70246962c9a676d31c1822d1bb975338660eb" }, "downloads": -1, "filename": "pystmark-0.3.3.tar.gz", "has_sig": false, "md5_digest": "7e347ab92f847431445f653fbb6d0736", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20154, "upload_time": "2013-06-13T10:57:43", "url": "https://files.pythonhosted.org/packages/c3/51/0f74e2a5a40fea3f7078c1bd6962b1c857b5d999ed6287d43bfad5c4027e/pystmark-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "f6a1cb0d41e340fce2b002cd3b4d22ff", "sha256": "2a6b5a4544febb473f81ccaa74e91534d6020f6fc4d590c20e25952b0928af3d" }, "downloads": -1, "filename": "pystmark-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f6a1cb0d41e340fce2b002cd3b4d22ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20613, "upload_time": "2014-03-20T22:41:33", "url": "https://files.pythonhosted.org/packages/a0/6a/9590b9807bf88a6d8d54b652601a81056a5a1aa76e42fa6d14ced6cd30eb/pystmark-0.3.4.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "a50afd4c38d3ece62f59f0350ccd6acb", "sha256": "be5ba4577e442db313dd313e3bec2ce436e3d911a4d20eae129dd575da181077" }, "downloads": -1, "filename": "pystmark-0.4.4.tar.gz", "has_sig": false, "md5_digest": "a50afd4c38d3ece62f59f0350ccd6acb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21401, "upload_time": "2014-04-16T02:54:56", "url": "https://files.pythonhosted.org/packages/2e/ee/5ca45badd3018b35c0853ff2057f8b49711d8a69ad804d08429f4ad91e9d/pystmark-0.4.4.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "8ed8e27a3627d228610b7e552b26e1e1", "sha256": "4c48a1f697c228fcad320b35690d3c270bc3168690448c0669af969ee553cd60" }, "downloads": -1, "filename": "pystmark-0.4.5.tar.gz", "has_sig": false, "md5_digest": "8ed8e27a3627d228610b7e552b26e1e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21326, "upload_time": "2015-11-04T22:31:14", "url": "https://files.pythonhosted.org/packages/0c/63/aaa718c4e919265c1b7a92130abe575da46b0cf9222dc0c0c7962185417f/pystmark-0.4.5.tar.gz" } ], "0.4.6": [ { "comment_text": "", "digests": { "md5": "f17fb4c5f97e189dc6516b515c619210", "sha256": "9a6f323e5e5acb0e376737cd8a4c9a182b950da27bbd70ecc4ce6a2e4c62e6e0" }, "downloads": -1, "filename": "pystmark-0.4.6-py2-none-any.whl", "has_sig": false, "md5_digest": "f17fb4c5f97e189dc6516b515c619210", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14760, "upload_time": "2016-10-19T23:07:54", "url": "https://files.pythonhosted.org/packages/5f/1c/f68263f1133487f4a26ccd619085cd650dc647fa40429fd9126ac63984d7/pystmark-0.4.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "effed18acdf8b04119673668299cb185", "sha256": "7f9e425162f9a5dfc7e9c2ae583232652345c71d8bab2137b0ff79929743a9a3" }, "downloads": -1, "filename": "pystmark-0.4.6.tar.gz", "has_sig": false, "md5_digest": "effed18acdf8b04119673668299cb185", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21357, "upload_time": "2016-10-19T23:07:58", "url": "https://files.pythonhosted.org/packages/ca/04/466961e4e24bcd26f6330c0d95450c275146f2fd313b49196c284af7d3fe/pystmark-0.4.6.tar.gz" } ], "0.4.8": [ { "comment_text": "", "digests": { "md5": "347c95b45b859e63328051aae11cb9d1", "sha256": "8e04839b38e66846f5a078b7ed73d5b1dcc74d53989d5880a012bb9646895e09" }, "downloads": -1, "filename": "pystmark-0.4.8.tar.gz", "has_sig": false, "md5_digest": "347c95b45b859e63328051aae11cb9d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22456, "upload_time": "2019-09-26T09:29:14", "url": "https://files.pythonhosted.org/packages/4a/50/76232c6640c754b83864d9ba31d027152ab761575595054435c846433837/pystmark-0.4.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "347c95b45b859e63328051aae11cb9d1", "sha256": "8e04839b38e66846f5a078b7ed73d5b1dcc74d53989d5880a012bb9646895e09" }, "downloads": -1, "filename": "pystmark-0.4.8.tar.gz", "has_sig": false, "md5_digest": "347c95b45b859e63328051aae11cb9d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22456, "upload_time": "2019-09-26T09:29:14", "url": "https://files.pythonhosted.org/packages/4a/50/76232c6640c754b83864d9ba31d027152ab761575595054435c846433837/pystmark-0.4.8.tar.gz" } ] }