BSD Ports

devel/py-tyro 1.0.16 DragonFly

CLI interfaces & config objects, from types

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
357.7 KiB, 2124.1 KiB installed

Description

tyro provides a lightweight, ergonomic way to build CLI interfaces and config objects directly from Python type annotations. It wraps argparse with a clean, type-driven API and sensible defaults, letting you turn dataclasses, attrs classes, or Pydantic models into CLI interfaces.

Features:

  • Declare CLI arguments with Python type hints and dataclasses
  • Automatic --help generation from docstrings
  • Shell completion for bash, zsh, fish, and PowerShell
  • Nested subcommands with minimal boilerplate
  • Hierarchical / modular configuration structures

In the other systems

The newest version among them is 1.0.16, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-tyro1.0.16 newestnone known-[email protected]-
FreeBSDdevel/py-tyro1.0.16 newestnone known-[email protected]2026-09-27
HardenedBSDdevel/py-tyro1.0.16 newestno data-[email protected]-
GhostBSDdevel/py-tyro1.0.16 newestno data-[email protected]-

Version history 1

  1. 1.0.16

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-tyro

From DPorts:

cd /usr/dports/devel/py-tyro && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.