Hacker GitHub

← All repos

fastapi/typer

View on GitHub ↗ ★ 20,248 Python

Typer, build great CLIs. Easy to code. Based on Python type hints.

13 mentions on Hacker News by 13 people: 5 stories, 8 comments · first 2020-05-28 · latest 2025-09-24

Mentions per year 13 mentions · busiest year 2021 (5)
20082026
  1. ▲ 2
    Typer by FastAPI – build great CLIs
    story by subset · 2025-09-24 · 0 comments
  2. …getting put off by it's high import cost and that development seems to be a bit up in the air (see https://github.com/fastapi/typer/issues/678#issuecomment-319... ). A shame because otherwise it's a really nice library!
    comment by Gethsemane · 2025-08-26 · in Do I not like Ruby anymore? (2024)
  3. Worth noting that you can do this in languages other than Rust. Python, for example, has https://github.com/fastapi/typer . https://github.com/shadawck/awesome-cli-frameworks lists relevant libraries in many languages, though not all of…
    comment by ameliaquining · 2025-07-01 · in Rust CLI with Clap
  4. The great tiangolo (creator of FastAPI) has a library just for this which makes it easy: https://github.com/tiangolo/typer
    comment by eigenvalue · 2024-06-04 · in Python's many command-line utilities
  5. ▲ 1
    Typer: Python library for building CLI applications
    story by danso · 2024-04-25 · 0 comments
  6. ▲ 2
    Typer: Build great CLIs. Easy to code. Based on Python type hints
    story by behnamoh · 2023-04-01 · 0 comments
  7. …for validation and parsing: https://pydantic-docs.helpmanual.io/ https://fastapi.tiangolo.com/ https://github.com/tiangolo/typer We're using Pydantic for Robusta ( https://github.com/robusta-dev/robusta ) and absolutely love it. You get…
    comment by nyellin · 2022-01-23 · in Strict Python function parameters
  8. …[2], I am not sure if it would be the best decision to use Typer when we're rewriting our CLI. [0]: https://github.com/tiangolo/typer/ [1]: https://click.palletsprojects.com/ [2]: https://github.com/tiangolo/typer/issues/77
    comment by abdusco · 2021-12-07 · in Django 4.0
  9. …type annotations, you might like Typer[0]. The pathlib parameters are especially handy, I find. [0] https://github.com/tiangolo/typer
  10. ▲ 1
    Typer, build great CLIs. Easy to code. Based on Python type hints
    story by EntICOnc · 2021-03-18 · 0 comments
  11. ▲ 2
    Typer: Build great CLIs. Easy to code. Based on Python type hints
    story by raybb · 2021-03-17 · 0 comments
  12. …checking out Typer, which is even simpler if you're already using type annotations. [0] [0]: https://github.com/tiangolo/typer
    comment by disgrunt · 2021-01-15 · in My preferred .NET console stack
  13. There is also Typer[1] [1] https://github.com/tiangolo/typer
    comment by fastball · 2020-05-28 · in Hypermodern Python