qmetrics.net

Typer

Python library for CLI applications from type hints

Typer screenshot

Typer is a Python library for building command-line applications with standard type hints for arguments and options. It ships a typer command that can run scripts as CLIs even when they do not import Typer

Overview

Typer helps developers create command-line applications in Python by mapping function parameters and their types to CLI arguments and options. You declare parameters once with ordinary Python types such as strings, integers, booleans, files, paths, and enums, instead of learning separate CLI-specific syntax.

Applications can stay minimal—a single import and a call such as typer.run—or grow into trees of commands and subcommands with options, validation, and metadata. The library is designed for strong editor support, including completion and type checking while you write.

End users get automatic help text and shell completion when they install a package built with Typer or use the bundled typer command. Completion is supported for common shells including Bash, Zsh, Fish, and PowerShell. Errors can be shown in a formatted style through Typer’s use of Rich.

Besides embedding Typer in your code, you can use the typer program to run a Python file and treat it as a CLI, inferring options from type-annotated functions even when the script does not use Typer internally. Typer builds on ideas similar to FastAPI and has integrated Click’s codebase internally for maintainability.

Installation is done by adding the typer package to a Python project, which provides both the importable library and the typer CLI in the environment. Optional global behavior can be adjusted with environment variables such as disabling Rich output.

Key features

  • CLI parameters from Python type hints
  • Automatic --help for commands
  • Shell completion for Bash, Zsh, Fish, PowerShell
  • Command trees with subcommands and groups
  • typer.run for single-function CLIs
  • typer command to CLI-wrap plain scripts
  • Rich-formatted CLI error output
  • Support for files, paths, enums, and validation

Use cases

  • Shipping Python tools with structured CLIs
  • Turning annotated scripts into CLIs quickly
  • Multi-command developer utilities
  • Internal automation with user-friendly help
  • Packages that install shell completion

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.5k⟳ 3 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ yesterdayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.8k⟳ 2 days agoMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ yesterdayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

  • Local tree-sitter AST code parsing
  • Queryable knowledge graph output
  • EXTRACTED and INFERRED edge tags
PythonLinux, macOS, Windows, CLIDetails →
★ 157k⟳ yesterdayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

  • Agent-oriented website build workflow
  • Dealt palettes, type, and hero layouts
  • Licensed photograph and icon resolution
JavaScriptCLIDetails →
★ 125.6k⟳ yesterdayMIT