iv: Terminal Image Viewer for iTerm2
iv is a utility for viewing images in the terminal using iTerm2's image display capability. It's useful for dealing with images on a remote server, for example with large image processing tasks.
When displaying single images, iv will resize them to speed up
transfer over an SSH connection:
When displaying multiple images, iv will produce a "contact sheet"
of images with filenames. These images are decoded and resized in
parallel:
Installation
iv can be installed using pip:
$ pip3 install iv
If iv can't find any suitable TrueType fonts on your system it'll use
an ugly default bitmap font. To get some nicer fonts on Linux, install
the Open Sans or msttcorefonts collections (fonts-open-sans or
ttf-mscorefonts-installer packages on Debian-like distributions).
Usage
Usage: iv [OPTIONS] FILENAME...
Display images within an iTerm2 terminal.
iv will resize images to reduce the time taken to display them over SSH
connections, and it will combine multiple images into a single image, with
filenames.
Usage:
iv ./file.jpg # Display a single file, resizing as appropriate.
iv *.jpg # Display a number of files combined into a single image, with filenames.
The IV_SIZE environment variable can be used to set the output image size
instead of the -s/--size option.
Options:
--version Show the version and exit.
-s, --size INTEGER Maximum output image width in pixels.
--help Show this message and exit.
Limitations
iTerm2 may refuse to display extremely large images, and replace them with a retro "broken image" icon. You can always right-click and "Open image" to view the image with an external viewer.
Metadata
Release files for iv 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iv-1.0.5.tar.gz | 3.9 kB | Without provenance | Details for iv-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iv-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for iv-1.0.5-py3-none-any.whl |
Total release size: 8.1 kB
Release files / iv-1.0.5.tar.gz
| Download URL | iv-1.0.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9946a4bca502552839d296f589d911f7c214bf7453ec08022588cf9b48da37d
|
|
BLAKE2b-256 checksum How to use checksums |
8c77d9f954c43efd6480d2330bb35c2aa4dae671b9c5b16137cf77ca41e02112
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Release files / iv-1.0.5-py3-none-any.whl
| Download URL | iv-1.0.5-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad7c5b42e63a269bd2e778d7e3111f19e15903b20bc3fb6c3b4f67b661745ca5
|
|
BLAKE2b-256 checksum How to use checksums |
f83ad9de2223b25f4b3a5086e5ac40aa4ccd167878fb738d01ef310e15e39e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for iv 1.0.5
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.