$npx skillfedfor your agent

tree-sitter-language-pack

Pre-compiled tree-sitter grammars for 371 programming languages

Worth itPyPI LinguisticReleased Aug 20264.9M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — tree_sitter_language_pack-1.14.3-cp310-abi3-macosx_10_12_x86_64.whl · tree_sitter_language_pack-1.14.3-cp310-abi3-macosx_11_0_arm64.whl · tree_sitter_language_pack-1.14.3-cp310-abi3-manylinux_2_34_aarch64.whl
v1.14.3 · released 2026-08-05 · Python >=3.10 · 1 runtime deps: tree-sitter

Yes. The package is actively maintained (released 9 days ago), has no known vulnerabilities, uses a permissive MIT license, and solves a real problem—parsing 371 languages without compilation overhead. Medium install friction is acceptable given the breadth of language support and the lean dependency graph. Reach for it whenever you need to process or analyze code structurally.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; parsers are downloaded on first use and cached locally.
  • Medium install friction due to platform-specific wheels (macOS, Linux, Windows, ARM variants), but wheels are pre-built and the package has active maintenance with a recent release (9 days old).
  • Single runtime dependency on tree-sitter keeps the dependency graph lean.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects without restriction or obligation to share modifications.

last release 2026-08-05 (9 days) · last repo commit 2026-08-14 · 455 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,935,599 downloads/mo, #2,195 on PyPI

Verify before relying

pip install tree-sitter-language-pack

from tree_sitter_language_pack import get_language

lang = get_language('python')
parser = lang.parser()
tree = parser.parse(b'def hello(): pass')
  • Whether on-demand parser downloads work offline after initial cache population
  • Performance characteristics (parse speed, memory overhead) compared to direct tree-sitter usage
  • Whether all 371 languages have equivalent feature parity or if some have limited query support
Same gist for agents: .md · .json

What it is and what it does

tree-sitter-language-pack wraps the tree-sitter parsing library and bundles pre-compiled grammars for 371 languages behind a single Python API. Instead of managing individual language grammars and compilation, you install this package and call get_language() to receive a ready-to-use parser for any supported language. Parsers are downloaded on first use and cached locally, keeping the initial install small while supporting selective language installation.

The package is designed for code analysis, inspection, and extraction tasks: pulling out functions, classes, imports, and symbols from source; feeding code into RAG pipelines; or giving language models structural understanding of a codebase. It bundles standard tree-sitter query types (highlights, injections, locals, tags, indents, folds) per language and maintains a compiled-query cache. The single runtime dependency is tree-sitter itself, and it supports Python 3.10 through 3.14.

Use it for

  • Extract functions, classes, and imports from source files for code indexing or documentation generation
  • Prepare code chunks for retrieval-augmented generation (RAG) systems feeding language models
  • Build developer tooling that needs to understand and navigate syntax trees across multiple languages
  • Analyze and split large codebases into LLM-digestible pieces for code review or refactoring agents
  • Implement syntax-aware code transformations or linting rules without writing language-specific parsers

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained (released 9 days ago), has no known vulnerabilities, uses a permissive MIT license, and solves a real problem—parsing 371 languages without compilation overhead. Medium install friction is acceptable given the breadth of language support and the lean dependency graph. Reach for it whenever you need to process or analyze code structurally.

Install

tree-sitter-language-pack on PyPI

Before you install

Medium install friction due to platform-specific wheels (macOS, Linux, Windows, ARM variants), but wheels are pre-built and the package has active maintenance with a recent release (9 days old). Single runtime dependency on tree-sitter keeps the dependency graph lean.

Requires Python 3.10 or later; parsers are downloaded on first use and cached locally.

License in practice

MIT license is permissive; you can use this package freely in commercial and private projects without restriction or obligation to share modifications.

Quickstart

pip install tree-sitter-language-pack

from tree_sitter_language_pack import get_language

lang = get_language('python')
parser = lang.parser()
tree = parser.parse(b'def hello(): pass')

Verify before relying

  • Whether on-demand parser downloads work offline after initial cache population
  • Performance characteristics (parse speed, memory overhead) compared to direct tree-sitter usage
  • Whether all 371 languages have equivalent feature parity or if some have limited query support

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
tree-sitter
MaintenanceActively maintained 9 days since the last release
Last repo commit
First released
Downloads4,935,599 / month, #2,195 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: tree_sitter_language_pack-1.14.3-cp310-abi3-macosx_10_12_x86_64.whl; tree_sitter_language_pack-1.14.3-cp310-abi3-macosx_11_0_arm64.whl; tree_sitter_language_pack-1.14.3-cp310-abi3-manylinux_2_34_aarch64.whl; tree_sitter_language_pack-1.14.3-cp310-abi3-manylinux_2_34_x86_64.whl; tree_sitter_language_pack-1.14.3-cp310-abi3-win_amd64.whl; tree_sitter_language_pack-1.14.3-cp310-abi3-win_arm64.whl

Tags

Capabilities
parse source code syntax treestree-sitter language grammarscode analysis parsingextract functions classes importsmulti-language code parsingtree-sitter bindings pythoncode intelligence extractionsyntax tree analysis
Topics
code-parsingsyntax-analysismulti-language
PyPI keywords
language-packparsersyntaxtree-sitter

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “tree-sitter language grammars”

Give your agent the search over MCP, or paste the wish link into any chat.

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also tree-sitter-zig · tree-sitter-kotlin · tree-sitter-languages · tree-sitter-c-sharp · tree-sitter-cmake · tree-sitter-c · tree-sitter-java · tree-sitter-objc · tree-sitter-xml · tree-sitter-cpp