notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
py-tyro CLI interfaces & config objects, from types
1.0.16 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: pr9000@tutamail.com search for ports maintained by this maintainer
Port Added: 2026-09-26 22:42:05
Last Update: 2026-09-26 22:38:34
Commit Hash: 0565824
Also Listed In: python
License: MIT
WWW:
https://github.com/brentyi/tyro
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}tyro>0:devel/py-tyro@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-tyro/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-tyro
  • pkg install py312-tyro
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-tyro listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-tyro
Package flavors (<flavor>: <package>)
  • py312: py312-tyro
distinfo:
TIMESTAMP = 1790458174 SHA256 (tyro-1.0.16.tar.gz) = edf23c9c3eecba5a2b5af152df8f34a723b689a001ff5b7311f93eff1893a636 SIZE (tyro-1.0.16.tar.gz) = 603382

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-hatchling>=0 : devel/py-hatchling@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-attrs>=21.4.0 : devel/py-attrs@py312
  2. py312-pydantic2>=2.5.2 : devel/py-pydantic2@py312
  3. py312-pyyaml>=6.0 : devel/py-pyyaml@py312
  4. py312-ml-collections>=0.1.0 : misc/py-ml-collections@py312
  5. py312-msgspec>=0.18.6 : devel/py-msgspec@py312
  6. py312-omegaconf>=2.2.2 : devel/py-omegaconf@py312
  7. py312-shtab>=1.5.6 : devel/py-shtab@py312
  8. bash : shells/bash
  9. py312-pytest>=7,1 : devel/py-pytest@py312
  10. python3.12 : lang/python312
Runtime dependencies:
  1. py312-docstring_parser>=0.16 : textproc/py-docstring_parser@py312
  2. py312-typeguard>=4.0.0 : devel/py-typeguard@py312
  3. py312-typing-extensions>=4.13.0 : devel/py-typing-extensions@py312
  4. python3.12 : lang/python312
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-tyro
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/tyro/
  2. https://pypi.org/packages/source/t/tyro/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.16
26 Sep 2026 22:38:34
commit hash: 05658249f9a1b3400429faf35426319bfaab6e94commit hash: 05658249f9a1b3400429faf35426319bfaab6e94commit hash: 05658249f9a1b3400429faf35426319bfaab6e94commit hash: 05658249f9a1b3400429faf35426319bfaab6e94 files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
Author: Pedro Ramos
devel/py-tyro: new port

tyro is 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.

It provides automatic --help generation from docstrings, shell
completion for bash/zsh/fish/PowerShell, and nested subcommands
with minimal boilerplate.

Signed-off-by:	Pedro Ramos <pr9000@tutamail.com>
Co-authored-by:	Michael Osipov <michaelo@FreeBSD.org>
PR:		297523

Number of commits found: 1