$npx skillfedfor your agent

Arpeggio

Packrat parser interpreter

Worth itPyPI Python ModulesReleased Sep 20252.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — Arpeggio-2.0.3-py2.py3-none-any.whl
v2.0.3 · released 2025-09-12

Yes. Arpeggio is a stable, actively maintained parser library with no dependencies and permissive licensing. Install it if you need to build a parser for a custom grammar or language; if you want a higher-level interface for language definition, consider textX instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Active maintenance with a recent release in 2025-09-12 and last commit on 2026-08-02; the repository is not archived and has 288 stars.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

last release 2025-09-12 (336 days) · last repo commit 2026-08-02 · 288 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,075,233 downloads/mo, #3,316 on PyPI

Verify before relying

pip install arpeggio

from arpeggio import ParsingExpression, ZeroOrMore, OneOrMore, Optional
from arpeggio import PTNodeVisitor, visit_parse_tree

# Define a simple grammar and parse input
grammar = OneOrMore(ParsingExpression(...))
parse_tree = grammar.parse(input_string)
  • Whether Arpeggio handles left-recursive grammars or has known limitations with certain PEG patterns
  • Performance characteristics when parsing large inputs or deeply nested structures
  • Whether the package includes built-in error recovery or reporting mechanisms
Same gist for agents: .md · .json

What it is and what it does

Arpeggio is a parser library that implements Packrat parsing using Parsing Expression Grammars (PEG). It uses recursive descent with memoization to parse input according to user-defined grammar rules. The library is designed for developers who need to build parsers for domain-specific languages, configuration formats, or other structured text without writing hand-coded parsing logic.

The package has no runtime dependencies and is marked as Production/Stable. It supports Python 3.6 through 3.10 and has been actively maintained since its first release in 2014-08-16. The documentation notes that textX provides a higher-level interface to Arpeggio if you need a more convenient API for language definition.

Use it for

  • Build a parser for a custom configuration file format or domain-specific language
  • Parse structured text data where you want to define grammar rules declaratively rather than write parsing code
  • Create an interpreter or compiler frontend that needs to consume and validate input against a formal grammar
  • Extract and transform data from text files with complex, nested structures

Worth the install?

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

Worth it

Yes.

Arpeggio is a stable, actively maintained parser library with no dependencies and permissive licensing. Install it if you need to build a parser for a custom grammar or language; if you want a higher-level interface for language definition, consider textX instead.

Install

arpeggio on PyPI

Before you install

Low install friction with no runtime dependencies. Active maintenance with a recent release in 2025-09-12 and last commit on 2026-08-02; the repository is not archived and has 288 stars.

License in practice

MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions beyond attribution.

Quickstart

pip install arpeggio

from arpeggio import ParsingExpression, ZeroOrMore, OneOrMore, Optional
from arpeggio import PTNodeVisitor, visit_parse_tree

# Define a simple grammar and parse input
grammar = OneOrMore(ParsingExpression(...))
parse_tree = grammar.parse(input_string)

Verify before relying

  • Whether Arpeggio handles left-recursive grammars or has known limitations with certain PEG patterns
  • Performance characteristics when parsing large inputs or deeply nested structures
  • Whether the package includes built-in error recovery or reporting mechanisms

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 336 days since the last release
Last repo commit
First released
Downloads2,075,233 / month, #3,316 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: CompilersTopic :: Software Development :: InterpretersTopic :: Software Development :: Libraries :: Python Modules

Evidence: Arpeggio-2.0.3-py2.py3-none-any.whl

Tags

Capabilities
PEG parserrecursive descent parserpackrat parsergrammar-based parsinglanguage parser librarytext parsingDSL parser
Topics
parsingpeg-grammarcompiler-tools
PyPI keywords
parserPEGpackratlibraryinterpreter

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 › “PEG parser”

  • ArpeggioArpeggio is a recursive descent parser with memoization that…
  • TatSuTatSu compiles extended EBNF grammars into memoizing PEG parsers in…
  • pyPEG2pyPEG2 is a PEG (Parsing Expression Grammar) parser generator that…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also TatSu · textparser · textX · parsimonious · funcparserlib · parsy · PyMeta3 · pyPEG2 · mo-parsing · Parsley