{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"System","url":"https://skillfed.io/packages/category/system"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"},{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools"},{"label":"User Interfaces","url":"https://skillfed.io/packages/category/software-development-user-interfaces"},{"label":"Office/Business","url":"https://skillfed.io/packages/category/office-business"},{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"},{"label":"Shells","url":"https://skillfed.io/packages/category/system-shells"},{"label":"Installation/Setup","url":"https://skillfed.io/packages/category/system-installation-setup"},{"label":"Desktop Environment","url":"https://skillfed.io/packages/category/desktop-environment"},{"label":"Pre-processors","url":"https://skillfed.io/packages/category/software-development-pre-processors"},{"label":"Other/Nonlisted Topic","url":"https://skillfed.io/packages/category/other-nonlisted-topic"},{"label":"Testing","url":"https://skillfed.io/packages/category/education-testing"},{"label":"System Shells","url":"https://skillfed.io/packages/category/system-system-shells"},{"label":"Computer Aided Instruction (CAI)","url":"https://skillfed.io/packages/category/education-computer-aided-instruction-cai"}],"enrichment":{"capability":"Generates shell tab completion scripts for Python CLI applications built with argparse, supporting bash, zsh, fish, and tcsh without runtime overhead.","skillfed_tags":["cli-tooling","shell-integration"],"use_cases":["Add bash/zsh completion to an existing argparse CLI with minimal code changes","Generate completion scripts for distribution with your application package","Support multiple shells (bash, zsh, fish, tcsh) from a single argparse definition","Enable dynamic completions (e.g., git branch names) without re-executing the CLI on every tab press","Provide completion for subcommands and nested argument groups automatically"],"what_it_does":"shtab generates static shell completion scripts for Python CLI applications that use argparse. Instead of executing your application every time a user presses tab (which is slow and can have side effects), shtab analyzes your ArgumentParser once and outputs a completion script that your shell can source. It supports bash, zsh, fish, and tcsh, and handles argument choices, file/directory paths, and dynamic shell commands.\n\nYou integrate shtab into your CLI in two ways: as a library (add a few lines to your app to expose a --print-completion flag), or as a standalone CLI tool that inspects an external parser object. The package has no runtime dependencies and is actively maintained with support for Python 3.9 through 3.14.","worth_installing":"Yes. shtab is production-stable, actively maintained, has zero security vulnerabilities, and solves a real problem (shell completion) with zero runtime overhead. The copyleft license is not a barrier for using it as a library in your own CLI. Install it if you build Python command-line tools and want to offer your users fast, reliable shell completion."},"id":"shtab","links":{"html":"https://skillfed.io/packages/shtab","md":"https://skillfed.io/packages/shtab.md","pypi":"https://pypi.org/project/shtab/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":null,"license_treatment":"copyleft","name":"shtab","python_support":"supports_current","summary":"Automagic shell tab completion for Python CLI applications"},"popularity":{"monthly_downloads":4607544,"position":2274,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.10.0"}
