pixcat
WORK IN PROGRESS
Display images on a kitty terminal
with optional custom/thumbnail/fit-to-screen resizing.
Developed with the goal of being a more powerful alternative to kitty icat,
while also providing an usable Python 3.6+ API.
Usage
Basic CLI examples:
pixcat file.jpg
pixcat fit-screen --enlarge /tmp/abc.jpg
pixcat thumbnail --size 128 --align left 'https://picsum.photos/480?random'
pixcat resize --min-width 1920 --min-height 1080 \
--max-width 1920 --max-height 1080 \
~/images/wallpapers 1.jpg 2.png
The commands and options have short forms too.
See pixcat --help for more information.
Same examples using the Python package (no documentation yet):
from pixcat import Image
Image("file.jpg").show()
Image("/tmp/abc.jpg").fit_screen(enlarge=True).show()
Image("https://picsum.photos/480?random").thumbnail(128).show(align="left")
for i in Image.factory("~/images/wallpapers", "1.jpg", "2.png"):
i.resize(1920, 1080, 1920, 1080).show()
Installation
Requires Python 3.6+, tested on GNU/Linux only.
pip3 install --upgrade pixcat
Metadata
Release files for pixcat 0.1.4
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 |
|---|---|---|---|---|
| pixcat-0.1.4.tar.gz | 9.8 kB | Without provenance | Details for pixcat-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pixcat-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for pixcat-0.1.4-py3-none-any.whl |
Total release size: 21.4 kB
Release files / pixcat-0.1.4.tar.gz
| Download URL | pixcat-0.1.4.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
657c8fe04513caecccd6086b347aa4b85db6b4c0f761b162cb9cd789abe7abb6
|
|
BLAKE2b-256 checksum How to use checksums |
61ed4212f7edd385863b9ecaf3b5fb82aebbb0ee638beeaf16dbf718a636db39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6
|
Release files / pixcat-0.1.4-py3-none-any.whl
| Download URL | pixcat-0.1.4-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21308ff5c5fd216a8fe9bf8dd7f554d0a5ec08f1fd4a273291352ca3b371b91e
|
|
BLAKE2b-256 checksum How to use checksums |
5fa99dc8ca0d01a09ca7d8e3ef1fe9f2a918f5698c3a8b947fb106d6177d5b38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6
|
Security for pixcat 0.1.4
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.