Creating TUI Applications with Textual and Python Book Launch
Learn how to create TEN mini TUI applications!
Text-based user interfaces (TUIs) are making a BIG comeback. Many developers of today need to easy-to-use applications to configure and run jobs on headless servers. You can make your own life and the lives of your team so much easier by learning how to create a TUI yourself.
Release date: July 2025
Textual is a rapid application development framework for your terminal or web browser that is written in Python. You can build complex, sophisticated applications in your terminal. While terminal applications are text-based rather than pixel-based, they still provide fantastic user interfaces.
The Textual package allows you to create widgets in your terminal that mimic those used in a web or GUI application.
Creating TUI Applications with Textual and Python's goal is to teach you how to use Textual to make striking applications of your own. The book's first half will teach you everything you need to know to develop a terminal application.
The book's second half has many small applications you will learn how to create. Each chapter also includes challenges to complete to help cement what you learn or give you ideas for continued learning.
Here are some of the applications you will create:
A basic calculator
A CSV viewer
A Text Editor
An MP3 player
An ID3 Editor
A Weather application
A TUI for pre-commit
RSS Reader
and more!
Calculator
CSV Viewer
Weather Application
Text Editor
What You'll Learn
In this book, you will learn about the following:
Chapter 1 - Application Basics
Chapter 2 - Adding Styles in Textual
Chapter 3 - Using CSS in Textual
Chapter 4 - Content Markup
Chapter 5 - Working with DOM Queries
Chapter 6 - Laying Out Your Widgets
Chapter 7 - Textual Events and Messages
Chapter 8 - Key and Mouse Events
Chapter 9 - Reactive Attributes
Chapter 10 - Screens
Chapter 11 - Textual Dev Tools
Chapter 12 - Creating a Calculator
Chapter 13 - Viewing Tabular Data with Textual
Chapter 14 - Creating a Text Editor
Chapter 15 - Creating an MP3 Player
Chapter 16 - Creating an ID3 Editor
Chapter 17 - Creating a Weather App
Chapter 18 - pre-commit TUI
Chapter 19 - RSS Reader TUI
Chapter 20 - SMTP Client
Chapter 21 - SQLite Viewer/Editor
When Do I Get My Stuff?
Digital rewards will be released two-three weeks after the end of the Kickstart campaign.
Physical rewards (books and t-shirt) will be shipped in July 2025