{
 "kind": "tool",
 "slug": "docopt",
 "path": "tools/docopt/",
 "name": "docopt",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Create CLI interfaces from docstrings with automatic argument parsing.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install docopt"
 },
 "links": [
  {
   "label": "Website",
   "href": "http://docopt.org"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "http://docopt.org"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": "http://docopt.org"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "4 projects",
   "status": "info",
   "sub": "#154 of 299 in its category",
   "note": "Dependency in 4 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What docopt does",
   "parts": [
    {
     "t": "prose",
     "text": "Create CLI interfaces from docstrings with automatic argument parsing."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "docopt popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "61",
       "of": "/ 100",
       "l": "Gid Score, #846 overall"
      },
      {
       "n": "5.9M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "4",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How docopt is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "docopt is a dependency in 4 of the 6,254 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 208 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Click (154 projects).",
      "Projects that use it most often also use attrs (97.6%), NumPy (96.6%), packaging (96.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 97.6% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 96.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 96.2% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 94.2% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 92.8% of its projects",
       "v": "MarkupSafe",
       "path": "tools/markupsafe/"
      },
      {
       "l": "In 91.8% of its projects",
       "v": "jsonschema",
       "path": "tools/jsonschema/"
      },
      {
       "l": "In 91.3% of its projects",
       "v": "tqdm",
       "path": "tools/tqdm/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about docopt",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "python-dotenv",
         "path": "tools/python-dotenv/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Rich",
         "path": "tools/rich/"
        },
        {
         "text": "Pydantic Settings",
         "path": "tools/pydantic-settings/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "docopt",
       "me": true,
       "facts": [
        "MIT",
        "Gid 61",
        "5.9M/wk"
       ]
      },
      {
       "name": "Click",
       "why": "Python package for composing command-line interfaces with decorators.",
       "path": "tools/click-py/",
       "facts": [
        "BSD-3-Clause",
        "Gid 82",
        "269M/wk"
       ]
      },
      {
       "name": "Typer",
       "why": "Framework for building CLI applications using Python type hints.",
       "path": "tools/typer/",
       "facts": [
        "MIT",
        "Gid 80",
        "73.7M/wk"
       ]
      }
     ],
     "more": "Compare docopt with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install docopt"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for docopt yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi docopt"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "61.4"
  ],
  [
   "Rank in category",
   "#154 of 299"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}