Tyro

Latest version: v0.9.18

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

Scan your dependencies

Page 1 of 25

0.9.18

What's Changed
* Add support for ml_collections.FrozenConfigDict by brentyi in https://github.com/brentyi/tyro/pull/272
* Consider argument metavar in 'Perhaps you meant' error text by brentyi in https://github.com/brentyi/tyro/pull/274
* Implement warning for duplicate subcommands by brentyi in https://github.com/brentyi/tyro/pull/275
* Drop Python 3.7 support by brentyi in https://github.com/brentyi/tyro/pull/280
* Bump typing_extensions requirement to >=4.13.0 by brentyi in https://github.com/brentyi/tyro/pull/276
* Update README.md by alok in https://github.com/brentyi/tyro/pull/283
* Clean up unnecessary type swapping/narrowing logic by brentyi in https://github.com/brentyi/tyro/pull/284
* Support PEP 727 Doc objects by emcd in https://github.com/brentyi/tyro/pull/279
* Treat unannotated arguments as `Any` by brentyi in https://github.com/brentyi/tyro/pull/285

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

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.9.17...v0.9.18

0.9.17

What's Changed
* Consistency improvements for `tyro.MISSING` by brentyi in https://github.com/brentyi/tyro/pull/264
* Fix subcommand Callable type annotations by brentyi in https://github.com/brentyi/tyro/pull/265
* Improve documentation across the codebase by brentyi in https://github.com/brentyi/tyro/pull/266
* Fix truncation of long Literal options in helptext display by brentyi in https://github.com/brentyi/tyro/pull/267
* Expand tuple narrowing support by brentyi in https://github.com/brentyi/tyro/pull/268
* Fix runtime error with NotRequired[bool] in TypedDict by brentyi in https://github.com/brentyi/tyro/pull/269
* Refactor struct rules into separate files by brentyi in https://github.com/brentyi/tyro/pull/270
* Add ml_collections support with tests by brentyi in https://github.com/brentyi/tyro/pull/271


**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.9.16...v0.9.17

0.9.16

What's Changed
* Test + support custom constructor edge case by brentyi in https://github.com/brentyi/tyro/pull/259


**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.9.15...v0.9.16

0.9.15

Consistency improvements for `tyro.extras` helpers and fixed an edge case for custom constructors.

What's Changed
* Support single input for `extras.overridable_config_cli` and `extras.subcommand_type_from_defaults()` by brentyi in https://github.com/brentyi/tyro/pull/255
* More consistent arguments for `tyro.extras` subcommand helpers by brentyi in https://github.com/brentyi/tyro/pull/256
* Fix custom constructor edge case for variable-length positional arguments by brentyi in https://github.com/brentyi/tyro/pull/258


**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.9.14...v0.9.15

0.9.14

The release contains:
- Minor bug fixes.
- New configuration flags: `tyro.conf.FlagCreatePairsOff` and `tyro.conf.HelptextFromCommentsOff`.
- Helptext grouping refinements.

What's Changed
* Fix `tyro.conf.UseAppendAction` + abstract `Sequence` annotations by brentyi in https://github.com/brentyi/tyro/pull/248
* Show flag aliases before auto-generated names in helptext by brentyi in https://github.com/brentyi/tyro/pull/247
* Reduce `Unknown` types at API boundaries by brentyi in https://github.com/brentyi/tyro/pull/249
* Add flag to turn off helptext generation from comments by brentyi in https://github.com/brentyi/tyro/pull/246
* Add flag to turn off boolean negation by e3rd in https://github.com/brentyi/tyro/pull/250
* Improve prefix omitting flag keep groups in help by e3rd in https://github.com/brentyi/tyro/pull/252
* Restore helptext behavior for erased argument names + tests by brentyi in https://github.com/brentyi/tyro/pull/253

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

**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.9.13...v0.9.14

0.9.13

What's Changed
* Correct MRO traversal for inherited fields in https://github.com/brentyi/tyro/pull/241


**Full Changelog**: https://github.com/brentyi/tyro/compare/v0.9.12...v0.9.13

Page 1 of 25

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.