Skip to content

nestargs

nestargs is a Python library for conveniently handling structured data through command-line arguments. It provides an argparse-compatible interface while organizing parsed values into a hierarchy.

Installation

$ pip install nestargs

Or install it with uv:

$ uv add nestargs

Documentation

  • Concept: Learn why nestargs is useful for handling structured data.
  • User guide: Learn how to define and parse hierarchical command-line arguments.