textual-canvas
An example of
textual-canvas being used in a Textual application
Introduction
textual-canvas provides a simple terminal-based drawing canvas widget for
use with Textual. Initially developed as a
widget for building
textual-mandelbrot, it made
sense to spin it out into its own general-purpose library.
Installing
The package can be installed with pip or related tools, for example:
$ pip install textual-canvas
The library
The library provides one very simple widget for use in Textual: Canvas.
This is a scrollable and focusable widget that can be used to colour
"pixels", acting as a basic building block for drawing other things. The
"pixels" themselves are half a character cell in height, hopefully coming
out roughly square in most environments.
See the documentation for an introduction, a usage guide and detailed API documentation.
Metadata
Release files for textual-canvas 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| textual_canvas-1.1.0.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| textual_canvas-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / textual_canvas-1.1.0.tar.gz
| Download URL | textual_canvas-1.1.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cad9ad99901db25a94e91f7a1b9e14d7db0638c0cb38979a13db13eef1af0ab4
|
|
BLAKE2b-256 checksum How to use checksums |
377ef2c65b73f8a795a2ed9fbc65667a80db46b1e85799001e63de9869b7a53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / textual_canvas-1.1.0-py3-none-any.whl
| Download URL | textual_canvas-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc7a938011c165f1a189fbae4f2e688d68c1fc3276a9111691a8b96514ffede0
|
|
BLAKE2b-256 checksum How to use checksums |
51ecadf15c678f3c373dc781555f112f9f8d5b8b5f8b6b7f28b89b4ef89d440f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|