{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Extracts price amounts and currency symbols from unstructured text strings, handling varied formats, thousand separators, and decimal separators across multiple locales.","skillfed_tags":["web-scraping","data-extraction","parsing"],"use_cases":["Web scraping: extract and normalize prices from product pages across different e-commerce sites.","Price comparison tools: parse prices from multiple sources with different formatting conventions.","Data cleaning: normalize price strings in bulk datasets before analysis or storage.","Localized shopping apps: handle prices in different currencies and decimal/thousand separator conventions.","Automated price monitoring: extract prices from HTML snapshots for historical tracking or alerts."],"what_it_does":"price-parser is a small library for extracting structured price data from raw text. It parses price amounts and currency symbols from messy strings\u2014the kind you'd extract from a web page with a CSS selector\u2014and returns them as a Price object with numeric amount (as Decimal), currency symbol, and original text representations. The library handles the tedious parts: thousand and decimal separators that vary by locale (commas, periods, spaces), currency symbols in different positions, and edge cases like free items or ambiguous formatting.\n\nThe main use case is web scraping: instead of writing site-specific regex or parsing logic, you pass a price string to Price.fromstring() and get back clean, normalized data. It supports a wide range of international formats and currencies, with optional hints for disambiguation when the input is ambiguous. When extraction fails, it gracefully returns None for missing fields rather than raising exceptions.","worth_installing":"Yes. Low install friction, active maintenance, no known vulnerabilities, permissive license, and a focused, well-tested utility (900+ real-world test cases). Install if you need to parse prices from text; skip if you only work with structured price data or APIs that already return normalized amounts."},"id":"price-parser","links":{"html":"https://skillfed.io/packages/price-parser","md":"https://skillfed.io/packages/price-parser.md","pypi":"https://pypi.org/project/price-parser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-19","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"price-parser","python_support":"supports_current","summary":"Extract price and currency from a raw string"},"popularity":{"monthly_downloads":820097,"position":4975,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
