# r1chardj0n3s/parse

Parse strings using a specification based on the Python format() syntax.

Repository: https://github.com/r1chardj0n3s/parse
Canonical: https://ross.abutalabs.com/products/parse
Homepage: http://pypi.python.org/pypi/parse
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-01T05:49:14+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 86, longevity 100
- inputs: {"age_days": 5403, "days_push": 32, "days_rel": 99, "gap_med": 24, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1791, forks 111 (observed 2026-08-28T04:05:37.045485+00:00)

## What it is
A Python library that parses strings using a specification based on the Python format() syntax, effectively the inverse of str.format(). It provides parse(), search(), findall(), and with_pattern() functions with compiled pattern support.

## Use cases
- parse strings using format spec syntax
- extract values from log lines
- search text for pattern matches
- find all occurrences of a pattern in a string
- convert parsed fields to typed values
- parse fixed-format text files

## When to choose
- you want to reverse str.format() to extract data from strings
- you need simple typed string parsing without regex complexity
- you're parsing structured log lines or templated text

## When to avoid
- you need full regex power like lookaheads or alternation
- you're parsing complex grammars or nested structures
- you need high-performance bulk parsing

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: parsers, developer-tools, text-editors
- platform: python, cross-platform
- tags: string-parsing, format-syntax, reverse-format

## Member repositories
- r1chardj0n3s/parse (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.045485+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:07.128112+00:00, confidence not recorded.
  - readme: https://github.com/r1chardj0n3s/parse (fetched 2026-08-28T04:05:37.045485+00:00, sha 4d8550760ae2)
  - homepage: http://pypi.python.org/pypi/parse (fetched 2026-08-29T11:02:03.234072+00:00, sha e015ea325f44)
  - registry_pypi: https://pypi.org/pypi/parse/json (fetched 2026-08-29T11:02:03.236511+00:00, sha 7309b5d90498)
- Data as of 2026-08-30T08:39:29.467469+00:00.
