Guides
argparse vs Click vs Typer: Python CLI Libraries Compared
argparse vs Click vs Typer compared with the same example in each: setup, subcommands, type handling and help output, and which to choose for your CLI.
What Is Rich? Terminal Formatting Explained
How Rich turns plain terminal output into formatted tables, progress bars, and syntax-highlighted text with just a few lines of Python
What Is yt-dlp? Python Library and CLI Guide
yt-dlp is a command-line video and audio downloader you can also import as a Python library. Install it, see working code, and what it needs.
Click vs Typer: Which Python CLI Library
Typer grew out of Click and builds CLIs from type hints with less boilerplate. Here’s when that trade is worth it and when plain Click still wins.
Resources
Flake8
Python linter that wraps PyFlakes, pycodestyle and McCabe in a single command, extendable through plugins
Pylint
Static code analyser for Python that checks for errors, enforces a coding standard and suggests refactorings
yt-dlp
Feature-rich command-line tool for downloading video and audio from YouTube and thousands of other sites
pipx
Install and run Python CLI tools in isolated environments without polluting your global site-packages
Click
Composable command-line toolkit from the Pallets team — builds CLIs with minimal boilerplate using decorators, used by Flask, pip, and countless tools
Rich
Python library for rich text and beautiful formatting in the terminal — tables, progress bars, syntax highlighting, and more
Typer
Build CLIs using Python type hints — automatically generates help text, shell completion, and validation with zero boilerplate, from the creator of FastAPI