| Port details |
- py-tyro CLI interfaces & config objects, from types
- 1.0.16 devel
=0 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
 - 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
¦ ¦ ¦ ¦ 
- 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>)
- 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:
-
- py312-hatchling>=0 : devel/py-hatchling@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- py312-attrs>=21.4.0 : devel/py-attrs@py312
- py312-pydantic2>=2.5.2 : devel/py-pydantic2@py312
- py312-pyyaml>=6.0 : devel/py-pyyaml@py312
- py312-ml-collections>=0.1.0 : misc/py-ml-collections@py312
- py312-msgspec>=0.18.6 : devel/py-msgspec@py312
- py312-omegaconf>=2.2.2 : devel/py-omegaconf@py312
- py312-shtab>=1.5.6 : devel/py-shtab@py312
- bash : shells/bash
- py312-pytest>=7,1 : devel/py-pytest@py312
- python3.12 : lang/python312
- Runtime dependencies:
-
- py312-docstring_parser>=0.16 : textproc/py-docstring_parser@py312
- py312-typeguard>=4.0.0 : devel/py-typeguard@py312
- py312-typing-extensions>=4.13.0 : devel/py-typing-extensions@py312
- 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:
|