Minimal example project that exposes two command-line interfaces for performing simple HTTP requests:
http-argparse: implemented with the standard libraryargparsehttp-typer: implemented withtyper(built on Click)
Both CLIs offer similar functionality so you can compare:
- Project structure
- Developer ergonomics
- Help output and UX
uv pip install -e .
# or
pip install -e .Argparse version:
http-argparse https://httpbin.org/get -H "X-Demo: argparse"Typer version:
http-typer request https://httpbin.org/get -H "X-Demo: typer"This repository is intentionally small and focused so it can be used in
blog posts, talks, or training material comparing argparse and typer.