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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textual_canvas-1.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textual_canvas-1.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file textual_canvas-1.1.0.tar.gz.

File metadata

  • Download URL: textual_canvas-1.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for textual_canvas-1.1.0.tar.gz
Algorithm Hash digest
SHA256 cad9ad99901db25a94e91f7a1b9e14d7db0638c0cb38979a13db13eef1af0ab4
MD5 76a450777e64c9eaa360221404351954
BLAKE2b-256 377ef2c65b73f8a795a2ed9fbc65667a80db46b1e85799001e63de9869b7a53d

See more details on using hashes here.

File details

Details for the file textual_canvas-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for textual_canvas-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc7a938011c165f1a189fbae4f2e688d68c1fc3276a9111691a8b96514ffede0
MD5 782b02f907746e6b52642956de8eca66
BLAKE2b-256 51ecadf15c678f3c373dc781555f112f9f8d5b8b5f8b6b7f28b89b4ef89d440f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

1 file

0.1.0

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page