Skip to main content

What it does:

Reads and displays an image from a url, local filename, PIL image object, numpy.ndimage object, or any object type scipy.misc.imread supports directly. Also contains an simread function that will return the image as a numpy.ndarray.

I’ve had to look up how to display an image in this context or that too many times. This is an attempt to remedy that.

Setup

$ pip install simple-imshow

Usage

>> from simshow import simshow
>> simshow('test-cats.jpg')  # display from local file
>> simshow('http://mathandy.com/escher_sphere.png')  # display from url

Request for Community Support:

I’d love for others to help me make this a more robust, more convenient tool – so, as the FAA likes to say, “If you see something, say something.” Or at least feel free to.

TODO:

  • Add simple tool to take a list of images and display a random sample (or all) as a grid of thumbnails.

  • Add support for plots.

Some thoughts on guidelines for this project:

  • simread should be fast.

  • I’d like to keep required dependencies limited to common ones available through pip (e.g. no requirement for opencv)

  • It’d be nice if simshow could refresh quickly enough support video feeds. In my experience matplotlib figures will not though (I do not know matplotlib well though).

Release files for simple-imshow 1.0.post1

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

Source distribution (sdist)

Source distribution for simple-imshow 1.0.post1
File Size Uploaded
simple-imshow-1.0.post1.tar.gz 166.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-imshow 1.0.post1
File Interpreter ABI Platform
simple_imshow-1.0.post1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 172.6 kB

Release files / simple-imshow-1.0.post1.tar.gz

Download URL simple-imshow-1.0.post1.tar.gz
Size 166.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8d51e323ffee432d91f64033ff7bd797f0520bb4799800bbd022d4923e37bfdd
BLAKE2b-256 checksum
How to use checksums
6296019552f62ed0367823638ff4a3c9c8ff70d0ad98a576d6b78ca46c5871c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / simple_imshow-1.0.post1-py2.py3-none-any.whl

Download URL simple_imshow-1.0.post1-py2.py3-none-any.whl
Size 5.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4f7f9b340a94dc4fa8b9ba795b773e30cff9f4f5480ba71449a1e8002f238674
BLAKE2b-256 checksum
How to use checksums
b3edbae62e18b5a22e084a9045013370d41867e783228a554556d169ec31e870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.post1 This release

2 release files

1.0

2 release files

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