Skip to main content

ImageSoup: Image Searching for Humans

https://img.shields.io/pypi/v/imagesoup.svg https://img.shields.io/pypi/l/imagesoup.svg https://travis-ci.org/rafpyprog/ImageSoup.svg?branch=master https://codecov.io/gh/rafpyprog/ImageSoup/branch/master/graph/badge.svg

Quick Tutorial

>>> from imagesoup import ImageSoup
>>>
>>> soup = ImageSoup()
>>> images = soup.search('"Arya Stark"', n_images=10)
>>>
>>> arya = images[0]
>>> arya.URL
'https://upload.wikimedia.org/wikipedia/en/3/39/Arya_Stark-Maisie_Williams.jpg'
>>> arya.show()
https://upload.wikimedia.org/wikipedia/en/3/39/Arya_Stark-Maisie_Williams.jpg
>>> arya.size
(300, 404)
>>> arya.dpi
(72, 72)
>>> arya.color_count
7269
>>> arya.main_color(n=2)
[('black', 0.6219224422442244), ('darkslategrey', 0.27796204620462045)]
>>> arya.to_file('arya.jpg')

Installation

To install ImageSoup, simply use pip:

$ pip install imagesoup

Metadata

Release files for imagesoup 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imagesoup 0.1.0
File Size Uploaded Provenance Actions
imagesoup-0.1.0.tar.gz 6.0 kB Without provenance Details for imagesoup-0.1.0.tar.gz

Release files / imagesoup-0.1.0.tar.gz

Download URL imagesoup-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a1aad684e4697f894256664757ea12ee32f61b40ef9ee914c14ff556ee1d101f
BLAKE2b-256 checksum
How to use checksums
23b8eb07c872c7ff29382ac3e6b33b38584151e2420d1020ecca7ab0e247214e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for imagesoup 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page