Tyro

Latest version: v0.9.18

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 25

0.8.14

What's Changed

Improvements for type alias support, generics, and helptext generation.

* Fix edge cases associated with nested/recursive PEP 695 aliases by brentyi in https://github.com/brentyi/tyro/pull/181
* Support cyclic generics by brentyi in https://github.com/brentyi/tyro/pull/182
* Minor helptext generation improvements by brentyi in https://github.com/brentyi/tyro/pull/184


**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.13...v0.8.14

0.8.13

What's Changed

* Support suppressed arguments with duplicate names + light refactor for maintainability by brentyi in https://github.com/brentyi/tyro/pull/174
* Allow subcommand_cli_from_dict to specify console_outputs by mirceamironenco in https://github.com/brentyi/tyro/pull/175
* More complete wrappers in `tyro.extras` (for `torchrun`, etc) by brentyi in https://github.com/brentyi/tyro/pull/176
* Fix edge case when combining PEP 695 aliases with `typing.Annotated[]` by brentyi in https://github.com/brentyi/tyro/pull/178
* Fix generic aliases generated by Python 3.12 `type` statements by brentyi in https://github.com/brentyi/tyro/pull/179
* (refactor) Context-based resolution for generic types by brentyi in https://github.com/brentyi/tyro/pull/180

New Contributors
* mirceamironenco made their first contribution in https://github.com/brentyi/tyro/pull/175

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.12...v0.8.13

0.8.12

What's Changed

Minor bug fixes, new features: `tyro.conf.EnumChoicesFromValues` (thanks mcd!), `tyro.extras.SubcommandApp` (thanks jedie!).


* Fix inconsistency between `type[T]` and `typing.Type[T]` annotations by brentyi in https://github.com/brentyi/tyro/pull/165
* Feature: Markers: EnumChoicesFromValues by emcd in https://github.com/brentyi/tyro/pull/168
* Fix `--tyro-write-completion` when `use_underscores=True` by brentyi in https://github.com/brentyi/tyro/pull/173
* Decorator-based subcommand API (`tyro.extras.SubcommandApp`) by brentyi in https://github.com/brentyi/tyro/pull/169

New Contributors
* emcd made their first contribution in https://github.com/brentyi/tyro/pull/168

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.11...v0.8.12

0.8.11

What's Changed
* Support Enum aliases by kevinddchen in https://github.com/brentyi/tyro/pull/162
* Support overriding behavior hint in argument helptext by brentyi in https://github.com/brentyi/tyro/pull/161


**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.10...v0.8.11

0.8.10

Better support for unions in completion script generation. (158)

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.9...v0.8.10

0.8.9

What's Changed
* Add workaround for Python<=3.10 `get_type_hints()` bug in https://github.com/brentyi/tyro/pull/157
* Add support for `datetime.{date,time,datetime}` types in https://github.com/brentyi/tyro/pull/155
* Improve error messages for misplaced subcommand options.

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.8.8...v0.8.9

Page 4 of 25

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.