Textual

How to Debug Your Textual Application

Textual is a great Python package for creating a lightweight, powerful, text-based user interface. That means you can create a GUI in your terminal with Python without learning curses! But what happens when you encounter some problems that require debugging your application? A TUI takes over your terminal, which means you cannot see anything from […]

How to Debug Your Textual Application Read More »

ANN – The textual-cogs Package – Creating Reusable Dialogs for Textual

Textual-cogs is a collection of Textual dialogs that you can use in your Textual application. You can see a quick demo of the dialogs below: Dialogs included so far: Generic MessageDialog – shows messages to the user SaveFileDialog – gives the user a way to select a location to save a file SingleChoiceDialog – gives the user a series

ANN – The textual-cogs Package – Creating Reusable Dialogs for Textual Read More »

Textual – The New MaskedInput Widget

Textual v0.80.0 was released today, and it included the brand-new MaskedInput widget. If you have used other GUI toolkits, such as wxPython, you might already be familiar with a masked input widget. These widgets allow you to control the user’s input based on a mask string that the developer provides when instantiating the widget. Let’s spend

Textual – The New MaskedInput Widget Read More »

How to Plot in the Terminal with Python and Textualize

Have you ever wanted to create a plot or graph in your terminal? Okay, maybe you haven’t, but now that you know you can, you want to! Python has the plotext package for plotting in your terminal. However, while that package is amazing all on its own, there is another package called textual-plotext that wraps

How to Plot in the Terminal with Python and Textualize Read More »

Creating Progress Bars in Your Terminal with Python and Textual

The Textual package is a great way to create GUI-like applications with Python in your terminal. These are known as text-based user interfaces or TUIs. Textual has many different widgets built-in to the framework. One of those widgets is the ProgressBar. If you need to show the progress of a download or long-running process, then

Creating Progress Bars in Your Terminal with Python and Textual Read More »

Using CSS to Style a Python TUI with Textual

Textual is a Python framework for creating Text Based user interfaces (TUIs). You can create graphical user interfaces in your terminal with Textual. If you haven’t heard of Textual before, check out An Intro to Textual – Creating Text User Interfaces with Python In this tutorial, you will learn how to create and style a

Using CSS to Style a Python TUI with Textual Read More »

Textual 101 – Using the TabbedContent Widget

Textual is a text-based user interface library (TUI) for the Python programming language. With Textual, you can create beautiful cross-platform TUI applications. If you would like more information, see An Intro to Textual – Creating Text User Interfaces with Python In this article, you will learn how to created a tabbed interface in your terminal

Textual 101 – Using the TabbedContent Widget Read More »

An Intro to Textual – Creating Text User Interfaces with Python

Textual is a Python package used to create cross-platform Text User Interfaces (TUI). This may sound like you’ll be creating a user interface with ASCII-art, but that is not the case. Textual is quite advanced and allows you to add widgets to your terminal applications, including buttons, context switchers, scroll bars, checkboxes, inputs and more.

An Intro to Textual – Creating Text User Interfaces with Python Read More »