# shtab — card for AI agents

Automatic shell tab completion generation for Python CLI applications.

Category: Dev workflow and config · PyPI package `shtab` · latest version 1.13.0 (checked 2026-11-01)
Install: `pip install shtab`
License: MPL-2.0 (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 32.5 (#3890 of all tools, 270 of 299 in its category)
- Downloads last week: 800,397 (as of 2026-11-24), -11.2% over 4 weeks
- GitHub stars: 485 (as of 2026-11-24)
- Last push: 2026-11-02

## Often used with
Jinja2 100.0%, PyYAML 100.0%, Requests 100.0%, aiohttp 91.7%, AnyIO 91.7%, attrs 91.7%

## Checked alternatives (same job)
- Click: https://agentgid.com/tools/click-py/agent.md
- Typer: https://agentgid.com/tools/typer/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/shtab/
- Repository: https://github.com/tqdm/shtab

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
