{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"A typed, modern replacement for Python's argparse that uses class attributes and type hints to define command-line arguments with static type checking and IDE code completion support.","skillfed_tags":["cli-framework","type-hints","argparse-alternative"],"use_cases":["Build a CLI tool where type hints serve as both documentation and runtime validation without repeating type declarations.","Migrate from argparse to gain IDE autocomplete and static type checking on parsed arguments.","Use tapify to quickly expose a Python function as a command-line tool with automatic argument parsing.","Define reusable argument templates by subclassing and inheriting argument definitions across multiple CLI tools.","Save and load argument configurations to/from files or dictionaries for reproducible runs and experiment tracking."],"what_it_does":"typed-argument-parser replaces Python's built-in argparse with a class-based, type-hinted approach where you define command-line arguments as typed class attributes instead of calling add_argument repeatedly. It automatically generates help text from inline comments, validates types at parse time, and integrates with IDEs for code completion and type checking. The package also includes tapify, a decorator that automatically parses command-line arguments to call functions or initialize classes.\n\nUnder the hood, typed-argument-parser is a wrapper around argparse that translates your class definition into the equivalent argparse configuration. It supports standard argument types (str, int, float, bool, Optional, List, Set, Tuple, Literal, Union), positional arguments, subparsers, and argument post-processing via a configure method. The single runtime dependency is docstring-parser, which extracts help text from your comments.","worth_installing":"Yes. typed-argument-parser is worth installing if you write CLI tools in Python and want type safety, IDE support, and cleaner code than argparse. It has low install friction, active maintenance, no known vulnerabilities, a permissive MIT license, and requires only one runtime dependency. The main constraint is Python 3.10+, which is reasonable for new projects."},"id":"typed-argument-parser","links":{"html":"https://skillfed.io/packages/typed-argument-parser","md":"https://skillfed.io/packages/typed-argument-parser.md","pypi":"https://pypi.org/project/typed-argument-parser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-28","license_spdx":"MIT","license_treatment":"permissive","name":"typed-argument-parser","python_support":"supports_current","summary":"Typed Argument Parser"},"popularity":{"monthly_downloads":313913,"position":7709,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.12.0"}
