{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/2"}],"enrichment":{"capability":"tyro generates command-line interfaces and configuration objects directly from Python type annotations, docstrings, and default values, supporting dataclasses, Pydantic models, and attrs.","skillfed_tags":["cli-generation","type-driven","configuration-management"],"use_cases":["Build CLI tools for machine learning experiments where hyperparameters are defined as dataclass fields with type hints.","Generate configuration interfaces for research codebases without writing separate argument parsing logic.","Create nested command structures for tools that need hierarchical configuration and subcommands.","Rapidly prototype scripts that accept typed arguments while maintaining IDE autocomplete and type checking.","Integrate configuration models directly into CLI applications with automatic validation and help text generation."],"what_it_does":"tyro is a library that turns Python type annotations into command-line interfaces and configuration objects without requiring separate schema definitions or configuration files. You write a function or dataclass with type hints and docstrings, and tyro automatically generates a CLI with argument parsing, help text, type validation, and nested subcommand support. It integrates with popular configuration libraries like dataclasses, attrs, and Pydantic, making it useful for both throwaway scripts and larger projects that need maintainable, type-safe configuration.\n\nThe library is designed around the principle that your code's type annotations and docstrings should be the single source of truth for CLI behavior. This approach keeps configuration logic close to where it's used and enables static type checkers to understand your CLI arguments, improving IDE support and catching errors at development time rather than runtime.","worth_installing":"Yes. tyro is actively maintained, has no known vulnerabilities, installs with low friction, and solves a real problem\u2014turning type annotations into CLIs\u2014in a way that integrates well with modern Python tooling and type checkers. It's particularly valuable if you're already using dataclasses, attrs, or Pydantic and want to avoid writing boilerplate argument parsing code."},"id":"tyro","links":{"html":"https://skillfed.io/packages/tyro","md":"https://skillfed.io/packages/tyro.md","pypi":"https://pypi.org/project/tyro/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-20","license_spdx":null,"license_treatment":"permissive","name":"tyro","python_support":"supports_current","summary":"CLI interfaces & config objects, from types"},"popularity":{"monthly_downloads":14734015,"position":1217,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.15"}
