TUI-apps
typer
Our great sponsors
TUI-apps | typer | |
---|---|---|
25 | 86 | |
467 | 14,293 | |
- | - | |
6.7 | 6.7 | |
4 months ago | 2 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TUI-apps
- Show HN: Interactive TUI App for Python Regex Exercises
- Show HN: Interactive exercises for GNU grep, sed and Awk
-
Show HN: CLI text processing with GNU sed (eBook)
Hello!
I am pleased to announce a new version of my "CLI text processing with GNU sed" ebook. This book heavily leans on examples to present features one by one. In addition to sed commands and options, regular expressions are also discussed in detail.
Links:
* PDF/EPUB versions: https://learnbyexample.gumroad.com/l/gnu_sed (free for a few days)
* Web version: https://learnbyexample.github.io/learn_gnused/ (always free)
* Markdown source, example files, etc: https://github.com/learnbyexample/learn_gnused
* Interactive TUI app for exercises: https://github.com/learnbyexample/TUI-apps/blob/main/SedExercises
I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
Happy learning :)
- Show HN: Interactive TUI app for Python regex exercises
-
Learn GNU grep and ripgrep with hundreds of examples and exercises
I also wrote an interactive TUI app based on some of the exercises from the ebook. Reference solutions are provided for both GNU grep and ripgrep.
-
Good project to make the transition from terminal to GUI?
These days I prefer coding TUI apps using Textual (see my repo https://github.com/learnbyexample/TUI-apps for examples) since I find this framework easier to work with and I don't need full GUI features for my projects.
-
What are some good online resources with regex problems (and solutions)?
This year I started updating my existing books and I'm also creating interactive apps. Here's one for Python regex: https://github.com/learnbyexample/TUI-apps/blob/main/PyRegexExercises. Next is grep.
-
TUI app with 100+ interactive Python Regex exercises
Having an interactive program that automatically loads questions and checks the solution is wonderful to have while learning a topic. I wrote a TUI app that has beginner to advanced level exercises for Python regular expressions. There are more than 100 exercises covering both the builtin re and third-party regex modules.
- Show HN: Interactive Exercises for Python Regular Expressions
- PyRegexExercises – TUI to practice Python regex
typer
- Copilot for your GitHub stars
-
Things I've learned about building CLI tools in Python
I have been using Typer on every one of my CLI projects which uses Click under the hood. The documentation is fantastic, the CLI app it produces looks great and lets you create things quickly. I high recommend it.
-
Things to do with standalone script
Adding CLI capabilities. My preferred library here is typer.
-
Where to start for managing a Python code base for public distribution
I just heard about this but it seems to be pretty much the type of thing you want and want fast.
-
Help on Docstrings
Docstrings are for documenting how a function/ class/ method/ module works. Often you don't need to add a docstring to your main function because no one will be importing it to use elsewhere. And if you want it to run as a CLI, then there are better ways to document the available options. For example, typer does most of it for you, or in click you add the help text to the decorator.
-
Which best practices do you follow to build robust & extensible ETL jobs?
Most computing tasks in airflow DAGs are KubernetesPodOperator containing a CLI (Python Typer). It allows us to pass arguments easily to run DAG manually if needed (the new UI to pass arguments to DAG in airflow 2.6 is really nice). Arguments allow us to replay DAG easily (change start / end dates for instance).
-
Devs on teams that deploy anytime you want, what does your SDLC workflow look like?
So it's basically the main .gitlab-ci.yml file plus a separate Python CI app using Typer for the AWS instrumentation.
-
The different uses of Python type hints
Similarly for Typer, which is literally "the FastAPI of CLIs"[1]. Handy to type your `main` parameters and have CLI argument parsing. For more complicated cases, it's a wrapper around Click.
-
Command line parser library, which one do you like the most, regardless of language?
interesting that you hate python, but love Click. Did you try Typer which uses Click underneath?
- Typer: Build great CLIs. Easy to code. Based on Python type hints
What are some alternatives?
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
click - Python composable command line interface toolkit
epy - CLI Ebook (epub2, epub3, fb2, mobi) Reader
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
bubbletea - A powerful little TUI framework 🏗
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
pydantic - Data validation using Python type hints
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
dagster - An orchestration platform for the development, production, and observation of data assets.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
streamlit - Streamlit — A faster way to build and share data apps.
cement - Application Framework for Python