[Article Proposal] Crash course to Textual

Article Summary:

Learn how to write Python TUI (Text User Interfaces) using Textual, a poweful yet easy to use framework to write and debug applications that run on the terminal.

Article Description:

Python on Linux has nice GUI (Graphic User Interface) development libraries like TkInter, but what if you cannot run graphical applications?

Text terminals, are available on not just Linux but BSD and other great Unix like operating systems. And if you write code in Python you should be using Textual

So what is Textual?

Textual is a Rapid Application Development framework for Python, built by Textualize.io.
Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal or a web browser!

In this quick introduction, I will show you 2 examples of what you can do with Textual and where you can go after that

What do you need to follow this tutorial

You will need the following:

  1. Basic programing experience, preferable in Python.
  2. Understanding basic OO concepts like classes, inheritance
  3. A machine with Linux and Python 3.9+ installed
  4. A good editor (Vim, PyCharm are good choices)

I tried to keep the code simple, so you can follow it. Also, I strongly recommend you download the code or at least install the programs as explained next.

Textual is %100 Open Source and the article comes with code too:

** A preview of the article is on the following location **

I think it would be a nice compliment for the following article: Writing useful terminal TUI on Linux with dialog and jq - Fedora Magazine

I was looking for a way to add this to https://pagure.io/fedora-magazine-newsroom/boards/articles but looks like you have to do it first.

Please let me know what you think.

Thanks.

I’ll give this proposal a +1. When a 2nd editor agrees we will open a Pagure ticket to track the article.

Thanks @josevnz

+1. I’ve created ticket #247 to track this article’s progress.

Thanks!

Thank you guys, will working on the article soon.

This topic was automatically closed after 180 days. New replies are no longer allowed.