Tag

docopt

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Aug 25, 2023 · Backend Development

Four Python Command‑Line Autocompletion Tools: argcomplete, Click, Fire, and docopt

This article introduces four Python command‑line tools—argcomplete, Click, Fire, and docopt—explaining their installation, core features, and providing practical code examples that demonstrate how each library enables automatic argument completion and streamlined CLI development.

AutocompletionCLIargcomplete
0 likes · 8 min read
Four Python Command‑Line Autocompletion Tools: argcomplete, Click, Fire, and docopt
Test Development Learning Exchange
Test Development Learning Exchange
Jul 5, 2023 · Backend Development

Four Python Command-Line Autocompletion Tools: argcomplete, Click, Fire, and docopt

This article introduces four Python command-line autocompletion libraries—argcomplete, Click, Fire, and docopt—explaining their features, providing installation instructions, and offering practical code examples to help developers enhance CLI productivity and user experience.

argcompleteclickcommand-line
0 likes · 8 min read
Four Python Command-Line Autocompletion Tools: argcomplete, Click, Fire, and docopt
Python Programming Learning Circle
Python Programming Learning Circle
Jun 2, 2020 · Backend Development

Building a Command-Line Train Ticket Query Tool with Python

This tutorial explains how to create a Python CLI application named tickets that parses command-line arguments, retrieves station codes, queries the 12306 railway API for ticket data, and displays the results in a formatted table using libraries such as docopt, requests, and prettytable.

CLIPrettyTablePython
0 likes · 7 min read
Building a Command-Line Train Ticket Query Tool with Python