--- id: tree-sitter-elixir version: "0.3.5" license: Apache-2.0 license_treatment: permissive maintenance: active --- # tree-sitter-elixir — Elixir grammar for tree-sitter License: permissive · Maintenance: active · Downloads: 1.8M/mo ## What it is and what it does tree-sitter-elixir is a Python binding for an Elixir language grammar compatible with the tree-sitter incremental parsing framework. It enables Python applications to parse and analyze Elixir source code with syntax-aware tree construction, useful for code analysis tools, linters, and IDE features. The package ships as precompiled wheels for Python 3.9+ across major platforms (macOS, Linux, Windows) and ARM architectures, reducing build friction. It has no runtime dependencies beyond Python itself. The grammar is production-ready and currently used by GitHub for source code highlighting and code navigation. The project is actively maintained with recent commits and is part of the official Elixir language organization. It integrates with the broader tree-sitter ecosystem, allowing developers to leverage existing tree-sitter tooling and patterns for Elixir code inspection. Use it for: - Build a Python-based Elixir code formatter or linter that needs precise syntax tree information. - Implement IDE features like code navigation or refactoring for Elixir in a Python editor backend. - Analyze Elixir codebases programmatically to extract metrics, dependencies, or code patterns. - Create documentation generators or code visualization tools that parse Elixir source files. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides an Elixir language grammar for tree-sitter, enabling incremental parsing and syntax analysis of Elixir source code. Yes. The package is actively maintained, production-grade, widely used by GitHub, carries no known vulnerabilities, and has a permissive license. Medium install friction is offset by precompiled wheels across platforms. Install if you need to parse or analyze Elixir code. ## Install pip install tree-sitter-elixir uv add tree-sitter-elixir poetry add tree-sitter-elixir ## Installing tree-sitter-elixir Before you install: Medium install friction due to compiled wheel distribution across multiple platforms (macOS, Linux, Windows, ARM variants). Actively maintained with recent commits and no known vulnerabilities. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects. Quickstart: pip install tree-sitter-elixir import tree_sitter_elixir Requires Python 3.9 or later; tree-sitter core library integration details not specified in package metadata. Verify before relying: - Whether tree-sitter core library must be installed separately as a system dependency. - Performance characteristics and memory overhead for parsing large Elixir codebases. - Completeness of Elixir syntax coverage relative to the official language specification. - How to invoke the grammar from Python code beyond basic import. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 1.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags tree-sitter elixir grammar, elixir parsing, incremental parsing, elixir code analysis, syntax tree elixir, parsing, tree-sitter, code-analysis [View on SkillFed](https://skillfed.io/packages/tree-sitter-elixir) · [View on PyPI](https://pypi.org/project/tree-sitter-elixir/)