|4 months ago||14 days ago|
|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.
Show HN: CLI text processing with GNU sed (eBook)
3 projects | news.ycombinator.com | 29 Jun 2023
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.
* 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 :)
Learn GNU grep and ripgrep with hundreds of examples and exercises
3 projects | /r/commandline | 10 May 2023
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.
What are some good online resources with regex problems (and solutions)?
2 projects | /r/regex | 24 Apr 2023
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
2 projects | /r/Python | 22 Mar 2023
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
2 projects | news.ycombinator.com | 21 Mar 2023
Textual (TUI framework) widget gallery
3 projects | /r/programming | 7 Mar 2023
My first app with Textual was a board game. Like Tic Tac Toe but make a square on a 4x4 board: https://github.com/learnbyexample/TUI-apps/tree/main/SquareTicTacToe
Understanding Python re(gex)? with hundreds of examples and exercises (free till Feb 5)
3 projects | /r/Python | 31 Jan 2023
To make it easier to experiment, I'm currently working on an interactive app. See PyRegexPlayground repo for installation instructions and usage guide. A sample screenshot is shown below:
What are you guys using for making GUIs nowadays?
12 projects | /r/Python | 26 Jan 2023
Python regex playground
Are there any online classes/practice problems that focus on solidifying knowledge of bash
3 projects | /r/linuxquestions | 10 Jan 2023
I also made an interactive TUI app with 40 cli text processing exercises - I plan to cover all the 200+ exercises sometime later this year.
Bored with terminal but like the cli? Try my hybrid graphical shell
3 projects | /r/commandline | 23 Dec 2022
I wrote an interactive CLI exercises TUI with textual a few weeks back. Having a fixed location to play with commands interactively felt nice and I did wonder if something like could be expanded to make a nice terminal alternative for some tasks.
Copilot for your GitHub stars
2 projects | dev.to | 20 Nov 2023
Things I've learned about building CLI tools in Python
16 projects | news.ycombinator.com | 24 Oct 2023
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
3 projects | /r/learnpython | 15 Jun 2023
Adding CLI capabilities. My preferred library here is typer.
The different uses of Python type hints
6 projects | news.ycombinator.com | 15 Apr 2023
Similarly for Typer, which is literally "the FastAPI of CLIs". 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?
3 projects | /r/AskProgramming | 7 Apr 2023
interesting that you hate python, but love Click. Did you try Typer which uses Click underneath?
I made a file manager in python
2 projects | /r/Python | 27 Mar 2023
Try to make it into a command line tool? check https://typer.tiangolo.com/ for example
How does "python3 *file* -*letter* work?
2 projects | /r/learnpython | 26 Mar 2023
How to make a CLI?
2 projects | /r/bash | 17 Mar 2023
I used this template repo to make a bash cli https://github.com/SierraSoftworks/bash-cli then I made a brew formula to make it installable. It provide a nice way to make a cli with nested commands like git. As others mentioned other languages like python have great support for making nice clis see https://typer.tiangolo.com/ for an example framework in python. I chose bash because packaging a python cli for a private brew package is a pain and 99% of what I needed the cli to do was inkoke other clis, so bash made sense for my case.
I am sick of writing argparse boilerplate code, so I made "duckargs" to do it for me
11 projects | /r/Python | 3 Mar 2023
Very cool. I’ve been using Typer lately. Easy to give a library a cli without too much boilerplate.
Just released my much-improved YouTube archiver as v1.2 🎉🎉
2 projects | /r/Python | 5 Jan 2023
Check out Typer for the command line tooling, might make it a bit easier to maintain later on!
What are some alternatives?
click - Python composable command line interface toolkit
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
cement - Application Framework for Python
docopt - Pythonic command line arguments parser, that will make you smile
clint - Python Command-line Application Tools
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
cliff - Command Line Interface Formulation Framework. Mirror of code maintained at opendev.org.
Argh - An argparse wrapper that doesn't make you say "argh" each time you deal with it.
colorama - Simple cross-platform colored terminal text in Python