{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/15"}],"enrichment":{"capability":"mo-parsing is a PEG parser generator that lets you define grammars using Python operators and predefined patterns, then parse strings into structured parse trees accessible as lists or dictionaries.","skillfed_tags":["parser-generator","peg-parsing","dsl"],"use_cases":["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"],"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.\n\nThe 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\u2014calling add_parse_action() returns a new element rather than modifying the original\u2014and it removes backward-compatibility cruft. The main dependencies are mo-dots and mo-future, both lightweight utility packages.","worth_installing":"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."},"id":"mo-parsing","links":{"html":"https://skillfed.io/packages/mo-parsing","md":"https://skillfed.io/packages/mo-parsing.md","pypi":"https://pypi.org/project/mo-parsing/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-28","license_spdx":null,"license_treatment":"permissive","name":"mo-parsing","python_support":"unspecified","summary":"Another PEG Parsing Tool"},"popularity":{"monthly_downloads":227111,"position":9186,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"8.694.25301"}
