Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A simple and unified library to display images in Jupyter notebooks

Project description

sora (صورة)

Sora means image/picture in Arabic. It is a simple library to display and embed images in Jupyter notebooks. You can use it to:

from sora import sora

# Display a single image from a file:
sora('./test.jpg')

# Display all the images in a directory:
sora('./images/')


import tensorflow as tf
(x, _), (_, _) = tf.keras.datasets.cifar10.load_data()

# Display an image from a numpy array (ndarray):
sora(x[0])

# Display a collection of images from a numpy array (ndarray)
sora(x[0:10])

# You can also customize  the grid
sora(x[0:100], cell_width=42, cell_height=42, items_per_row=10)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sora, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size sora-0.1.1-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sora-0.1.1.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page