{"id":19574594,"url":"https://github.com/rafpyprog/imagesoup","last_synced_at":"2025-04-27T05:34:09.468Z","repository":{"id":57437826,"uuid":"102810750","full_name":"rafpyprog/ImageSoup","owner":"rafpyprog","description":"Python library designed for quick search and downloading images from Google Images.","archived":false,"fork":false,"pushed_at":"2020-03-11T09:56:20.000Z","size":2917,"stargazers_count":69,"open_issues_count":2,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T14:03:15.708Z","etag":null,"topics":["google-images","image-processing","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafpyprog.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-08T03:00:48.000Z","updated_at":"2024-06-30T00:55:11.000Z","dependencies_parsed_at":"2022-09-16T03:24:08.140Z","dependency_job_id":null,"html_url":"https://github.com/rafpyprog/ImageSoup","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2FImageSoup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2FImageSoup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2FImageSoup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafpyprog%2FImageSoup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafpyprog","download_url":"https://codeload.github.com/rafpyprog/ImageSoup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251094583,"owners_count":21535324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-images","image-processing","python"],"created_at":"2024-11-11T06:42:47.716Z","updated_at":"2025-04-27T05:34:09.223Z","avatar_url":"https://github.com/rafpyprog.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ImageSoup: Image Searching for Humans\n=====================================\n\n\n.. image:: https://img.shields.io/pypi/v/imagesoup.svg\n  :target: https://pypi.python.org/pypi/imagesoup\n\n.. image:: https://img.shields.io/pypi/l/imagesoup.svg\n  :target: https://pypi.python.org/pypi/imagesoup\n\n.. image:: https://img.shields.io/pypi/pyversions/imagesoup.svg\n  :target: https://pypi.python.org/pypi/imagesoup\n\n.. image:: https://travis-ci.org/rafpyprog/ImageSoup.svg?branch=master\n  :target: https://travis-ci.org/rafpyprog/ImageSoup\n\n.. image:: https://codecov.io/gh/rafpyprog/ImageSoup/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/rafpyprog/ImageSoup\n  \n.. image:: https://img.shields.io/pypi/dm/imagesoup.svg\n  :target: https://pypi.org/project/imagesoup/\n\n\n  \nQuick Tutorial  \n--------------\n\n.. code-block:: python\n    \n    \u003e\u003e\u003e from imagesoup import ImageSoup\n    \u003e\u003e\u003e\n    \u003e\u003e\u003e soup = ImageSoup()    \n    \u003e\u003e\u003e images = soup.search('\"Arya Stark\"', n_images=10)\n    \u003e\u003e\u003e\n    \u003e\u003e\u003e arya = images[0]\n    \u003e\u003e\u003e arya.URL\n    'https://upload.wikimedia.org/wikipedia/en/3/39/Arya_Stark-Maisie_Williams.jpg'\n    \u003e\u003e\u003e arya.show()\n.. image:: https://upload.wikimedia.org/wikipedia/en/3/39/Arya_Stark-Maisie_Williams.jpg\n\n.. code-block:: python\n\n    \u003e\u003e\u003e arya.size\n    (300, 404)\n    \u003e\u003e\u003e arya.dpi\n    (72, 72)\n    \u003e\u003e\u003e arya.color_count\n    7269\n    \u003e\u003e\u003e arya.main_color(n=2)\n    [('black', 0.6219224422442244), ('darkslategrey', 0.27796204620462045)]\n    \u003e\u003e\u003e arya.to_file('arya.jpg')\n\nInstallation\n------------\n\nTo install ImageSoup, simply use pip:\n\n.. code-block:: bash\n\n    $ pip install imagesoup\n\nAdvanced Search\n---------------\n\n**image_size:** string, tuple(width, height)\n    Find images in any size you need.\n\n* (width, height)\n\n\n* icon\n* medium\n* large\n\n\n* 400x300+\n* 640x480+\n* 800x600+\n* 1024x768+\n\n\n* 2mp+\n* 4mp+\n* 8mp+\n* 10mp+\n* 12mp+\n* 15mp+\n* 20mp+\n* 40mp+\n* 70mp+\n\n\n**aspect_ratio:** string\n    Specify the shape of images.\n\n* tall\n* square\n* wide\n* panoramic\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from imagesoup import ImageSoup\n    \u003e\u003e\u003e\n    \u003e\u003e\u003e soup = ImageSoup()\n    \u003e\u003e\u003e images = soup.search('Cersei Lannister', image_size='icon', aspect_ratio='square')\n    \u003e\u003e\u003e\n    \u003e\u003e\u003e im = images[0]\n    \u003e\u003e\u003e im.URL\n    'http://cdn.images.express.co.uk/img/dynamic/galleries/64x64/264415.jpg'\n    \u003e\u003e\u003e im.size\n    (64, 64)\n    \u003e\u003e\u003e im.show()\n.. image:: http://cdn.images.express.co.uk/img/dynamic/galleries/64x64/264415.jpg\n\n    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafpyprog%2Fimagesoup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafpyprog%2Fimagesoup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafpyprog%2Fimagesoup/lists"}