$npx skillfedfor your agent

mo-parsing

Another PEG Parsing Tool

With conditionsPyPI LibrariesReleased Oct 2025227.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mo_parsing-8.694.25301-py3-none-any.whl
v8.694.25301 · released 2025-10-28 · 2 runtime deps: mo-dots, mo-future

Yes, if you need a PEG parser and are comfortable with immutable ParserElement semantics. The low install friction, permissive MIT license, and lack of known vulnerabilities make it safe to try. The 290-day release gap suggests stability but not active development; use it for parsing tasks where pyparsing's API or performance is a concern, but verify performance gains match your use case before committing to a migration.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with only two runtime dependencies (mo-dots, mo-future).
  • The package is in Beta status and has not seen a release in 290 days, suggesting stable but not actively developed maintenance.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use and modify this package freely provided you retain the license notice.

last release 2025-10-28 (290 days) · last repo commit 2025-10-28 · 4 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 227,111 downloads/mo, #9,186 on PyPI

Verify before relying

pip install mo-parsing

from mo_parsing import Word
from mo_parsing.utils import alphas

greet = Word(alphas)("greeting") + "," + Word(alphas)("person") + "!"
result = greet.parse_string("Hello, World!")
print(dict(result))  # {'greeting': 'Hello', 'person': 'World'}
  • Whether performance improvements over pyparsing are significant enough to justify migration for typical use cases
  • How well the package handles complex or deeply nested grammars in practice
  • Community size and availability of third-party examples beyond the repository
Same gist for agents: .md · .json

What it is and what it does

mo-parsing is a fork of pyparsing optimized for faster parsing of PEG (Parsing Expression Grammar) languages. You define a grammar by combining predefined parser elements (Word, Literal, etc.) using Python operators, then call parse_string() to parse input text. The result is a ParseResults object that behaves like both a nested list and a dictionary, depending on how you named the matched elements.

The package emphasizes speed through regex-based optimization and faster infix operator parsing, and introduces a Whitespace context manager to control what characters are skipped and how the grammar behaves globally. It differs from pyparsing in that ParserElements are immutable—calling add_parse_action() returns a new element rather than modifying the original—and it removes backward-compatibility cruft. The main dependencies are mo-dots and mo-future, both lightweight utility packages.

Use it for

  • Parse domain-specific languages (DSLs) or configuration file formats into structured data
  • Build SQL or query parsers where infix operator precedence matters
  • Extract and transform text with named capture groups into dictionaries for downstream processing
  • Define grammar rules for log parsing or protocol message decoding
  • Implement expression evaluators that need to respect operator precedence

Worth the install?

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

With conditions

Yes, if you need a PEG parser and are comfortable with immutable ParserElement semantics.

The low install friction, permissive MIT license, and lack of known vulnerabilities make it safe to try. The 290-day release gap suggests stability but not active development; use it for parsing tasks where pyparsing's API or performance is a concern, but verify performance gains match your use case before committing to a migration.

Install

mo-parsing on PyPI

Before you install

Low install friction with only two runtime dependencies (mo-dots, mo-future). The package is in Beta status and has not seen a release in 290 days, suggesting stable but not actively developed maintenance.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use and modify this package freely provided you retain the license notice.

Quickstart

pip install mo-parsing

from mo_parsing import Word
from mo_parsing.utils import alphas

greet = Word(alphas)("greeting") + "," + Word(alphas)("person") + "!"
result = greet.parse_string("Hello, World!")
print(dict(result))  # {'greeting': 'Hello', 'person': 'World'}

Verify before relying

  • Whether performance improvements over pyparsing are significant enough to justify migration for typical use cases
  • How well the package handles complex or deeply nested grammars in practice
  • Community size and availability of third-party examples beyond the repository

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
mo-dotsmo-future
MaintenanceAging 290 days since the last release
Last repo commit
First released
Downloads227,111 / month, #9,186 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: mo_parsing-8.694.25301-py3-none-any.whl

Tags

Capabilities
PEG parser generatorgrammar definition with operatorsparse string to treepyparsing forklanguage parsing librarytext parsing DSLinfix operator parsing
Topics
parser-generatorpeg-parsingdsl

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 › “grammar definition with operators”

  • mo-parsingmo-parsing is a PEG parser generator that lets you define grammars…
  • pyparsingpyparsing provides a library for building text parsers directly in…
  • pyleriPyleri is a left-right parser generator that lets you define a…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pyparsing · parsimonious · mo-sql-parsing · textparser · PyMeta3 · Parsley · funcparserlib · pyPEG2 · pyleri · TatSu