{ "info": { "author": "Dotan Nahum", "author_email": "jondotan@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nDescription: # Scrapy-mailgun: Mailgun integration for Scrapy\n \n A [mailgun](https://mailgun.com) integration for scrapy.\n \n ## Quick Start\n \n Install via `pip`:\n \n ```\n $ pip install scrapy-mailgun\n ```\n \n What's available right now is an `EmailReport` extension, that allows you to send a report once a spider is done through mailgun.\n \n Configure:\n \n ```python\n EXTENSIONS = {\n 'scrapymailgun.extensions.EmailReport': True,\n }\n \n SM_DOMAIN = 'api.mailgun.net/v3/XXXXXXXXXXXXXXXX.mailgun.org'\n SM_KEY = 'key-XXXXXXXXXXXXXXXXX'\n SM_FROM = 'from-email@acme.org'\n SM_TO = 'to-email@acme.org' # comma sparated\n \n SM_EMAIL_REPORT_TMPL_SUBJECT = 'Your spider [{{spider.name}}] is done: {{reason}}'\n SM_EMAIL_REPORT_TMPL_BODY = 'job stats: {{ spider.crawler.stats._stats }}'\n ```\n \n ### Templates\n \n Currently verbatim template strings are supported for flexible scraper configuration (you can change these remotely with no deploy).\n \n As for template variables, what's available to you is your `spider` and `reason` instances directly. Do what ever you want with those in the templates. \n \n \n ## Developers\n \n Set up a development environment\n ```\n $ pip install -r requirements.txt\n ```\n \n ### Development\n \n * Dependencies: list them in `requirements.txt`\n \n ### Release\n \n * Dependencies: list them in `setup.py` under `install_requires`:\n \n ```python\n install_requires=['peppercorn'],\n ```\n \n Then:\n \n ```\n $ make dist && make release\n ```\n \n # Contributing\n \n Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).\n \n \n ### Thanks:\n \n To all [Contributors](https://github.com/jondot/scrapy-mailgun/graphs/contributors) - you make this happen, thanks!\n \n \n # Copyright\n \n Copyright (c) 2017 [Dotan Nahum](http://gplus.to/dotan) [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE) for further details.\n \nPlatform: UNKNOWN\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jondot/scrapy-mailgun", "keywords": "", "license": "Copyright (c) 2017 Dotan Nahum", "maintainer": "", "maintainer_email": "", "name": "scrapy-mailgun", "package_url": "https://pypi.org/project/scrapy-mailgun/", "platform": "", "project_url": "https://pypi.org/project/scrapy-mailgun/", "project_urls": { "Homepage": "https://github.com/jondot/scrapy-mailgun" }, "release_url": "https://pypi.org/project/scrapy-mailgun/0.3.0/", "requires_dist": [ "jinja2", "requests" ], "requires_python": "", "summary": "scrapy-mailgun: Hook emails with scrapy.", "version": "0.3.0" }, "last_serial": 3143136, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7d4d52a92140218b8df793b4d8dafe84", "sha256": "fb63664693df9d9cda4bbf7c8e7c0d9f82317d5b4145f58dec6592ded097cf2f" }, "downloads": -1, "filename": "scrapy_mailgun-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "7d4d52a92140218b8df793b4d8dafe84", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5098, "upload_time": "2017-09-02T12:48:25", "url": "https://files.pythonhosted.org/packages/2d/ef/7ed87bef142187494f588201e8249efea166dc2365f527c565cb9537b855/scrapy_mailgun-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93fb8370911a3f5a4c8bc4c6c81ec605", "sha256": "07644eb326444f09dfe1df6645d7c572e5a00dfc486d2e9534642a4f244743d2" }, "downloads": -1, "filename": "scrapy-mailgun-0.1.0.tar.gz", "has_sig": false, "md5_digest": "93fb8370911a3f5a4c8bc4c6c81ec605", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2513, "upload_time": "2017-09-02T12:48:27", "url": "https://files.pythonhosted.org/packages/d6/da/805fb9b94e7b8d5cfae54a519ff5e9b5fa7ca9ac26005b046c28d34b2e19/scrapy-mailgun-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0c7472267a1930e6b18e07b45df9785e", "sha256": "8720f3b51ff9aadb2e9bd52d8cef1d5118cefbb759e38ee5441c414131c1a37a" }, "downloads": -1, "filename": "scrapy_mailgun-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0c7472267a1930e6b18e07b45df9785e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5662, "upload_time": "2017-09-02T14:08:35", "url": "https://files.pythonhosted.org/packages/28/6c/62fc1c9c8ff231d853eb3ef9772a8fdb75e4807598f7dd1f25d7f24ab699/scrapy_mailgun-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "136307ce8402692082f2263cfb912ee8", "sha256": "673a70a9787ddd215b049ce88e0108363a734ee1a5e89b0268b0bc56693d1073" }, "downloads": -1, "filename": "scrapy-mailgun-0.2.0.tar.gz", "has_sig": false, "md5_digest": "136307ce8402692082f2263cfb912ee8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2883, "upload_time": "2017-09-02T14:08:36", "url": "https://files.pythonhosted.org/packages/c3/f8/c9820e09fb393f0cefe9bbe7aa8e4fd921697c5a7aa833c150ba6482febe/scrapy-mailgun-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c92213dcf057be1c0aa4ba2a09bb79d3", "sha256": "83c516b91f51bbfacc266551775ab8cec36631bc29b804aec0f0056a6a9ae4a4" }, "downloads": -1, "filename": "scrapy_mailgun-0.3.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c92213dcf057be1c0aa4ba2a09bb79d3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5839, "upload_time": "2017-09-02T14:28:17", "url": "https://files.pythonhosted.org/packages/f9/00/c9a37c31b71c4276b0e73cc65ad6ce3a84dcde762eaf62d7e423b969c5f1/scrapy_mailgun-0.3.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68091303b6ee6d2d231703fcfa0f311a", "sha256": "b898138909b35724fa844b4c2d6256d1fdd6c2c2a92bbd4eebc2d433dca9a723" }, "downloads": -1, "filename": "scrapy-mailgun-0.3.0.tar.gz", "has_sig": false, "md5_digest": "68091303b6ee6d2d231703fcfa0f311a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2964, "upload_time": "2017-09-02T14:28:19", "url": "https://files.pythonhosted.org/packages/87/2f/3e5d9567326df8e4894f84fc9957045e2355192e908ca1b1a0aa2616ac56/scrapy-mailgun-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c92213dcf057be1c0aa4ba2a09bb79d3", "sha256": "83c516b91f51bbfacc266551775ab8cec36631bc29b804aec0f0056a6a9ae4a4" }, "downloads": -1, "filename": "scrapy_mailgun-0.3.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c92213dcf057be1c0aa4ba2a09bb79d3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5839, "upload_time": "2017-09-02T14:28:17", "url": "https://files.pythonhosted.org/packages/f9/00/c9a37c31b71c4276b0e73cc65ad6ce3a84dcde762eaf62d7e423b969c5f1/scrapy_mailgun-0.3.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68091303b6ee6d2d231703fcfa0f311a", "sha256": "b898138909b35724fa844b4c2d6256d1fdd6c2c2a92bbd4eebc2d433dca9a723" }, "downloads": -1, "filename": "scrapy-mailgun-0.3.0.tar.gz", "has_sig": false, "md5_digest": "68091303b6ee6d2d231703fcfa0f311a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2964, "upload_time": "2017-09-02T14:28:19", "url": "https://files.pythonhosted.org/packages/87/2f/3e5d9567326df8e4894f84fc9957045e2355192e908ca1b1a0aa2616ac56/scrapy-mailgun-0.3.0.tar.gz" } ] }