Skip to main content

Textual-Cookbook

This repo contains a collection of examples and recipes for using the Textual framework to build terminal applications. Every example in this repository is runnable, and you can use them as a starting point for your own projects, or just learn how to do nifty things with Textual.

The examples are currently organized into the following categories:

  • Animation Effects: Examples that demonstrate how to create various animation effects in Textual applications.
  • Architecture Patterns: Examples that showcase different architectural patterns for building Textual applications.
  • Modifying Widgets: Examples that show how to modify existing widgets or create new ones.
  • Styling and Colors: Examples that demonstrate how to style Textual applications and use colors effectively.
  • Textual API Usage: Examples that illustrate how to use the Textual API for various tasks.
  • Tips and Tricks: A collection of miscellaneous examples that don't fit into the other categories.

All examples are tested with Nox against multiple verions of Textual (back to 1.0.0) in order to see how far back the examples work. Nearly all of them work all the way back to 1.0.0 with a few exceptions. To view the results of the tests, click the link below:

Textual Cookbook Test Results

Metadata

Release files for textual-cookbook 0.5.1

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-cookbook 0.5.1
File Size Uploaded
textual_cookbook-0.5.1.tar.gz 30.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textual-cookbook 0.5.1
File Interpreter ABI Platform
textual_cookbook-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 91.9 kB

Release files / textual_cookbook-0.5.1.tar.gz

Download URL textual_cookbook-0.5.1.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ce9f05f6aa3f4851ec8ff7021083a573b14d77e3331e7a7860a35311f9f63bab
BLAKE2b-256 checksum
How to use checksums
ce85763192bf8ec425741062ca90a164b1429d6d92e9a8a493ad95ef72996c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2025.

Transparency log

Release files / textual_cookbook-0.5.1-py3-none-any.whl

Download URL textual_cookbook-0.5.1-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c75abb0e6f5f72faf7d0438ea440bcc43e6f71129505aa25862188e624682f93
BLAKE2b-256 checksum
How to use checksums
423934c7f205234466e010da2559c07a5cd6f2c3d53b8726b504c9114cace9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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