Command-Line Tools in Python Command-Line Tools in Python

Command-Line Tools in Python

Argument Parsing, Subcommands, Configuration, Output Formatting, Exit Codes, Testing and Distributing Your Tool

    • $28.99
    • $28.99

Publisher Description

Your script works for you. Now a colleague, a scheduler and a pipeline need to run it, and none of them can read your source. This book turns a script into a tool other people and programs can trust. Follow one running example, a stock tracker for a small shop, from the first parser to an installable package. Parse arguments and subcommands with argparse, merge settings from flags, environment variables, files and defaults, print tables or JSON and CSV, handle pipes and standard input, design exit codes that mean something, log with verbosity levels, compare the same tool in click, test it at three levels, and ship a wheel that installs a real command. Every listing was run and every output shown is real.

GENRE
Computers & Internet
RELEASED
2026
October 22
LANGUAGE
DE
German
LENGTH
69
Pages
PUBLISHER
Neobooks
SELLER
Bookwire Gesellschaft zum Vertrieb digitaler Medien mbH
SIZE
296.2
KB
Don't Let One Mistake Ruin the Game Don't Let One Mistake Ruin the Game
2026
Still Tired on CPAP Still Tired on CPAP
2026
Stroke Recovery for Families Stroke Recovery for Families
2026
Switzerland Train Travel Guide 2027 for First-Timers Switzerland Train Travel Guide 2027 for First-Timers
2026
Manual del Ministro Paso a Paso Manual del Ministro Paso a Paso
2026
Devotional for Cowgirls and Horsewomen Devotional for Cowgirls and Horsewomen
2026