{ "info": { "author": "Jiawei Li", "author_email": "jiawei.h.li@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# mangopi\n\n[![Build Status](https://travis-ci.org/jiaweihli/mangopi.png)](https://travis-ci.org/jiaweihli/mangopi)\n[![Coverage Status](https://coveralls.io/repos/jiaweihli/mangopi/badge.png?branch=master)](https://coveralls.io/r/jiaweihli/mangopi?branch=master)\n\nmangopi aims to be an easy-to-use, easy-to-extend manga api. Adding a new site should be as simple\nas filling in a few regexes - everything else is taken care of.\n\n## Installation\n\nRun `pip install mangopi`, or clone the repo and run `python setup.py install`.\n\n## Layout\n\n`helper` contains some shared, non-application-specific code. (Or it will, after the Util class\nis removed.)\n\n`site` contains the library logic to retrieve data from the websites. The hierarchy:\n\n MangaSite\n - Noez\n - MangaFox\n - MangaHere\n - Aftv\n - MangaPanda\n - MangaReader\n\nNoez and Aftv appear to be the parent companies of the sites that exist under them.\n\n## Usage\n\nQ: What's the image url for the first page of the first chapter of 'Toriko'?\n\n >>> from mangopi.site.mangafox import MangaFox\n >>> MangaFox.series('toriko').chapters[0].pages[0].image.url\n 'http://z.mfcdn.net/store/manga/3660/01-001.0/compressed/toriko_v01_c01_01.jpg'\n\nAlternatively, use MetaSite, which allows aggregation of multiple sites (there are some performance\nissues related to error correction that are being worked out however):\n\n >>> from mangopi.metasite import MetaSite\n >>> search = MetaSite([MangaFox, MangaHere, MangaPanda, MangaReader])\n >>> from mangopi.site.mangafox import MangaFox\n >>> from mangopi.site.mangahere import MangaHere\n >>> from mangopi.site.mangapanda import MangaPanda\n >>> from mangopi.site.mangareader import MangaReader\n >>> search.series('death note').chapters['22'].pages[0].image.url\n 'http://i39.mangapanda.com/death-note/22/death-note-1678383.jpg'\n\nTake a look at the `mangopi.tests` module for further examples.\n\n## Version Support\n\nSupport is maintained on Python 2.7, 3.3, and 3.4.\n\n## Testing\n\nRun `python setup.py test` or `nosetests`.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jiaweihli/mangopi/", "keywords": "manga api", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "mangopi", "package_url": "https://pypi.org/project/mangopi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mangopi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jiaweihli/mangopi/" }, "release_url": "https://pypi.org/project/mangopi/0.2.1.1/", "requires_dist": null, "requires_python": null, "summary": "A manga API with a pluggable site architecture.", "version": "0.2.1.1" }, "last_serial": 1110121, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c5cc0632e12243130dea105f8bcd169f", "sha256": "735a6941200eb95cc754adb9df6cffe6cd4a64edbf1e4bbe37216e95ec687316" }, "downloads": -1, "filename": "mangopi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c5cc0632e12243130dea105f8bcd169f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2702, "upload_time": "2013-08-22T23:01:54", "url": "https://files.pythonhosted.org/packages/bb/ef/1d2e0cf9ffce964b638f5351f1c52e1a9a05683ad11f1bcf9e606fe7f6ad/mangopi-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b5c9f59b8d4d7cbbefd993c52ea63013", "sha256": "e17754c6059ac0d54e44e45c4abd59536f59dce66f1278e1e1f7880c1ad1ad61" }, "downloads": -1, "filename": "mangopi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b5c9f59b8d4d7cbbefd993c52ea63013", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4737, "upload_time": "2013-08-27T05:17:15", "url": "https://files.pythonhosted.org/packages/ec/10/c8ce4302846e1b998225d3340ef49968f324cbcfc58b222392dac605c37d/mangopi-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "74b4ace05629e8aa0855958df88d2b09", "sha256": "1ce84a36774734eb91364ea16d16e5b961023b6858df6fd9219028d275c14d9f" }, "downloads": -1, "filename": "mangopi-0.2.0.tar.gz", "has_sig": false, "md5_digest": "74b4ace05629e8aa0855958df88d2b09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6305, "upload_time": "2014-05-31T05:17:49", "url": "https://files.pythonhosted.org/packages/12/aa/f596aa034a7c31628ede84aaba5f6b13038f3db79e7f84b66fec06f98a44/mangopi-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "77d5e55647ede142a930e60a4f0ea3d4", "sha256": "17eb48a1d261bb1a55df28a2cc05504928b976b61fb5a8c1a87eb62cb293ace9" }, "downloads": -1, "filename": "mangopi-0.2.1.tar.gz", "has_sig": false, "md5_digest": "77d5e55647ede142a930e60a4f0ea3d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6280, "upload_time": "2014-05-31T10:33:06", "url": "https://files.pythonhosted.org/packages/8f/41/f953826a2df3bd33027bab92418403e7dd4e5e0f598d53fbbd3c6acc4335/mangopi-0.2.1.tar.gz" } ], "0.2.1.1": [ { "comment_text": "", "digests": { "md5": "4a27a5c2e2e2e5e90f504c72915952d3", "sha256": "32c186fb716752064873c8da23dd4c0d2a9574954779dca82835b261cadfeed0" }, "downloads": -1, "filename": "mangopi-0.2.1.1.tar.gz", "has_sig": false, "md5_digest": "4a27a5c2e2e2e5e90f504c72915952d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6290, "upload_time": "2014-06-01T04:33:20", "url": "https://files.pythonhosted.org/packages/dc/99/ecda3eaba5eef4999d21026190da8ecc3e3aae97cc05450ecc1ead76e721/mangopi-0.2.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a27a5c2e2e2e5e90f504c72915952d3", "sha256": "32c186fb716752064873c8da23dd4c0d2a9574954779dca82835b261cadfeed0" }, "downloads": -1, "filename": "mangopi-0.2.1.1.tar.gz", "has_sig": false, "md5_digest": "4a27a5c2e2e2e5e90f504c72915952d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6290, "upload_time": "2014-06-01T04:33:20", "url": "https://files.pythonhosted.org/packages/dc/99/ecda3eaba5eef4999d21026190da8ecc3e3aae97cc05450ecc1ead76e721/mangopi-0.2.1.1.tar.gz" } ] }