https://github.com/pilarcode/textual-image-widget-lab
👩💻 Playing with textual to create a widget to visualize an image
https://github.com/pilarcode/textual-image-widget-lab
lab textual
Last synced: 6 days ago
JSON representation
👩💻 Playing with textual to create a widget to visualize an image
- Host: GitHub
- URL: https://github.com/pilarcode/textual-image-widget-lab
- Owner: pilarcode
- Created: 2025-05-14T16:03:03.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-07-26T19:20:33.000Z (7 months ago)
- Last Synced: 2025-07-26T23:36:16.500Z (7 months ago)
- Topics: lab, textual
- Homepage:
- Size: 2.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 👍 Playing with textual libraries
I have created a widget to visualize images on the terminal.
## Demo
Given a picture, for instance a picture of the Spanish women's football team:

I would like to see the image on the terminal:

Note: I would like to see the image in high resolution.
## Setup
Create a virtual environment
```bash
python -m venv venv
```
Activate the enviroment
```bash
venv\Scripts\activate
```
Install all the dependencies
```bash
pip install -r requirements.txt
```
## Usage
* The app will run as a terminal user interface app.
```bash
python "examples\textual-my-image-box-widget.py"
```
## Libraries
- https://pypi.org/project/textual-autocomplete/
- https://pypi.org/project/textual-plotext/
- https://pypi.org/project/textual-canvas/
- https://pypi.org/project/plotext/
- https://pypi.org/project/rich-pixels/
- https://pypi.org/project/textual-image/
- https://github.com/adamviola/textual-imageview