{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"Parse strings using format-string-like patterns to extract structured data, reversing the operation of Python's format() function.","skillfed_tags":["string-parsing","data-extraction","text-processing"],"use_cases":["Extract fields from log lines or structured text output without regex","Parse configuration files or reports with consistent formatting","Convert formatted strings back to typed Python objects (dates, numbers, etc.)","Build data extraction pipelines where format patterns are more readable than regex","Match and capture groups from text using Python's familiar format syntax"],"what_it_does":"Parse is a string-parsing library that inverts Python's format() function: instead of inserting values into a template, it extracts values from a formatted string using the same template syntax. You define a pattern with placeholders like `{}` or named fields like `{name}`, and parse() returns the matched values as a Result object with both positional and named access.\n\nThe library supports format specifications for type conversion (integers, floats, dates, hex, binary, and regex character classes), alignment and width handling, and both case-sensitive and case-insensitive matching. It has no external dependencies and is lightweight enough for embedded use in data extraction pipelines, log parsing, or configuration file parsing.","worth_installing":"Yes. Parse is lightweight, dependency-free, actively maintained, MIT-licensed, and solves a real problem\u2014extracting data from formatted strings is more readable with parse() than with regex for many common cases. No known vulnerabilities. Install it if you need to reverse format() operations or prefer format-string patterns over regex for text extraction."},"id":"parse","links":{"html":"https://skillfed.io/packages/parse","md":"https://skillfed.io/packages/parse.md","pypi":"https://pypi.org/project/parse/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-26","license_spdx":"MIT","license_treatment":"permissive","name":"parse","python_support":"unspecified","summary":"parse() is the opposite of format()"},"popularity":{"monthly_downloads":18038649,"position":1088,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.22.1"}
