Skip to main content

textual-canvas

Being used for textual-mandelbrot An example of textual-canvas being used in a Textual application

GitHub Actions Workflow Status GitHub commits since latest release GitHub Issues or Pull Requests GitHub Release Date PyPI - License PyPI - Python Version PyPI - Version

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)

Source distribution for textual-canvas 1.1.0
File Size Uploaded
textual_canvas-1.1.0.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textual-canvas 1.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page