Skip to main content

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)

Release files for sora 0.1.1

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

Source distribution (sdist)

Source distribution for sora 0.1.1
File Size Uploaded
sora-0.1.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sora 0.1.1
File Interpreter ABI Platform
sora-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / sora-0.1.1.tar.gz

Download URL sora-0.1.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
57e9267ec78978499de0cbf487a5e8cbeb01fb9ce5709f0fabb46d49e2d2ec34
BLAKE2b-256 checksum
How to use checksums
b42e2418b8d176d130018a7feb388f33f86e1ea2ce7034d7fd978fed3b6bb05d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / sora-0.1.1-py3-none-any.whl

Download URL sora-0.1.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ccfab783de8a4cfcd28717032bbbb673266a48c6dfb65555c477f00b391d617
BLAKE2b-256 checksum
How to use checksums
dcb58a0cd6a387141b4fbbdb566e08c6b5f785e15244e6096275fd948313521d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1

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