{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Transforms argparse scripts into structured, typed command-line interfaces using dataclasses, with support for nesting, inheritance, and automatic help generation from docstrings.","skillfed_tags":["cli-framework","dataclass-driven"],"use_cases":["Machine learning projects where you need to parse training, validation, and test configurations with identical structure but different prefixes.","Reusing argument definitions across multiple CLI tools in the same codebase without copy-pasting argparse boilerplate.","Generating clean, auto-documented --help output from dataclass field comments and docstrings.","Saving and loading command-line configurations to/from json or yaml files for reproducibility.","Building nested argument hierarchies where subcommands or modules each have their own configuration dataclass."],"what_it_does":"simple-parsing wraps Python's argparse to let you define command-line arguments as dataclasses instead of repeated add_argument() calls. It generates help text from docstrings and field comments, handles nested and inherited dataclasses, and supports serialization to json/yaml. The core idea is reducing boilerplate: instead of copy-pasting argument definitions, you define an Options dataclass once and reuse it with automatic prefixing for multiple argument groups.\n\nYou use it by creating a dataclass with typed fields, then passing it to ArgumentParser.add_arguments() or calling simple_parsing.parse() directly. It depends on docstring-parser to extract help text from comments and typing-extensions for type annotation support. The package requires Python 3.9 or later.","worth_installing":"Yes. Low install friction, no known vulnerabilities, MIT license, and active maintenance make it a safe choice. It genuinely reduces argparse boilerplate for projects using dataclasses, especially those with reusable or nested argument groups. Suitable for both small scripts and larger CLI applications."},"id":"simple-parsing","links":{"html":"https://skillfed.io/packages/simple-parsing","md":"https://skillfed.io/packages/simple-parsing.md","pypi":"https://pypi.org/project/simple-parsing/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-27","license_spdx":null,"license_treatment":"permissive","name":"simple-parsing","python_support":"supports_current","summary":"A small utility to simplify and clean up argument parsing scripts."},"popularity":{"monthly_downloads":4306956,"position":2336,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.9"}
