Typer, build great CLIs. Easy to code. Based on Python type hints. (by tiangolo)


Basic typer repo stats
about 23 hours ago

tiangolo/typer is an open source project licensed under MIT License which is an OSI approved license.

Typer Alternatives

Similar projects and alternatives to typer

  • GitHub repo runtimelab

    This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.

  • GitHub repo rust

    Empowering everyone to build reliable and efficient software.

  • GitHub repo tldr

    📚 Collaborative cheatsheets for console commands

  • GitHub repo cobra

    A Commander for modern Go CLI interactions

  • GitHub repo fd

    A simple, fast and user-friendly alternative to 'find'

  • GitHub repo nushell

    A new type of shell

  • GitHub repo freebsd-src

    FreeBSD src tree (read-only mirror)

  • GitHub repo spectre.console

    A .NET library that makes it easier to create beautiful console applications.

  • GitHub repo gflags

    The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:

  • GitHub repo command-line-api

    Command line parsing, invocation, and rendering of terminal output.

  • GitHub repo tealdeer

    A very fast implementation of tldr in Rust.

  • GitHub repo Cocona

    Micro-framework for .NET Core console application. Cocona makes it easy and fast to build console applications on .NET Core.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better typer alternative or higher similarity.


Posts where typer has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-08.
  • Why Do Long Options Start with Two Dashes?
    news.ycombinator.com | 2021-04-08
    Were your expectations different?

    Are there any good articles on the benefits of following such rules (any fungible improvements to legibility or usability, as opposed to just "consistency amongst different tools")?

    Are there any tools which can validate whether any piece of software conforms to this standard (either by scanning the man pages, or the code, or a formalized format of parameters the app supports)? Personally, the closest i've found is Typer ( https://typer.tiangolo.com/ ) but without anything that can automatically reject non-conformant code as a part of a CI process, i think enforcing such formats would be a non-starter for me.

  • Typer, build great CLIs. Easy to code. Based on Python type hints.
    reddit.com/r/Python | 2021-03-18
  • Typer, build great CLIs. Easy to code. Based on Python type hints
    news.ycombinator.com | 2021-03-18
  • Typer: Build great CLIs. Easy to code. Based on Python type hints
    news.ycombinator.com | 2021-03-17
  • My preferred .NET console stack – An opinionated view on .NET console apps
    news.ycombinator.com | 2021-01-15
    Click is great and a feature-rich option. But recommend checking out Typer, which is even simpler if you're already using type annotations. [0]

    [0]: https://github.com/tiangolo/typer

  • How to retrieve parameters with Typer?