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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sora-0.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sora-0.1-py3-none-any.whl
(3.8 kB
view details)
File details
Details for the file sora-0.1.tar.gz.
File metadata
- Download URL: sora-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
496ea92ff0666f062e2bfc223e2450a29dc5db57a3c98e871e2b0bbd9dc10119
|
|
| MD5 |
8dc6ecb9e33f0282b70fc2f825b0ae00
|
|
| BLAKE2b-256 |
8e3ab9c255e4115936ddbf9f898c3aa17a34780c23a4254fd6e4abc8d57ed6f5
|
File details
Details for the file sora-0.1-py3-none-any.whl.
File metadata
- Download URL: sora-0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
042099660ae518ba745b1e80003f4916aff87388320a0f4e233f20ccd18993e6
|
|
| MD5 |
68c3a351cc051abd1166df0c93a7a2ed
|
|
| BLAKE2b-256 |
953a4e46cfbb6b7129756d267984db797e5f5520fb2b1fd64d750ff8532eec53
|