# kislyuk/argcomplete

Python and tab completion, better together.

Repository: https://github.com/kislyuk/argcomplete
Canonical: https://ross.abutalabs.com/products/argcomplete
Homepage: https://kislyuk.github.io/argcomplete/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, tab-completion, bash, bash-completion, argparse, zsh, zsh-completion
Last push: 2026-08-17T02:29:30+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 84, longevity 100
- inputs: {"age_days": 5035, "days_push": 17, "days_rel": 27, "gap_med": 34, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1577, forks 149 (observed 2026-08-28T04:05:06.072451+00:00)

## What it is
A Python library that provides easy, extensible bash/zsh tab completion for command line applications built with argparse. It hooks into the shell's completion framework to dynamically suggest arguments, options, and values as the user types.

## Use cases
- add tab completion to my python cli tool
- autocomplete argparse options in bash
- dynamic completion of argument values from network resources
- enable zsh completion for python scripts
- globally activate completion for all python argparse apps

## When to choose
- your CLI is written in Python and uses argparse
- you want bash or zsh tab completion with minimal code changes
- you need dynamic completers for files, directories, or custom values

## When to avoid
- your CLI does not use argparse
- you need first-class support for shells other than bash/zsh
- your program has heavy side effects before parser construction

## Facets
- artifact type: library
- maturity: stable
- function: cli, developer-tools
- domain: developer-tools
- platform: python, cli
- tags: tab-completion, argparse, bash-completion, zsh-completion, shell-completion, command-line, linux, macos

## Member repositories
- kislyuk/argcomplete (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:06.072451+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:09.778223+00:00, confidence not recorded.
  - readme: https://github.com/kislyuk/argcomplete (fetched 2026-08-28T04:05:06.072451+00:00, sha 3c2cce810c92)
  - homepage: https://kislyuk.github.io/argcomplete/ (fetched 2026-08-29T11:27:26.637215+00:00, sha 9e79aedb704d)
  - registry_pypi: https://pypi.org/pypi/argcomplete/json (fetched 2026-08-29T11:27:26.646876+00:00, sha 992fa4d6d135)
- Data as of 2026-08-30T08:39:29.467469+00:00.
