{
  "id": "task_libraries:cli/python",
  "path": "/exapedia/python-cli-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python CLI libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python CLI (command-line interface) libraries turn the arguments typed after a command into values and function calls inside a program. These libraries give scripts and developer tools the flags, subcommands, and help text that people and coding agents read to learn a command."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python CLI libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#click",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F128"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#typer",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#absl-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#cleo",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#docopt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-fire",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#configargparse",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#hydra-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#click",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads among the registry packages in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Subcommands",
            "Shell completion"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#click",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F128"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#typer",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#absl-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#cleo",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#docopt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-fire",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#configargparse",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#hydra-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "click",
          "name": [
            {
              "t": "fact",
              "fact": "F128"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pallets/click"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/click"
            },
            {
              "label": "Docs",
              "href": "https://click.palletsprojects.com/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Click builds command-line interfaces from decorated functions. "
            },
            {
              "t": "code",
              "text": "@click.command"
            },
            {
              "t": "text",
              "text": " turns a function into a command, and each "
            },
            {
              "t": "code",
              "text": "@click.option"
            },
            {
              "t": "text",
              "text": " adds a flag with its default and help text, which Click collects into a generated help page. Commands nest inside groups to any depth, and subcommands can load lazily at runtime. An option marked with "
            },
            {
              "t": "code",
              "text": "prompt"
            },
            {
              "t": "text",
              "text": " asks for its value when the flag is missing."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://click.palletsprojects.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F128"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Fixed help layout"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Click limits how far help pages can be customized, so that separately written Click commands still work together."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Completion needs an entry point"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Shell completion works only for a script installed through an entry point, not one started with the "
                },
                {
                  "t": "code",
                  "text": "python"
                },
                {
                  "t": "text",
                  "text": " command."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/psf/black",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@mypyc_attr(patchable=True)\ndef _out(message: Optional[str] = None, nl: bool = True, **styles: Any) -> None:\n    if message is not None:\n        if \"bold\" not in styles:\n            styles[\"bold\"] = True\n        message = style(message, **styles)\n    echo(message, nl=nl, err=True)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/psf/black/blob/1b2427a2b785cc4aac97c19bb4b9a0de063f9547/src/black/output.py#L15-L21",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20click%20to%20build%20command-line%20tools%20with%20argument%20parsing%2C%20subcommands%20and%20help%20messages&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F128"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pallets/flask",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F146"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@click.command(\"routes\", short_help=\"Show the routes for the app.\")\n@click.option(\n    \"--sort\",\n    \"-s\",\n    type=click.Choice((\"endpoint\", \"methods\", \"domain\", \"rule\", \"match\")),\n    default=\"endpoint\",\n    help=(\n        \"Method to sort routes by. 'match' is the order that Flask will match routes\"\n        \" when dispatching a request.\"\n    ),\n)\n@click.option(\"--all-methods\", is_flag=True, help=\"Show HEAD and OPTIONS methods.\")\n@with_appcontext\ndef routes_command(sort: str, all_methods: bool) -> None:\n    \"\"\"Show all registered routes with endpoints and methods.\"\"\"\n    rules = list(current_app.url_map.iter_rules())\n\n    if not rules:\n        click.echo(\"No routes were registered.\")\n        return\n\n    ignored_methods = set() if all_methods else {\"HEAD\", \"OPTIONS\"}\n    host_matching = current_app.url_map.host_matching\n    has_domain = any(rule.host if host_matching else rule.subdomain for rule in rules)\n    rows = []\n\n    for rule in rules:\n        row = [\n            rule.endpoint,\n            \", \".join(sorted((rule.methods or set()) - ignored_methods)),\n        ]\n\n        if has_domain:\n            row.append((rule.host if host_matching else rule.subdomain) or \"\")\n\n        row.append(rule.rule)\n        rows.append(row)\n\n    headers = [\"Endpoint\", \"Methods\"]\n    sorts = [\"endpoint\", \"methods\"]\n\n    if has_domain:\n        headers.append(\"Host\" if host_matching else \"Subdomain\")\n        sorts.append(\"domain\")\n\n    headers.append(\"Rule\")\n    sorts.append(\"rule\")\n\n    try:\n        rows.sort(key=itemgetter(sorts.index(sort)))\n    except ValueError:\n        pass\n\n    rows.insert(0, headers)\n    widths = [max(len(row[i]) for row in rows) for i in range(len(headers))]\n    rows.insert(1, [\"-\" * w for w in widths])\n    template = \"  \".join(f\"{{{i}:<{w}}}\" for i, w in enumerate(widths))\n\n    for row in rows:\n        click.echo(template.format(*row))\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pallets/flask/blob/c12a5d874c5a014495eb2db8a73f40037bc813ac/src/flask/cli.py#L1030-L1089",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20click%20to%20build%20command-line%20tools%20with%20argument%20parsing%2C%20subcommands%20and%20help%20messages&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F128"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import click\n\n@click.command()\n@click.option('--count', default=1, help='Number of greetings.')\n@click.option('--name', prompt='Your name',\n              help='The person to greet.')\ndef hello(count, name):\n    \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n    for x in range(count):\n        click.echo(f\"Hello {name}!\")\n\nif __name__ == '__main__':\n    hello()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/pallets/click/blob/main/docs/index.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F133"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "typer",
          "name": [
            {
              "t": "fact",
              "fact": "F148"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/fastapi/typer"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/typer"
            },
            {
              "label": "Docs",
              "href": "https://typer.tiangolo.com/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Typer builds command-line interfaces from ordinary Python functions, reading each parameter's name, type, and default from the function signature. "
            },
            {
              "t": "code",
              "text": "typer.run(main)"
            },
            {
              "t": "text",
              "text": " turns one function into a command, and a "
            },
            {
              "t": "code",
              "text": "typer.Typer()"
            },
            {
              "t": "text",
              "text": " app registers several with "
            },
            {
              "t": "code",
              "text": "@app.command()"
            },
            {
              "t": "text",
              "text": ". Help text and shell completion come from the same declarations. The package also installs a "
            },
            {
              "t": "code",
              "text": "typer"
            },
            {
              "t": "text",
              "text": " command that runs a plain script as a CLI, even one that never imports Typer."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://typer.tiangolo.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F148"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F47"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Single command drops its name"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "An app with one command runs it without a subcommand name. Adding a callback keeps the name."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Bundled copy of Click"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Typer includes Click's source instead of installing Click, and the maintainers plan to drop some Click features from that copy."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/fastapi/fastapi-cli",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F162"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@app.callback()\ndef callback(\n    version: Annotated[\n        bool | None,\n        typer.Option(\n            \"--version\", help=\"Show the version and exit.\", callback=version_callback\n        ),\n    ] = None,\n    verbose: bool = typer.Option(False, help=\"Enable verbose output\"),\n) -> None:\n    \"\"\"\n    FastAPI CLI - The [bold]fastapi[/bold] command line app. 😎\n\n    Manage your [bold]FastAPI[/bold] projects, run your FastAPI apps, and more.\n\n    Read more in the docs: [link=https://fastapi.tiangolo.com/fastapi-cli/]https://fastapi.tiangolo.com/fastapi-cli/[/link].\n    \"\"\"\n\n    log_level = logging.DEBUG if verbose else logging.INFO\n\n    setup_logging(level=log_level)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/fastapi/fastapi-cli/blob/a93728649bbab4f26a5216f420066695d3b2ee00/src/fastapi_cli/cli.py#L86-L106",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F161"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20typer%20to%20build%20command-line%20tools%20with%20argument%20parsing%2C%20subcommands%20and%20help%20messages&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F148"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import typer\n\ndef main(name: str):\n    print(f\"Hello {name}\")\n\nif __name__ == \"__main__\":\n    typer.run(main)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://typer.tiangolo.com/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F153"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "absl-py",
          "name": [
            {
              "t": "fact",
              "fact": "F164"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/abseil/abseil-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/absl-py"
            },
            {
              "label": "Docs",
              "href": "https://abseil.io/docs/python/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Abseil Python ("
            },
            {
              "t": "code",
              "text": "absl-py"
            },
            {
              "t": "text",
              "text": ") collects Python code from Google's own code base for application startup, command-line flags, logging, and testing. "
            },
            {
              "t": "code",
              "text": "app.run(main)"
            },
            {
              "t": "text",
              "text": " parses the command line and then calls "
            },
            {
              "t": "code",
              "text": "main"
            },
            {
              "t": "text",
              "text": ". Flags are defined with functions such as "
            },
            {
              "t": "code",
              "text": "flags.DEFINE_string"
            },
            {
              "t": "text",
              "text": " in any module, and each one joins the command line of every program that imports that module."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://abseil.io/docs/python/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F164"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Flags across modules"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "A module defines its own flags, and any program that imports it accepts them."
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "No command tree"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Flags apply to the whole program. Subcommands go through the "
                },
                {
                  "t": "code",
                  "text": "argparse_flags"
                },
                {
                  "t": "text",
                  "text": " bridge to argparse subparsers."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tensorflow",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@tf_export(v1=['app.run'])\ndef run(main=None, argv=None):\n  \"\"\"Runs the program with an optional 'main' function and 'argv' list.\"\"\"\n\n  main = main or _sys.modules['__main__'].main\n\n  _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tensorflow/blob/2831ab9defab2adc77c16b73b8cda7896059a6e6/tensorflow/python/platform/app.py#L30-L36",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F180"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=absl-py%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F164"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from absl import app\nfrom absl import flags\n\nFLAGS = flags.FLAGS\nflags.DEFINE_string('name', 'Jane Random', 'Your name.')\n\ndef main(argv):\n    print('Happy Birthday', FLAGS.name)\n\nif __name__ == '__main__':\n    app.run(main)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://abseil.io/docs/python/guides/flags",
                  "label": [
                    {
                      "t": "text",
                      "text": "flags.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F169"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "cleo",
          "name": [
            {
              "t": "fact",
              "fact": "F183"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/python-poetry/cleo"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/cleo"
            },
            {
              "label": "Docs",
              "href": "https://cleo.readthedocs.io/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Cleo builds command-line applications from command classes. Each command subclasses "
            },
            {
              "t": "code",
              "text": "Command"
            },
            {
              "t": "text",
              "text": ", sets its name, lists its arguments and options with the "
            },
            {
              "t": "code",
              "text": "argument"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "option"
            },
            {
              "t": "text",
              "text": " helpers, and does its work in "
            },
            {
              "t": "code",
              "text": "handle"
            },
            {
              "t": "text",
              "text": ". An "
            },
            {
              "t": "code",
              "text": "Application"
            },
            {
              "t": "text",
              "text": " holds the registered commands and runs the one named on the command line. The Poetry project maintains Cleo."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cleo.readthedocs.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F183"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Completion scripts included"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "A built-in completions command writes shell completion scripts for bash, zsh, and fish."
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Rewrite under way"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The maintainers are rewriting Cleo for version three and ask contributors to read the plan first."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/python-poetry/poetry",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def handle(self) -> int:\n    from poetry.utils.env import EnvManager\n\n    manager = EnvManager(self.poetry, io=self.io)\n\n    if self.argument(\"python\") == \"system\":\n        manager.deactivate()\n\n        return 0\n\n    env = manager.activate(self.argument(\"python\"))\n\n    self.line(f\"Using virtualenv: <comment>{env.path}</>\")\n\n    return 0\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/python-poetry/poetry/blob/8c9066af1342cd9fe38dffb5d12f6d90b01225dd/src/poetry/console/commands/env/use.py#L23-L37",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=cleo%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F183"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from cleo.application import Application\nfrom cleo.commands.command import Command\n\nclass GreetCommand(Command):\n    name = \"greet\"\n    def handle(self):\n        self.line(\"Hello\")\n\napplication = Application()\napplication.add(GreetCommand())\napplication.run()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/python-poetry/cleo/2.1.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F188"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "docopt",
          "name": [
            {
              "t": "fact",
              "fact": "F201"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/docopt/docopt"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/docopt"
            },
            {
              "label": "Docs",
              "href": "https://docopt.readthedocs.io/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "docopt builds a parser from a program's help message. The usage patterns and options written in the module docstring define which commands and flags are valid, and "
            },
            {
              "t": "code",
              "text": "docopt(__doc__)"
            },
            {
              "t": "text",
              "text": " returns a dictionary of the values found on the command line. The program reads that dictionary and calls the matching code itself."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docopt.readthedocs.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F201"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Help text is the spec"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Editing the usage message changes the parser."
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Completion is separate"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Shell completion comes from the separate infi.docopt_completion project, which reads the help output."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/shiwaforce/poco",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def get_args(self, command, classes, argv):\n        for cls in classes:\n            cmd = getattr(cls, 'command')\n            if not isinstance(cmd, list):\n                cmd = [cmd]\n            if argv and argv[0] in cmd:\n                self.active_object = cls()\n                return docopt(Poco.build_command_help(cls), argv=[command] + argv if command is not None else argv)\n            # argv only contains options (e.g. poco --no-matrix up)\n            if command is not None and argv and argv[0].startswith(\"-\") and command in cmd:\n                self.active_object = cls()\n                return docopt(Poco.build_command_help(cls), argv=[command] + argv)\n            # empty argv, command name already known (e.g. poco helm-repos)\n            if command is not None and not argv and command in cmd:\n                self.active_object = cls()\n                return docopt(Poco.build_command_help(cls), argv=[command])",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/shiwaforce/poco/blob/1afb07007bc523184f5979d144a18716c2852365/poco/poco.py#L234-L249",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F216"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=docopt%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F201"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "\"\"\"Naval Fate.\n\nUsage:\n  naval_fate.py ship new <name>...\n\"\"\"\nfrom docopt import docopt\n\nif __name__ == '__main__':\n    arguments = docopt(__doc__)\n    print(arguments)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/docopt/docopt/blob/master/examples/naval_fate.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "naval_fate.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F206"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "python-fire",
          "name": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/google/python-fire"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/fire"
            },
            {
              "label": "Docs",
              "href": "https://google.github.io/python-fire/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Python Fire generates a command-line interface from any Python object. One call, "
            },
            {
              "t": "code",
              "text": "fire.Fire(hello)"
            },
            {
              "t": "text",
              "text": ", exposes a function, and passing a class, module, or dictionary exposes its methods or entries as commands. Fire parses each argument as a Python value, such as a number, a list, or a dictionary. The same call turns existing code, including other people's, into a CLI."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://google.github.io/python-fire/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Types come from values"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Fire ignores type hints in the function signature and parses each argument from the value typed."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Boolean flags take the next token"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "A token right after a boolean flag becomes that flag's value. A separator after the last flag, or an explicit value, prevents it."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/serengil/deepface",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def cli() -> None:\n    \"\"\"\n    command line interface function will be offered in this block\n    \"\"\"\n    try:\n        import fire  # pylint: disable=import-error\n    except ImportError as import_err:\n        raise ImportError(\n            \"fire is required to use deepface from the command line. \"\n            'Please run `pip install \"deepface[cli]\"` to install it.'\n        ) from import_err\n\n    fire.Fire()\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/serengil/deepface/blob/c2a6fd9a2b845a958ec5d0e61d592ec7fedc0a49/deepface/DeepFace.py#L699-L711",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F232"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20fire%20to%20build%20command-line%20tools%20with%20argument%20parsing%2C%20subcommands%20and%20help%20messages&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import fire\n\ndef hello(name):\n  return f'Hello {name}!'\n\nif __name__ == '__main__':\n  fire.Fire(hello)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://google.github.io/python-fire/guide/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "configargparse",
          "name": [
            {
              "t": "fact",
              "fact": "F235"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/bw2/ConfigArgParse"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/configargparse"
            },
            {
              "label": "Docs",
              "href": "https://bw2.github.io/ConfigArgParse/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "ConfigArgParse extends argparse so that each option can also come from a config file or an environment variable. When a value is set in more than one place, the command line wins over environment variables, which win over config files, which win over defaults. Config files use INI or YAML style syntax, and "
            },
            {
              "t": "code",
              "text": "print_values"
            },
            {
              "t": "text",
              "text": " reports where each value was set. Every argparse feature carries over."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://bw2.github.io/ConfigArgParse/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F235"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Help lists every source"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "The help message documents the environment variables and config file keys next to the flags."
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/bmild/nerf",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def config_parser():\n\n    import configargparse\n    parser = configargparse.ArgumentParser()\n    parser.add_argument('--config', is_config_file=True,\n                        help='config file path')\n    parser.add_argument(\"--expname\", type=str, help='experiment name')\n    parser.add_argument(\"--basedir\", type=str, default='./logs/',\n                        help='where to store ckpts and logs')\n    parser.add_argument(\"--datadir\", type=str,\n                        default='./data/llff/fern', help='input data directory')\n\n    # training options\n    parser.add_argument(\"--netdepth\", type=int, default=8,\n                        help='layers in network')\n    parser.add_argument(\"--netwidth\", type=int, default=256,\n                        help='channels per layer')\n    parser.add_argument(\"--netdepth_fine\", type=int,\n                        default=8, help='layers in fine network')\n    parser.add_argument(\"--netwidth_fine\", type=int, default=256,\n                        help='channels per layer in fine network')\n    parser.add_argument(\"--N_rand\", type=int, default=32*32*4,\n                        help='batch size (number of random rays per gradient step)')\n    parser.add_argument(\"--lrate\", type=float,\n                        default=5e-4, help='learning rate')\n    parser.add_argument(\"--lrate_decay\", type=int, default=250,\n                        help='exponential learning rate decay (in 1000s)')\n    parser.add_argument(\"--chunk\", type=int, default=1024*32,\n                        help='number of rays processed in parallel, decrease if running out of memory')\n    parser.add_argument(\"--netchunk\", type=int, default=1024*64,\n                        help='number of pts sent through network in parallel, decrease if running out of memory')\n    parser.add_argument(\"--no_batching\", action='store_true',\n                        help='only take random rays from 1 image at a time')\n    parser.add_argument(\"--no_reload\", action='store_true',\n                        help='do not reload weights from saved ckpt')\n    parser.add_argument(\"--ft_path\", type=str, default=None,\n                        help='specific weights npy file to reload for coarse network')\n    parser.add_argument(\"--random_seed\", type=int, default=None,\n                        help='fix random seed for repeatability')\n\n    # pre-crop options\n    parser.add_argument(\"--precrop_iters\", type=int, default=0,\n                        help='number of steps to train on central crops')\n    parser.add_argument(\"--precrop_frac\", type=float,\n                        default=.5, help='fraction of img taken for central crops')    \n\n    # rendering options\n    parser.add_argument(\"--N_samples\", type=int, default=64,\n                        help='number of coarse samples per ray')\n    parser.add_argument(\"--N_importance\", type=int, default=0,\n                        help='number of additional fine samples per ray')\n    parser.add_argument(\"--perturb\", type=float, default=1.,\n                        help='set to 0. for no jitter, 1. for jitter')\n    parser.add_argument(\"--use_viewdirs\", action='store_true',\n                        help='use full 5D input instead of 3D')\n    parser.add_argument(\"--i_embed\", type=int, default=0,\n                        help='set 0 for default positional encoding, -1 for none')\n    parser.add_argument(\"--multires\", type=int, default=10,\n                        help='log2 of max freq for positional encoding (3D location)')\n    parser.add_argument(\"--multires_views\", type=int, default=4,\n                        help='log2 of max freq for positional encoding (2D direction)')\n    parser.add_argument(\"--raw_noise_std\", type=float, default=0.,\n                        help='std dev of noise added to regularize sigma_a output, 1e0 recommended')\n\n    parser.add_argument(\"--render_only\", action='store_true',\n                        help='do not optimize, reload weights and render out render_poses path')\n    parser.add_argument(\"--render_test\", action='store_true',\n                        help='render the test set instead of render_poses path')\n    parser.add_argument(\"--render_factor\", type=int, default=0,\n                        help='downsampling factor to speed up rendering, set 4 or 8 for fast preview')\n\n    # dataset options\n    parser.add_argument(\"--dataset_type\", type=str, default='llff',\n                        help='options: llff / blender / deepvoxels')\n    parser.add_argument(\"--testskip\", type=int, default=8,\n                        help='will load 1/N images from test/val sets, useful for large datasets like deepvoxels')\n\n    # deepvoxels flags\n    parser.add_argument(\"--shape\", type=str, default='greek',\n                        help='options : armchair / cube / greek / vase')\n\n    # blender flags\n    parser.add_argument(\"--white_bkgd\", action='store_true',\n                        help='set to render synthetic data on a white bkgd (always use for dvoxels)')\n    parser.add_argument(\"--half_res\", action='store_true',\n                        help='load blender synthetic data at 400x400 instead of 800x800')\n\n    # llff flags\n    parser.add_argument(\"--factor\", type=int, default=8,\n                        help='downsample factor for LLFF images')\n    parser.add_argument(\"--no_ndc\", action='store_true',\n                        help='do not use normalized device coordinates (set for non-forward facing scenes)')\n    parser.add_argument(\"--lindisp\", action='store_true',\n                        help='sampling linearly in disparity rather than depth')\n    parser.add_argument(\"--spherify\", action='store_true',\n                        help='set for spherical 360 scenes')\n    parser.add_argument(\"--llffhold\", type=int, default=8,\n                        help='will take every 1/N images as LLFF test set, paper uses 8')\n\n    # logging/saving options\n    parser.add_argument(\"--i_print\",   type=int, default=100,\n                        help='frequency of console printout and metric loggin')\n    parser.add_argument(\"--i_img\",     type=int, default=500,\n                        help='frequency of tensorboard image logging')\n    parser.add_argument(\"--i_weights\", type=int, default=10000,\n                        help='frequency of weight ckpt saving')\n    parser.add_argument(\"--i_testset\", type=int, default=50000,\n                        help='frequency of testset saving')\n    parser.add_argument(\"--i_video\",   type=int, default=50000,\n                        help='frequency of render_poses video saving')\n\n    return parser\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/bmild/nerf/blob/14c55567a6d0fbd75d3fd12b0411f98160ba3237/run_nerf.py#L461-L572",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F251"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=configargparse%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F235"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import configargparse\n\np = configargparse.ArgParser(default_config_files=['/etc/app/conf.d/*.conf', '~/.my_settings'])\np.add('-c', '--my-config', required=True, is_config_file=True, help='config file path')\np.add('--genome', required=True, help='path to genome file')  # this option can be set in a config file because it starts with '--'\np.add('-v', help='verbose', action='store_true')\np.add('-d', '--dbsnp', help='known variants .vcf', env_var='DBSNP_PATH')  # this option can be set in a config file because it starts with '--'\np.add('vcf', nargs='+', help='variant file(s)')\n\noptions = p.parse_args()\n\nprint(options)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/bw2/ConfigArgParse/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "hydra-core",
          "name": [
            {
              "t": "fact",
              "fact": "F254"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/hydra-ecosystem/hydra"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/hydra-core"
            },
            {
              "label": "Docs",
              "href": "https://hydra.cc/docs/1.3/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Hydra configures applications from YAML files combined into one configuration object. A function decorated with "
            },
            {
              "t": "code",
              "text": "@hydra.main"
            },
            {
              "t": "text",
              "text": " receives that object, and any value in it can be overridden from the command line with "
            },
            {
              "t": "code",
              "text": "key=value"
            },
            {
              "t": "text",
              "text": ". Tab completion covers configuration keys and overrides. OmegaConf, a separate library, holds the configuration."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://hydra.cc/docs/1.3/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F254"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Composed configuration"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "A configuration combines files from several sources into one hierarchy."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Many runs in one command"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Multirun launches several jobs with different arguments from a single command."
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "One task function"
                }
              ],
              "body": [
                {
                  "t": "code",
                  "text": "@hydra.main"
                },
                {
                  "t": "text",
                  "text": " wraps a single function. A tool with several subcommands needs another CLI library for them."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ashleve/lightning-hydra-template",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F271"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@hydra.main(version_base=\"1.3\", config_path=\"../configs\", config_name=\"train.yaml\")\ndef main(cfg: DictConfig) -> Optional[float]:\n    \"\"\"Main entry point for training.\n\n    :param cfg: DictConfig configuration composed by Hydra.\n    :return: Optional[float] with optimized metric value.\n    \"\"\"\n    # apply extra utilities\n    # (e.g. ask for tags if none are provided in cfg, print cfg tree, etc.)\n    extras(cfg)\n\n    # train the model\n    metric_dict, _ = train(cfg)\n\n    # safely retrieve metric value for hydra-based hyperparameter optimization\n    metric_value = get_metric_value(\n        metric_dict=metric_dict, metric_name=cfg.get(\"optimized_metric\")\n    )\n\n    # return optimized metric\n    return metric_value\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ashleve/lightning-hydra-template/blob/bddbc24b82ab6ccfa6243e815a49dc5bfe8d4144/src/train.py#L108-L128",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F270"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=hydra-core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F254"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from omegaconf import DictConfig, OmegaConf\nimport hydra\n\n@hydra.main(version_base=None)\ndef my_app(cfg: DictConfig) -> None:\n    print(OmegaConf.to_yaml(cfg))\n\nif __name__ == \"__main__\":\n    my_app()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://hydra.cc/docs/1.3/tutorials/basic/your_first_app/simple_cli/",
                  "label": [
                    {
                      "t": "text",
                      "text": "simple_cli.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F259"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python CLI library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#click",
          "label": [
            {
              "t": "text",
              "text": "Click"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#typer",
          "label": [
            {
              "t": "text",
              "text": "Typer"
            }
          ]
        },
        {
          "t": "text",
          "text": " cover most command-line tools: Click declares options with decorators, and Typer derives them from type hints. For a script with a few options, Python's built-in argparse needs no install. "
        },
        {
          "t": "link",
          "href": "#hydra-core",
          "label": [
            {
              "t": "text",
              "text": "Hydra"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds the command line from configuration files and lets any value be overridden with "
        },
        {
          "t": "code",
          "text": "key=value"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "What is Python Fire?",
      "a": [
        {
          "t": "link",
          "href": "#python-fire",
          "label": [
            {
              "t": "text",
              "text": "Python Fire"
            }
          ]
        },
        {
          "t": "text",
          "text": " generates a command-line interface from any Python object with one call to "
        },
        {
          "t": "code",
          "text": "fire.Fire"
        },
        {
          "t": "text",
          "text": ". Passing a function makes one command, and passing a class, module, or dictionary exposes its members as commands."
        }
      ]
    },
    {
      "q": "What is Hydra in Python?",
      "a": [
        {
          "t": "link",
          "href": "#hydra-core",
          "label": [
            {
              "t": "text",
              "text": "Hydra"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a framework for configuring applications from YAML files. A function decorated with "
        },
        {
          "t": "code",
          "text": "@hydra.main"
        },
        {
          "t": "text",
          "text": " receives the combined configuration, and any value in it can be overridden from the command line."
        }
      ]
    },
    {
      "q": "Click vs argparse: which should I use?",
      "a": [
        {
          "t": "text",
          "text": "argparse ships with Python and returns the parsed values for the program to act on. Click also calls the function behind each command, nests commands inside groups, and generates help pages."
        }
      ]
    },
    {
      "q": "Typer vs Click: which should I use?",
      "a": [
        {
          "t": "text",
          "text": "Typer reads parameter names, types, and defaults from function signatures, while Click declares each option in a decorator. Typer includes its own copy of Click's source."
        }
      ]
    },
    {
      "q": "What is docopt?",
      "a": [
        {
          "t": "link",
          "href": "#docopt",
          "label": [
            {
              "t": "text",
              "text": "docopt"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds a parser from a program's help message. The usage patterns written in the module docstring define the valid commands and options, and "
        },
        {
          "t": "code",
          "text": "docopt(__doc__)"
        },
        {
          "t": "text",
          "text": " returns the values as a dictionary."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, click",
      "display": "Click",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, click",
      "display": "1.1B",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, click",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, click",
      "display": "8.5.1, Nov 2026",
      "asOf": "2026-11-06"
    },
    "F5": {
      "label": "Package release date, click",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F6": {
      "label": "Repository stars, click",
      "display": "17.8K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Subcommands, click",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Type conversion, click",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Shell completion, click",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Interactive prompts, click",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, click",
      "display": "pip install click",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, click",
      "display": "Builds composable command-line applications with commands, options, and prompts.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, click",
      "display": "Shares context across subcommands",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, click",
      "display": "Let subcommands use data from their parent command.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, click",
      "display": "Prompts for missing options",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, click",
      "display": "Accept supplied options or ask interactively for missing values.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, click",
      "display": "Limits help customization",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, click",
      "display": "Help layouts are constrained to keep combined commands consistent.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, click",
      "display": "Completion needs an installed command",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, click",
      "display": "Package an entry point before enabling shell completion.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, click",
      "display": "import click\n\n@click.command()\n@click.option('--count', default=1, help='Number of greetings.')\n@click.option('--name', prompt='Your name',\n              help='The person to greet.')\ndef hello(count, name):\n    \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n    for x in range(count):\n        click.echo(f\"Hello {name}!\")\n\nif __name__ == '__main__':\n    hello()\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, click",
      "display": "@mypyc_attr(patchable=True)\ndef _out(message: Optional[str] = None, nl: bool = True, **styles: Any) -> None:\n    if message is not None:\n        if \"bold\" not in styles:\n            styles[\"bold\"] = True\n        message = style(message, **styles)\n    echo(message, nl=nl, err=True)\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, click",
      "display": "output.py · _out()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, click",
      "display": "psf/black",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, psf/black",
      "display": "42.2K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, psf/black",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F27": {
      "label": "Project function, click",
      "display": "@click.command(\"routes\", short_help=\"Show the routes for the app.\")\n@click.option(\n    \"--sort\",\n    \"-s\",\n    type=click.Choice((\"endpoint\", \"methods\", \"domain\", \"rule\", \"match\")),\n    default=\"endpoint\",\n    help=(\n        \"Method to sort routes by. 'match' is the order that Flask will match routes\"\n        \" when dispatching a request.\"\n    ),\n)\n@click.option(\"--all-methods\", is_flag=True, help=\"Show HEAD and OPTIONS methods.\")\n@with_appcontext\ndef routes_command(sort: str, all_methods: bool) -> None:\n    \"\"\"Show all registered routes with endpoints and methods.\"\"\"\n    rules = list(current_app.url_map.iter_rules())\n\n    if not rules:\n        click.echo(\"No routes were registered.\")\n        return\n\n    ignored_methods = set() if all_methods else {\"HEAD\", \"OPTIONS\"}\n    host_matching = current_app.url_map.host_matching\n    has_domain = any(rule.host if host_matching else rule.subdomain for rule in rules)\n    rows = []\n\n    for rule in rules:\n        row = [\n            rule.endpoint,\n            \", \".join(sorted((rule.methods or set()) - ignored_methods)),\n        ]\n\n        if has_domain:\n            row.append((rule.host if host_matching else rule.subdomain) or \"\")\n\n        row.append(rule.rule)\n        rows.append(row)\n\n    headers = [\"Endpoint\", \"Methods\"]\n    sorts = [\"endpoint\", \"methods\"]\n\n    if has_domain:\n        headers.append(\"Host\" if host_matching else \"Subdomain\")\n        sorts.append(\"domain\")\n\n    headers.append(\"Rule\")\n    sorts.append(\"rule\")\n\n    try:\n        rows.sort(key=itemgetter(sorts.index(sort)))\n    except ValueError:\n        pass\n\n    rows.insert(0, headers)\n    widths = [max(len(row[i]) for row in rows) for i in range(len(headers))]\n    rows.insert(1, [\"-\" * w for w in widths])\n    template = \"  \".join(f\"{{{i}:<{w}}}\" for i, w in enumerate(widths))\n\n    for row in rows:\n        click.echo(template.format(*row))\n",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Project function reference, click",
      "display": "cli.py · routes_command()",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Project repository, click",
      "display": "pallets/flask",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Project stars, pallets/flask",
      "display": "75.2K",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Project push date, pallets/flask",
      "display": "Oct 2026",
      "asOf": "2026-10-30"
    },
    "F32": {
      "label": "Library name, typer",
      "display": "Typer",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Monthly downloads, typer",
      "display": "297.7M",
      "asOf": "2026-11-16"
    },
    "F34": {
      "label": "License, typer",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Package release, typer",
      "display": "0.29.1, Nov 2026",
      "asOf": "2026-11-11"
    },
    "F36": {
      "label": "Package release date, typer",
      "display": "Nov 2026",
      "asOf": "2026-11-11"
    },
    "F37": {
      "label": "Repository stars, typer",
      "display": "20.4K",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "Subcommands, typer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "Type conversion, typer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "Shell completion, typer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "Interactive prompts, typer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "Install, typer",
      "display": "pip install typer",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "What it does, typer",
      "display": "Builds command-line applications from Python functions and type hints.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "strengths lead, typer",
      "display": "Uses Python type hints",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "strengths, typer",
      "display": "Declare parameter types once and receive converted command-line values.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "strengths lead, typer",
      "display": "Builds nested command trees",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "strengths, typer",
      "display": "Group related commands and subcommands within the same application.",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "limitations lead, typer",
      "display": "Single commands hide their names",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "limitations, typer",
      "display": "Add a callback to keep the subcommand name visible.",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Quickstart, typer",
      "display": "import typer\n\napp = typer.Typer()\n\n@app.command()\ndef hello(name: str):\n    print(f\"Hello {name}\")\n\n@app.command()\ndef goodbye(name: str, formal: bool = False):\n    if formal:\n        print(f\"Goodbye Ms. {name}. Have a good day.\")\n    else:\n        print(f\"Bye {name}!\")\n\nif __name__ == \"__main__\":\n    app()\n\n",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project function, typer",
      "display": "@app.callback()\ndef callback(\n    version: Annotated[\n        bool | None,\n        typer.Option(\n            \"--version\", help=\"Show the version and exit.\", callback=version_callback\n        ),\n    ] = None,\n    verbose: bool = typer.Option(False, help=\"Enable verbose output\"),\n) -> None:\n    \"\"\"\n    FastAPI CLI - The [bold]fastapi[/bold] command line app. 😎\n\n    Manage your [bold]FastAPI[/bold] projects, run your FastAPI apps, and more.\n\n    Read more in the docs: [link=https://fastapi.tiangolo.com/fastapi-cli/]https://fastapi.tiangolo.com/fastapi-cli/[/link].\n    \"\"\"\n\n    log_level = logging.DEBUG if verbose else logging.INFO\n\n    setup_logging(level=log_level)\n",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project function reference, typer",
      "display": "cli.py · callback()",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Project repository, typer",
      "display": "fastapi/fastapi-cli",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Project stars, fastapi/fastapi-cli",
      "display": "649",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Project push date, fastapi/fastapi-cli",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F56": {
      "label": "Library name, fire",
      "display": "Python Fire",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Monthly downloads, fire",
      "display": "23.8M",
      "asOf": "2026-11-16"
    },
    "F58": {
      "label": "License, fire",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Package release, fire",
      "display": "0.7.1, Aug 2025",
      "asOf": "2025-08-16"
    },
    "F60": {
      "label": "Package release date, fire",
      "display": "Aug 2025",
      "asOf": "2025-08-16"
    },
    "F61": {
      "label": "Repository stars, fire",
      "display": "28.2K",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Subcommands, fire",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Type conversion, fire",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Shell completion, fire",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Install, fire",
      "display": "pip install fire",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "What it does, fire",
      "display": "Turns Python functions and objects into command-line interfaces.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, fire",
      "display": "Exposes selected functions directly",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, fire",
      "display": "Pass a command dictionary to expose only selected functions.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "strengths lead, fire",
      "display": "Accepts structured command-line values",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "strengths, fire",
      "display": "Pass lists, tuples, and dictionaries as Python literals.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, fire",
      "display": "Values determine argument types",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, fire",
      "display": "Type hints do not determine how command-line values are parsed.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "limitations lead, fire",
      "display": "Boolean flags can consume arguments",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "limitations, fire",
      "display": "Use explicit boolean values before positional arguments.",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Quickstart, fire",
      "display": "import fire\n\ndef add(x, y):\n  return x + y\n\ndef multiply(x, y):\n  return x * y\n\nif __name__ == '__main__':\n  fire.Fire({\n      'add': add,\n      'multiply': multiply,\n  })\n\n",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Library name, argparse",
      "display": "argparse",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Monthly downloads, argparse",
      "display": "Standard library",
      "asOf": "2026-11-16"
    },
    "F78": {
      "label": "License, argparse",
      "display": "PSF-2.0",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Package release, argparse",
      "display": "With Python",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Undated package release, argparse",
      "display": "With Python",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Repository context, argparse",
      "display": "Part of Python",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Subcommands, argparse",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Type conversion, argparse",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Shell completion, argparse",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Install, argparse",
      "display": "python -c \"import argparse\"",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "What it does, argparse",
      "display": "Parses command-line arguments and generates help using Python’s standard library.",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths lead, argparse",
      "display": "Ships with Python",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths, argparse",
      "display": "Build a basic CLI without installing another argument-parsing package.",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths lead, argparse",
      "display": "Supports separate subcommand parsers",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths, argparse",
      "display": "Give each subcommand its own arguments and help screen.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations lead, argparse",
      "display": "Long options accept abbreviations",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations, argparse",
      "display": "Set allow_abbrev=False to reject shortened long options.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Quickstart, argparse",
      "display": "import argparse\nparser = argparse.ArgumentParser()\nparser.add_argument(\"x\", type=int, help=\"the base\")\nparser.add_argument(\"y\", type=int, help=\"the exponent\")\nparser.add_argument(\"-v\", \"--verbosity\", action=\"count\", default=0)\nargs = parser.parse_args()\nanswer = args.x**args.y\nif args.verbosity >= 2:\n    print(f\"{args.x} to the power {args.y} equals {answer}\")\nelif args.verbosity >= 1:\n    print(f\"{args.x}^{args.y} == {answer}\")\nelse:\n    print(answer)\n\n",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project function, argparse",
      "display": "def main_parser() -> argparse.ArgumentParser:\n    \"\"\"\n    Construct the main parser.\n    \"\"\"\n    parser = argparse.ArgumentParser(\n        description=textwrap.indent(\n            textwrap.dedent(\n                \"\"\"\n                A simple, correct Python build frontend.\n\n                By default, a source distribution (sdist) is built from {srcdir}\n                and a binary distribution (wheel) is built from the sdist.\n                This is recommended as it will ensure the sdist can be used\n                to build wheels.\n\n                Pass -s/--sdist and/or -w/--wheel to build a specific distribution.\n                If you do this, the default behavior will be disabled, and all\n                artifacts will be built from {srcdir} (even if you combine\n                -w/--wheel with -s/--sdist, the wheel will be built from {srcdir}).\n                \"\"\"\n            ).strip(),\n            '    ',\n        ),\n        # Prevent argparse from taking up the entire width of the terminal window\n        # which impedes readability.\n        formatter_class=partial(argparse.RawDescriptionHelpFormatter, width=min(_max_terminal_width, 127)),\n    )\n    parser.add_argument(\n        'srcdir',\n        type=str,\n        nargs='?',\n        default=os.getcwd(),\n        help='source directory (defaults to current directory)',\n    )\n    parser.add_argument(\n        '--version',\n        '-V',\n        action='version',\n        version=f\"build {build.__version__} ({','.join(build.__path__)})\",\n    )\n    parser.add_argument(\n        '--verbose',\n        '-v',\n        dest='verbosity',\n        action='count',\n        default=0,\n        help='increase verbosity',\n    )\n    parser.add_argument(\n        '--sdist',\n        '-s',\n        dest='distributions',\n        action='append_const',\n        const='sdist',\n        help='build a source distribution (disables the default behavior)',\n    )\n    parser.add_argument(\n        '--wheel',\n        '-w',\n        dest='distributions',\n        action='append_const',\n        const='wheel',\n        help='build a wheel (disables the default behavior)',\n    )\n    parser.add_argument(\n        '--outdir',\n        '-o',\n        type=str,\n        help=f'output directory (defaults to {{srcdir}}{os.sep}dist)',\n        metavar='PATH',\n    )\n    parser.add_argument(\n        '--skip-dependency-check',\n        '-x',\n        action='store_true',\n        help='do not check that build dependencies are installed',\n    )\n    env_group = parser.add_mutually_exclusive_group()\n    env_group.add_argument(\n        '--no-isolation',\n        '-n',\n        action='store_true',\n        help='disable building the project in an isolated virtual environment. '\n        'Build dependencies must be installed separately when this option is used',\n    )\n    env_group.add_argument(\n        '--installer',\n        choices=_env.INSTALLERS,\n        help='Python package installer to use (defaults to pip)',\n    )\n    parser.add_argument(\n        '--config-setting',\n        '-C',\n        dest='config_settings',\n        action='append',\n        help='settings to pass to the backend.  Multiple settings can be provided. '\n        'Settings beginning with a hyphen will erroneously be interpreted as options to build if separated '\n        'by a space character; use ``--config-setting=--my-setting -C--my-other-setting``',\n        metavar='KEY[=VALUE]',\n    )\n    return parser\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function reference, argparse",
      "display": "__main__.py · main_parser()",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project repository, argparse",
      "display": "pypa/build",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project stars, pypa/build",
      "display": "865",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project push date, pypa/build",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F99": {
      "label": "Developer need",
      "display": "Commands from type hints",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose typer",
      "display": "typed parameter declarations",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "commands from type hints",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "When to consider argparse",
      "display": "a standard-library parser is enough",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Shared subcommand context",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose click",
      "display": "parent-command data access",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "shared subcommand context",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider typer",
      "display": "parameters should follow type hints",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Existing functions as commands",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose fire",
      "display": "explicit command dictionaries",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "existing functions as commands",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "When to consider typer",
      "display": "declared types should drive conversion",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need",
      "display": "Basic standard-library CLI",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Why choose argparse",
      "display": "included with Python",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need in introduction",
      "display": "basic standard-library CLI",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "When to consider click",
      "display": "subcommands need shared parent context",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Page introduction",
      "display": "Python CLI libraries let developers build command-line interfaces.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: What is the best Python CLI library?",
      "display": "Choose Typer for commands built from Python type hints.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: What is the best Python CLI library?",
      "display": "Choose Click when subcommands need shared invocation context.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: What is the best Python CLI library?",
      "display": "Use argparse for a basic CLI within the standard library.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: What is the best Python CLI library?",
      "display": "Use Python Fire to expose selected existing functions through a command dictionary.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Typer vs Click: which should I use?",
      "display": "Typer declares CLI parameter types through Python type hints.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Typer vs Click: which should I use?",
      "display": "Click declares CLI arguments and options through decorators.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Typer vs Click: which should I use?",
      "display": "Click also provides shared invocation context for subcommands.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Do I need to install a library to build a Python CLI?",
      "display": "argparse is the standard-library option for basic command-line applications.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How do I add subcommands with Typer?",
      "display": "Create a typer.Typer app and register command functions with app.command().",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: How do I add subcommands with Typer?",
      "display": "The Typer quickstart shows command functions and the app entry point.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Does Python Fire use type hints to parse arguments?",
      "display": "Python Fire determines argument types from their values rather than the function signature.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can argparse complete commands in the shell?",
      "display": "Add argcomplete to provide shell completion for an argparse application.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "Library name, click",
      "display": "Click",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Monthly downloads, click",
      "display": "1.1B",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "License, click",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Package release, click",
      "display": "8.5.1",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Package release date, click",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Install, click",
      "display": "pip install click",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Quickstart, click",
      "display": "import click\n\n@click.command()\n@click.option('--count', default=1, help='Number of greetings.')\n@click.option('--name', prompt='Your name',\n              help='The person to greet.')\ndef hello(count, name):\n    \"\"\"Simple program that greets NAME for a total of COUNT times.\"\"\"\n    for x in range(count):\n        click.echo(f\"Hello {name}!\")\n\nif __name__ == '__main__':\n    hello()\n",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Repository stars, click",
      "display": "17.8K",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Subcommands, click",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Shell completion, click",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Declaration and dispatch model, click",
      "display": "Explicit command/option decorators and reusable parameter types.",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "First-call setup, click",
      "display": "[\"Existing Python environment; pip install click uses the official distribution name. Greeting prompts for name unless supplied.\"]",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project function, click",
      "display": "@mypyc_attr(patchable=True)\ndef _out(message: Optional[str] = None, nl: bool = True, **styles: Any) -> None:\n    if message is not None:\n        if \"bold\" not in styles:\n            styles[\"bold\"] = True\n        message = style(message, **styles)\n    echo(message, nl=nl, err=True)\n",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project source file, click",
      "display": "src/black/output.py",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Project full_name, click",
      "display": "psf/black",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project stargazers_count, click",
      "display": "42.2K",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project function, click",
      "display": "@click.command(\"routes\", short_help=\"Show the routes for the app.\")\n@click.option(\n    \"--sort\",\n    \"-s\",\n    type=click.Choice((\"endpoint\", \"methods\", \"domain\", \"rule\", \"match\")),\n    default=\"endpoint\",\n    help=(\n        \"Method to sort routes by. 'match' is the order that Flask will match routes\"\n        \" when dispatching a request.\"\n    ),\n)\n@click.option(\"--all-methods\", is_flag=True, help=\"Show HEAD and OPTIONS methods.\")\n@with_appcontext\ndef routes_command(sort: str, all_methods: bool) -> None:\n    \"\"\"Show all registered routes with endpoints and methods.\"\"\"\n    rules = list(current_app.url_map.iter_rules())\n\n    if not rules:\n        click.echo(\"No routes were registered.\")\n        return\n\n    ignored_methods = set() if all_methods else {\"HEAD\", \"OPTIONS\"}\n    host_matching = current_app.url_map.host_matching\n    has_domain = any(rule.host if host_matching else rule.subdomain for rule in rules)\n    rows = []\n\n    for rule in rules:\n        row = [\n            rule.endpoint,\n            \", \".join(sorted((rule.methods or set()) - ignored_methods)),\n        ]\n\n        if has_domain:\n            row.append((rule.host if host_matching else rule.subdomain) or \"\")\n\n        row.append(rule.rule)\n        rows.append(row)\n\n    headers = [\"Endpoint\", \"Methods\"]\n    sorts = [\"endpoint\", \"methods\"]\n\n    if has_domain:\n        headers.append(\"Host\" if host_matching else \"Subdomain\")\n        sorts.append(\"domain\")\n\n    headers.append(\"Rule\")\n    sorts.append(\"rule\")\n\n    try:\n        rows.sort(key=itemgetter(sorts.index(sort)))\n    except ValueError:\n        pass\n\n    rows.insert(0, headers)\n    widths = [max(len(row[i]) for row in rows) for i in range(len(headers))]\n    rows.insert(1, [\"-\" * w for w in widths])\n    template = \"  \".join(f\"{{{i}:<{w}}}\" for i, w in enumerate(widths))\n\n    for row in rows:\n        click.echo(template.format(*row))\n",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project source file, click",
      "display": "src/flask/cli.py",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project full_name, click",
      "display": "pallets/flask",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project stargazers_count, click",
      "display": "75.2K",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Library name, typer",
      "display": "Typer",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Monthly downloads, typer",
      "display": "305.5M",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "License, typer",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Package release, typer",
      "display": "0.29.2",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Package release date, typer",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Install, typer",
      "display": "uv add typer",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Quickstart, typer",
      "display": "import typer\n\ndef main(name: str):\n    print(f\"Hello {name}\")\n\nif __name__ == \"__main__\":\n    typer.run(main)\n",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Repository stars, typer",
      "display": "20.4K",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Subcommands, typer",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Shell completion, typer",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Declaration and dispatch model, typer",
      "display": "Python type-hinted function parameters and optional explicit command groups.",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "First-call setup, typer",
      "display": "[\"Existing uv Python project. Run uv run python main.py Camila after saving the exact snippet.\"]",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Project function, typer",
      "display": "@app.callback()\ndef callback(\n    version: Annotated[\n        bool | None,\n        typer.Option(\n            \"--version\", help=\"Show the version and exit.\", callback=version_callback\n        ),\n    ] = None,\n    verbose: bool = typer.Option(False, help=\"Enable verbose output\"),\n) -> None:\n    \"\"\"\n    FastAPI CLI - The [bold]fastapi[/bold] command line app. 😎\n\n    Manage your [bold]FastAPI[/bold] projects, run your FastAPI apps, and more.\n\n    Read more in the docs: [link=https://fastapi.tiangolo.com/fastapi-cli/]https://fastapi.tiangolo.com/fastapi-cli/[/link].\n    \"\"\"\n\n    log_level = logging.DEBUG if verbose else logging.INFO\n\n    setup_logging(level=log_level)\n",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Project source file, typer",
      "display": "src/fastapi_cli/cli.py",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project full_name, typer",
      "display": "fastapi/fastapi-cli",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project stargazers_count, typer",
      "display": "649",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Library name, absl-py",
      "display": "Abseil",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Monthly downloads, absl-py",
      "display": "50.3M",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "License, absl-py",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Package release, absl-py",
      "display": "2.5.1",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Package release date, absl-py",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Install, absl-py",
      "display": "pip install absl-py",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Quickstart, absl-py",
      "display": "from absl import app\nfrom absl import flags\n\nFLAGS = flags.FLAGS\nflags.DEFINE_string('name', 'Jane Random', 'Your name.')\n\ndef main(argv):\n    print('Happy Birthday', FLAGS.name)\n\nif __name__ == '__main__':\n    app.run(main)\n",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Official description, absl-py",
      "display": "Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Quickstart source file, absl-py",
      "display": "docs/python/guides/flags.md",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Repository stars, absl-py",
      "display": "2.5K",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Subcommands, absl-py",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Shell completion, absl-py",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Declaration and dispatch model, absl-py",
      "display": "Distributed global flags and app.run; an argparse integration bridge supports subcommands.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "First-call setup, absl-py",
      "display": "[\"Global flag names must not collide with imported modules. This is the shortest complete official flag tutorial with all referenced flags defined; the shorter app guide references an undefined debug flag.\"]",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Global flag registry, absl-py",
      "display": "Imported modules share registered flags; conflicting flag names can fail at import time.",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project function, absl-py",
      "display": "@tf_export(v1=['app.run'])\ndef run(main=None, argv=None):\n  \"\"\"Runs the program with an optional 'main' function and 'argv' list.\"\"\"\n\n  main = main or _sys.modules['__main__'].main\n\n  _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)\n",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project source file, absl-py",
      "display": "tensorflow/python/platform/app.py",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project full_name, absl-py",
      "display": "tensorflow/tensorflow",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project stargazers_count, absl-py",
      "display": "201.6K",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Library name, cleo",
      "display": "Cleo",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Monthly downloads, cleo",
      "display": "44.6M",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "License, cleo",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Package release, cleo",
      "display": "2.1.0",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release date, cleo",
      "display": "Oct 2023",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Install, cleo",
      "display": "pip install cleo",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Quickstart, cleo",
      "display": "from cleo.application import Application\nfrom cleo.commands.command import Command\n\nclass GreetCommand(Command):\n    name = \"greet\"\n    def handle(self):\n        self.line(\"Hello\")\n\napplication = Application()\napplication.add(GreetCommand())\napplication.run()\n",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Official description, cleo",
      "display": "Cleo allows you to create beautiful and testable command-line interfaces.",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Quickstart source file, cleo",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Repository stars, cleo",
      "display": "1.4K",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Subcommands, cleo",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Shell completion, cleo",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Declaration and dispatch model, cleo",
      "display": "Command subclasses registered on an Application,with argument/option helper declarations.",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "First-call setup, cleo",
      "display": "[\"Save the first complete block as greet_command.py and second as application.py; python application.py greet John invokes one basic command. Two original source blocks shown together with a mechanical file boundary marker.\"]",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Project function, cleo",
      "display": "def handle(self) -> int:\n    from poetry.utils.env import EnvManager\n\n    manager = EnvManager(self.poetry, io=self.io)\n\n    if self.argument(\"python\") == \"system\":\n        manager.deactivate()\n\n        return 0\n\n    env = manager.activate(self.argument(\"python\"))\n\n    self.line(f\"Using virtualenv: <comment>{env.path}</>\")\n\n    return 0\n",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Project source file, cleo",
      "display": "src/poetry/console/commands/env/use.py",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Project full_name, cleo",
      "display": "python-poetry/poetry",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project stargazers_count, cleo",
      "display": "34.3K",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Library name, docopt",
      "display": "docopt",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Monthly downloads, docopt",
      "display": "25.1M",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "License, docopt",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Package release, docopt",
      "display": "0.6.2",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Package release date, docopt",
      "display": "Jun 2014",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Install, docopt",
      "display": "pip install docopt",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Quickstart, docopt",
      "display": "\"\"\"Naval Fate.\n\nUsage:\n  naval_fate.py ship new <name>...\n\"\"\"\nfrom docopt import docopt\n\nif __name__ == '__main__':\n    arguments = docopt(__doc__)\n    print(arguments)\n",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Official description, docopt",
      "display": "Pythonic argument parser, that will make you smile",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Quickstart source file, docopt",
      "display": "examples/naval_fate.py",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Repository stars, docopt",
      "display": "8.0K",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Subcommands, docopt",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Shell completion, docopt",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Declaration and dispatch model, docopt",
      "display": "Human-authored usage text interpreted into a dictionary of command/option values.",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "First-call setup, docopt",
      "display": "[\"Save as naval_fate.py and run python naval_fate.py --help or a declared command. Entire official getting-started example; usage grammar is required input,not optional logging.\"]",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Project function, docopt",
      "display": "def get_args(self, command, classes, argv):\n        for cls in classes:\n            cmd = getattr(cls, 'command')\n            if not isinstance(cmd, list):\n                cmd = [cmd]\n            if argv and argv[0] in cmd:\n                self.active_object = cls()\n                return docopt(Poco.build_command_help(cls), argv=[command] + argv if command is not None else argv)\n            # argv only contains options (e.g. poco --no-matrix up)\n            if command is not None and argv and argv[0].startswith(\"-\") and command in cmd:\n                self.active_object = cls()\n                return docopt(Poco.build_command_help(cls), argv=[command] + argv)\n            # empty argv, command name already known (e.g. poco helm-repos)\n            if command is not None and not argv and command in cmd:\n                self.active_object = cls()\n                return docopt(Poco.build_command_help(cls), argv=[command])",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project source file, docopt",
      "display": "poco/poco.py",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project full_name, docopt",
      "display": "shiwaforce/poco",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project stargazers_count, docopt",
      "display": "113",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Library name, fire",
      "display": "Python Fire",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Monthly downloads, fire",
      "display": "23.9M",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "License, fire",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Package release, fire",
      "display": "0.7.1",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Package release date, fire",
      "display": "Aug 2025",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Install, fire",
      "display": "pip install fire",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Quickstart, fire",
      "display": "import fire\n\ndef hello(name):\n  return f'Hello {name}!'\n\nif __name__ == '__main__':\n  fire.Fire(hello)\n",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Repository stars, fire",
      "display": "28.2K",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Subcommands, fire",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Shell completion, fire",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Declaration and dispatch model, fire",
      "display": "Introspection of Python functions,classes,objects,and dictionaries into member commands.",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "First-call setup, fire",
      "display": "[\"Save as example.py and run python example.py World. This exposes just hello,avoiding exposure of every module member.\"]",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Project function, fire",
      "display": "def cli() -> None:\n    \"\"\"\n    command line interface function will be offered in this block\n    \"\"\"\n    try:\n        import fire  # pylint: disable=import-error\n    except ImportError as import_err:\n        raise ImportError(\n            \"fire is required to use deepface from the command line. \"\n            'Please run `pip install \"deepface[cli]\"` to install it.'\n        ) from import_err\n\n    fire.Fire()\n",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Project source file, fire",
      "display": "deepface/DeepFace.py",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Project full_name, fire",
      "display": "serengil/deepface",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Project stargazers_count, fire",
      "display": "23.7K",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Library name, configargparse",
      "display": "ConfigArgParse",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Monthly downloads, configargparse",
      "display": "21.6M",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "License, configargparse",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Package release, configargparse",
      "display": "1.10.1",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Package release date, configargparse",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Install, configargparse",
      "display": "pip install ConfigArgParse",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Quickstart, configargparse",
      "display": "import configargparse\n\np = configargparse.ArgParser(default_config_files=['/etc/app/conf.d/*.conf', '~/.my_settings'])\np.add('-c', '--my-config', required=True, is_config_file=True, help='config file path')\np.add('--genome', required=True, help='path to genome file')  # this option can be set in a config file because it starts with '--'\np.add('-v', help='verbose', action='store_true')\np.add('-d', '--dbsnp', help='known variants .vcf', env_var='DBSNP_PATH')  # this option can be set in a config file because it starts with '--'\np.add('vcf', nargs='+', help='variant file(s)')\n\noptions = p.parse_args()\n\nprint(options)\n",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Official description, configargparse",
      "display": "A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Quickstart source file, configargparse",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Repository stars, configargparse",
      "display": "761",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Subcommands, configargparse",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Shell completion, configargparse",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Declaration and dispatch model, configargparse",
      "display": "Argparse-compatible imperative argument declarations with config-file and environment precedence.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "First-call setup, configargparse",
      "display": "[\"Official prefix through the first parsed-value output. Required companion config.txt has genome=HCMV and dbsnp=/data/dbsnp/variants.vcf as shown in the same README. Pass --my-config config.txt f1.vcf f2.vcf. Paths are sample parser values; no genomics files or services accessed.\"]",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Configuration precedence, configargparse",
      "display": "[\"command line\", \"environment variables\", \"config file values\", \"defaults\"]",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project function, configargparse",
      "display": "def config_parser():\n\n    import configargparse\n    parser = configargparse.ArgumentParser()\n    parser.add_argument('--config', is_config_file=True,\n                        help='config file path')\n    parser.add_argument(\"--expname\", type=str, help='experiment name')\n    parser.add_argument(\"--basedir\", type=str, default='./logs/',\n                        help='where to store ckpts and logs')\n    parser.add_argument(\"--datadir\", type=str,\n                        default='./data/llff/fern', help='input data directory')\n\n    # training options\n    parser.add_argument(\"--netdepth\", type=int, default=8,\n                        help='layers in network')\n    parser.add_argument(\"--netwidth\", type=int, default=256,\n                        help='channels per layer')\n    parser.add_argument(\"--netdepth_fine\", type=int,\n                        default=8, help='layers in fine network')\n    parser.add_argument(\"--netwidth_fine\", type=int, default=256,\n                        help='channels per layer in fine network')\n    parser.add_argument(\"--N_rand\", type=int, default=32*32*4,\n                        help='batch size (number of random rays per gradient step)')\n    parser.add_argument(\"--lrate\", type=float,\n                        default=5e-4, help='learning rate')\n    parser.add_argument(\"--lrate_decay\", type=int, default=250,\n                        help='exponential learning rate decay (in 1000s)')\n    parser.add_argument(\"--chunk\", type=int, default=1024*32,\n                        help='number of rays processed in parallel, decrease if running out of memory')\n    parser.add_argument(\"--netchunk\", type=int, default=1024*64,\n                        help='number of pts sent through network in parallel, decrease if running out of memory')\n    parser.add_argument(\"--no_batching\", action='store_true',\n                        help='only take random rays from 1 image at a time')\n    parser.add_argument(\"--no_reload\", action='store_true',\n                        help='do not reload weights from saved ckpt')\n    parser.add_argument(\"--ft_path\", type=str, default=None,\n                        help='specific weights npy file to reload for coarse network')\n    parser.add_argument(\"--random_seed\", type=int, default=None,\n                        help='fix random seed for repeatability')\n\n    # pre-crop options\n    parser.add_argument(\"--precrop_iters\", type=int, default=0,\n                        help='number of steps to train on central crops')\n    parser.add_argument(\"--precrop_frac\", type=float,\n                        default=.5, help='fraction of img taken for central crops')    \n\n    # rendering options\n    parser.add_argument(\"--N_samples\", type=int, default=64,\n                        help='number of coarse samples per ray')\n    parser.add_argument(\"--N_importance\", type=int, default=0,\n                        help='number of additional fine samples per ray')\n    parser.add_argument(\"--perturb\", type=float, default=1.,\n                        help='set to 0. for no jitter, 1. for jitter')\n    parser.add_argument(\"--use_viewdirs\", action='store_true',\n                        help='use full 5D input instead of 3D')\n    parser.add_argument(\"--i_embed\", type=int, default=0,\n                        help='set 0 for default positional encoding, -1 for none')\n    parser.add_argument(\"--multires\", type=int, default=10,\n                        help='log2 of max freq for positional encoding (3D location)')\n    parser.add_argument(\"--multires_views\", type=int, default=4,\n                        help='log2 of max freq for positional encoding (2D direction)')\n    parser.add_argument(\"--raw_noise_std\", type=float, default=0.,\n                        help='std dev of noise added to regularize sigma_a output, 1e0 recommended')\n\n    parser.add_argument(\"--render_only\", action='store_true',\n                        help='do not optimize, reload weights and render out render_poses path')\n    parser.add_argument(\"--render_test\", action='store_true',\n                        help='render the test set instead of render_poses path')\n    parser.add_argument(\"--render_factor\", type=int, default=0,\n                        help='downsampling factor to speed up rendering, set 4 or 8 for fast preview')\n\n    # dataset options\n    parser.add_argument(\"--dataset_type\", type=str, default='llff',\n                        help='options: llff / blender / deepvoxels')\n    parser.add_argument(\"--testskip\", type=int, default=8,\n                        help='will load 1/N images from test/val sets, useful for large datasets like deepvoxels')\n\n    # deepvoxels flags\n    parser.add_argument(\"--shape\", type=str, default='greek',\n                        help='options : armchair / cube / greek / vase')\n\n    # blender flags\n    parser.add_argument(\"--white_bkgd\", action='store_true',\n                        help='set to render synthetic data on a white bkgd (always use for dvoxels)')\n    parser.add_argument(\"--half_res\", action='store_true',\n                        help='load blender synthetic data at 400x400 instead of 800x800')\n\n    # llff flags\n    parser.add_argument(\"--factor\", type=int, default=8,\n                        help='downsample factor for LLFF images')\n    parser.add_argument(\"--no_ndc\", action='store_true',\n                        help='do not use normalized device coordinates (set for non-forward facing scenes)')\n    parser.add_argument(\"--lindisp\", action='store_true',\n                        help='sampling linearly in disparity rather than depth')\n    parser.add_argument(\"--spherify\", action='store_true',\n                        help='set for spherical 360 scenes')\n    parser.add_argument(\"--llffhold\", type=int, default=8,\n                        help='will take every 1/N images as LLFF test set, paper uses 8')\n\n    # logging/saving options\n    parser.add_argument(\"--i_print\",   type=int, default=100,\n                        help='frequency of console printout and metric loggin')\n    parser.add_argument(\"--i_img\",     type=int, default=500,\n                        help='frequency of tensorboard image logging')\n    parser.add_argument(\"--i_weights\", type=int, default=10000,\n                        help='frequency of weight ckpt saving')\n    parser.add_argument(\"--i_testset\", type=int, default=50000,\n                        help='frequency of testset saving')\n    parser.add_argument(\"--i_video\",   type=int, default=50000,\n                        help='frequency of render_poses video saving')\n\n    return parser\n",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project source file, configargparse",
      "display": "run_nerf.py",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project full_name, configargparse",
      "display": "bmild/nerf",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Project stargazers_count, configargparse",
      "display": "11.0K",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Library name, hydra-core",
      "display": "Hydra",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Monthly downloads, hydra-core",
      "display": "17.7M",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "License, hydra-core",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Package release, hydra-core",
      "display": "1.3.8",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Package release date, hydra-core",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Install, hydra-core",
      "display": "pip install --upgrade \"hydra-core>=1.3,<1.4\"",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Quickstart, hydra-core",
      "display": "from omegaconf import DictConfig, OmegaConf\nimport hydra\n\n@hydra.main(version_base=None)\ndef my_app(cfg: DictConfig) -> None:\n    print(OmegaConf.to_yaml(cfg))\n\nif __name__ == \"__main__\":\n    my_app()\n",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Official description, hydra-core",
      "display": "A framework for elegantly configuring complex applications",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Quickstart source file, hydra-core",
      "display": "my_app.py",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Repository stars, hydra-core",
      "display": "10.8K",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Subcommands, hydra-core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Shell completion, hydra-core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Declaration and dispatch model, hydra-core",
      "display": "A single decorated app with hierarchical config composition,CLI overrides,and parameter sweeps.",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "First-call setup, hydra-core",
      "display": "[\"Official1.3 simple app without config files; whitespace reconstructed from rendered tutorial and disclosed as a recipe. Save my_app.py; python my_app.py +db.driver=mysql overrides empty configuration. Stable1.3 selected;1.4 prerelease requires explicit opt-in.\"]",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Configuration and multirun, hydra-core",
      "display": "Hierarchical config composition and CLI sweeps over a single application task.",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Project function, hydra-core",
      "display": "@hydra.main(version_base=\"1.3\", config_path=\"../configs\", config_name=\"train.yaml\")\ndef main(cfg: DictConfig) -> Optional[float]:\n    \"\"\"Main entry point for training.\n\n    :param cfg: DictConfig configuration composed by Hydra.\n    :return: Optional[float] with optimized metric value.\n    \"\"\"\n    # apply extra utilities\n    # (e.g. ask for tags if none are provided in cfg, print cfg tree, etc.)\n    extras(cfg)\n\n    # train the model\n    metric_dict, _ = train(cfg)\n\n    # safely retrieve metric value for hydra-based hyperparameter optimization\n    metric_value = get_metric_value(\n        metric_dict=metric_dict, metric_name=cfg.get(\"optimized_metric\")\n    )\n\n    # return optimized metric\n    return metric_value\n",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Project source file, hydra-core",
      "display": "src/train.py",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "Project full_name, hydra-core",
      "display": "ashleve/lightning-hydra-template",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Project stargazers_count, hydra-core",
      "display": "5.4K",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Developer need",
      "display": "Commands from type hints",
      "asOf": "2026-11-17"
    },
    "F274": {
      "label": "Pick reason",
      "display": "reads types from signatures",
      "asOf": "2026-11-17"
    },
    "F275": {
      "label": "Pick alternative reason",
      "display": "if options belong in decorators",
      "asOf": "2026-11-17"
    },
    "F276": {
      "label": "Developer need",
      "display": "Nested subcommands",
      "asOf": "2026-11-17"
    },
    "F277": {
      "label": "Pick reason",
      "display": "decorated commands and groups",
      "asOf": "2026-11-17"
    },
    "F278": {
      "label": "Pick alternative reason",
      "display": "if type hints already describe the options",
      "asOf": "2026-11-17"
    },
    "F279": {
      "label": "Developer need",
      "display": "Existing functions as commands",
      "asOf": "2026-11-17"
    },
    "F280": {
      "label": "Pick reason",
      "display": "one call, no declarations",
      "asOf": "2026-11-17"
    },
    "F281": {
      "label": "Pick alternative reason",
      "display": "if arguments need declared types",
      "asOf": "2026-11-17"
    },
    "F282": {
      "label": "Developer need",
      "display": "Runs driven by config files",
      "asOf": "2026-11-17"
    },
    "F283": {
      "label": "Pick reason",
      "display": "overrides from the command line",
      "asOf": "2026-11-17"
    },
    "F284": {
      "label": "Pick alternative reason",
      "display": "if argparse plus config files is enough",
      "asOf": "2026-11-17"
    },
    "F285": {
      "label": "Developer need",
      "display": "Settings from files and env vars",
      "asOf": "2026-11-17"
    },
    "F286": {
      "label": "Pick reason",
      "display": "argparse with config files",
      "asOf": "2026-11-17"
    },
    "F287": {
      "label": "Pick alternative reason",
      "display": "if configs compose from YAML",
      "asOf": "2026-11-17"
    },
    "F288": {
      "label": "Developer need",
      "display": "Help text as the parser",
      "asOf": "2026-11-17"
    },
    "F289": {
      "label": "Pick reason",
      "display": "parses the usage message",
      "asOf": "2026-11-17"
    },
    "F290": {
      "label": "Pick alternative reason",
      "display": "if commands need dispatch",
      "asOf": "2026-11-17"
    },
    "F291": {
      "label": "Developer need",
      "display": "Commands as classes",
      "asOf": "2026-11-17"
    },
    "F292": {
      "label": "Pick reason",
      "display": "command classes with completions",
      "asOf": "2026-11-17"
    },
    "F293": {
      "label": "Pick alternative reason",
      "display": "if functions should be commands",
      "asOf": "2026-11-17"
    },
    "F294": {
      "label": "Developer need",
      "display": "Flags defined across modules",
      "asOf": "2026-11-17"
    },
    "F295": {
      "label": "Pick reason",
      "display": "flags any module can define",
      "asOf": "2026-11-17"
    },
    "F296": {
      "label": "Pick alternative reason",
      "display": "if flags need config files",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Python CLI libraries Typer Click argparse Python Fire subcommands type conversion code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
