{
 "kind": "tool",
 "slug": "lark",
 "path": "tools/lark/",
 "name": "Lark",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Scraping, browsers and parsing",
   "tools/scraping-parsing/"
  ]
 ],
 "lead": "Modern parsing library for building DSLs and language parsers.",
 "chips": [
  {
   "label": "Scraping, browsers and parsing",
   "path": "tools/scraping-parsing/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install lark"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/lark-parser/lark"
  },
  {
   "label": "Website",
   "href": "https://github.com/lark-parser/lark"
  }
 ],
 "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": "https://github.com/lark-parser/lark"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Aug 27, 2026",
   "note": "Latest GitHub release Oct 27, 2025. ",
   "src": "https://github.com/lark-parser/lark"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "6 projects",
   "status": "info",
   "sub": "#50 of 141 in its category",
   "note": "Dependency in 6 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 Lark does",
   "parts": [
    {
     "t": "prose",
     "text": "Modern parsing library for building DSLs and language parsers."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Lark popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "66",
       "of": "/ 100",
       "l": "Gid Score, #584 overall"
      },
      {
       "n": "24M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "6,040",
       "l": "GitHub stars"
      },
      {
       "n": "6",
       "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 Lark is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Lark is a dependency in 6 of the 6,258 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,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 158 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Beautiful Soup (133 projects).",
      "Projects that use it most often also use NumPy (95.6%), charset-normalizer (86.7%), MarkupSafe (86.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 95.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 86.7% of its projects",
       "v": "charset-normalizer",
       "path": "tools/charset-normalizer/"
      },
      {
       "l": "In 86.7% of its projects",
       "v": "MarkupSafe",
       "path": "tools/markupsafe/"
      },
      {
       "l": "In 85.4% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 84.8% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 84.2% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 83.5% of its projects",
       "v": "AnyIO",
       "path": "tools/anyio/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Lark",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/lark-parser",
        "3 GitHub sponsors"
       ]
      },
      {
       "title": "More in Scraping, browsers and parsing",
       "path": "tools/scraping-parsing/",
       "items": [
        {
         "text": "Puppeteer",
         "path": "tools/puppeteer/"
        },
        {
         "text": "Playwright Core",
         "path": "tools/playwright-core/"
        },
        {
         "text": "lxml",
         "path": "tools/lxml/"
        },
        {
         "text": "Playwright (Python)",
         "path": "tools/playwright/"
        },
        {
         "text": "Cheerio",
         "path": "tools/cheerio/"
        },
        {
         "text": "fast-xml-parser",
         "path": "tools/fast-xml-parser/"
        },
        {
         "text": "jsonc-parser",
         "path": "tools/jsonc-parser/"
        },
        {
         "text": "Mozilla Readability",
         "path": "tools/mozilla-readability/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Lark",
       "me": true,
       "facts": [
        "MIT",
        "Gid 66",
        "24M/wk"
       ]
      },
      {
       "name": "Beautiful Soup",
       "why": "Python HTML/XML parsing and screen-scraping library for web data extraction.",
       "path": "tools/beautifulsoup4/",
       "facts": [
        "MIT",
        "Gid 78",
        "76.1M/wk"
       ]
      },
      {
       "name": "soupsieve",
       "why": "CSS selector implementation for BeautifulSoup to query HTML and XML documents.",
       "path": "tools/soupsieve/",
       "facts": [
        "MIT",
        "Gid 63",
        "85.3M/wk"
       ]
      }
     ],
     "more": "Compare Lark with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install lark"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Lark yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi lark"
  ],
  [
   "Category",
   "Scraping, browsers and parsing"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "66.5"
  ],
  [
   "Rank in category",
   "#50 of 141"
  ],
  [
   "GitHub",
   "lark-parser/lark"
  ],
  [
   "Last change",
   "Aug 27, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/lark-parser.png"
}