{ "info": { "author": "Vinta Chen", "author_email": "vinta.chen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: Chinese (Traditional)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Multimedia :: Graphics", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "sbi\n===\n\n.. image:: https://travis-ci.org/vinta/sbi.py.png?branch=master\n :alt: Build Badge\n :target: https://travis-ci.org/vinta/sbi.py\n\n.. image:: https://coveralls.io/repos/vinta/sbi.py/badge.png\n :alt: Coverage Badge\n :target: https://coveralls.io/r/vinta/sbi.py\n\n.. image:: https://badge.fury.io/py/sbi.png\n :alt: Version Badge\n :target: http://badge.fury.io/py/sbi\n\n.. image:: https://d2weczhvl823v0.cloudfront.net/vinta/sbi.py/trend.png\n :alt: Bitdeli badge\n :target: https://bitdeli.com/free\n\nDead simple Python wrapper for `Google Search By Image `_\n\nInstallation\n============\n\n.. code-block:: bash\n\n $ pip install sbi\n\nUsage\n=====\n\n.. code-block:: python\n\n import sbi\n\n result = sbi.search_by(url='http://vinta.s3.amazonaws.com/godness_k.jpg')\n\n print(result.best_guess)\n \"\"\" output:\n Kiko Mizuhara\n \"\"\"\n\n print(result.images)\n \"\"\" output:\n [\n {\n 'url': 'http://img.hudie.com/forum/201308/04/103414ypoypetbqrtvqpej.jpg',\n 'width': '612',\n 'height': '612',\n },\n {\n 'url': 'http://pic.prepics-cdn.com/pib47864010/23041841.jpeg',\n 'width': '612',\n 'height': '612',\n },\n {\n 'url': 'http://show.ellechina.com/Public/uploads/2013/04/18/516fe30ae9d94_ot.jpg',\n 'width': '600',\n 'height': '600'\n },\n {\n 'url': 'http://cfile1.uf.tistory.com/image/253B004051AAF01236D264',\n 'width': '550',\n 'height': '551',\n },\n ...\n {\n 'url': 'http://media-cache-ec0.pinimg.com/236x/44/48/af/4448af8e35b7ef40dd09acf451770d74.jpg',\n 'width': '236',\n 'height': '236',\n },\n ]\n \"\"\"\n\nIf you prefer dictionary:\n\n.. code-block:: python\n\n result_dict = result.to_dict()\n\n\nHistory\n=======\n\n0.0.7 (2013-12-12)\n++++++++++++++++++\n\n- Add `OhShitCAPTCHA` exception\n- Random user-agent\n- New headers settings\n\n0.0.6 (2013-12-07)\n++++++++++++++++++\n\n- Six is good\n\n0.0.5 (2013-12-05)\n++++++++++++++++++\n\n- SBIResult improvement\n- Fix `extract_best_guess()`\n\n0.0.4 (2013-12-05)\n++++++++++++++++++\n\n- Python 2.6 compatibility\n- Python 3 compatibility\n\n0.0.3 (2013-12-04)\n++++++++++++++++++\n\n- Initial release", "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/vinta/sbi.py", "keywords": "google image search web content scraper parser crawler", "license": "The MIT License (MIT)\n\nCopyright (c) 2013 Vinta\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject 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, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "sbi", "package_url": "https://pypi.org/project/sbi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sbi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/vinta/sbi.py" }, "release_url": "https://pypi.org/project/sbi/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "Dead simple Python wrapper for Google Search By Image", "version": "0.0.7" }, "last_serial": 2805990, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "92c65d66c4a865d7bfd9a1cab9364b7b", "sha256": "b6c774de77af29b4e66db07869e527374d4bd3fddb4f1beee96e1e5403ed07a7" }, "downloads": -1, "filename": "sbi-0.0.3.tar.gz", "has_sig": false, "md5_digest": "92c65d66c4a865d7bfd9a1cab9364b7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3460, "upload_time": "2013-12-04T11:49:13", "url": "https://files.pythonhosted.org/packages/fe/e9/7f9a78294ce7c4a31312809e318a3fa889b630a2617326ffd57ae6704140/sbi-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "49a36be0bc5a2c7ee20965946701e18a", "sha256": "a46b41b4a0734b70b327576402cc25364fb29537b900840244d7a2402b65465b" }, "downloads": -1, "filename": "sbi-0.0.4.tar.gz", "has_sig": false, "md5_digest": "49a36be0bc5a2c7ee20965946701e18a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4458, "upload_time": "2013-12-04T17:47:04", "url": "https://files.pythonhosted.org/packages/4b/73/bb402f8a6c1dab4cc4a629ae724c0a062f2eabd4a2ebd6fcb746bec0f1ae/sbi-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "93a31e819905782cf342f0ebe9ec5056", "sha256": "eb13ce8717ef752aaab13e380af1bdd88b01dc6eb99d7dc7178c0b6359aad6cf" }, "downloads": -1, "filename": "sbi-0.0.5.tar.gz", "has_sig": false, "md5_digest": "93a31e819905782cf342f0ebe9ec5056", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4581, "upload_time": "2013-12-04T18:42:14", "url": "https://files.pythonhosted.org/packages/02/a5/3681434a00a529965953799cf9f1291aa2e46a9f5cd13ba372caad576a95/sbi-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2a4b5945ee79523ccfa1c7b14be6feaf", "sha256": "de123180092200e5cec8d227a9f2134f3136361228eb29d59c831b5a8763da1e" }, "downloads": -1, "filename": "sbi-0.0.6.tar.gz", "has_sig": false, "md5_digest": "2a4b5945ee79523ccfa1c7b14be6feaf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4567, "upload_time": "2013-12-06T16:03:58", "url": "https://files.pythonhosted.org/packages/c1/0c/d669cd408a8c38bb4784126cd853c020806db8ce590ee0803cadd873702d/sbi-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "27d87c5ffb26f8350199dda363d9fdc5", "sha256": "88aa26be785a1d8965cb25fe292db7fcc046c221560f09e1f2d34f4682b6797e" }, "downloads": -1, "filename": "sbi-0.0.7.tar.gz", "has_sig": false, "md5_digest": "27d87c5ffb26f8350199dda363d9fdc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5089, "upload_time": "2013-12-11T18:23:23", "url": "https://files.pythonhosted.org/packages/77/b2/1b39d4791c80c29f47f1875f38205f95560329ec2fa74916c9fe7374a16f/sbi-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "27d87c5ffb26f8350199dda363d9fdc5", "sha256": "88aa26be785a1d8965cb25fe292db7fcc046c221560f09e1f2d34f4682b6797e" }, "downloads": -1, "filename": "sbi-0.0.7.tar.gz", "has_sig": false, "md5_digest": "27d87c5ffb26f8350199dda363d9fdc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5089, "upload_time": "2013-12-11T18:23:23", "url": "https://files.pythonhosted.org/packages/77/b2/1b39d4791c80c29f47f1875f38205f95560329ec2fa74916c9fe7374a16f/sbi-0.0.7.tar.gz" } ] }