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 | Provenance | Actions |
|---|---|---|---|---|
| textual_canvas-1.1.0.tar.gz | 7.3 kB | Without provenance | Details for textual_canvas-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| textual_canvas-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for textual_canvas-1.1.0-py3-none-any.whl |
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
|
Security for textual-canvas 1.1.0
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.