$npx skillfedfor your agent

price-parser

Extract price and currency from a raw string

Worth itPyPI Text ProcessingReleased Mar 2026820.1K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — price_parser-0.5.1-py3-none-any.whl
v0.5.1 · released 2026-03-19 · Python >=3.9 · 1 runtime deps: attrs

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low friction installation with a single lightweight dependency (attrs).
  • Active maintenance with recent releases; last commit 2026-08-06 and latest release 2026-03-19.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-03-19 (148 days) · last repo commit 2026-08-06 · 346 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 820,097 downloads/mo, #4,975 on PyPI

Verify before relying

pip install price-parser

from price_parser import Price
price = Price.fromstring("22,90 €")
print(price.amount, price.currency)
  • Whether the library handles all Unicode currency symbols or only a defined set.
  • Performance characteristics when parsing large batches of price strings.
  • Whether currency_hint matching is case-sensitive or locale-aware.
Same gist for agents: .md · .json

What it is and 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—the kind you'd extract from a web page with a CSS selector—and 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.

The 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.

Use it for

  • 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.

Worth the install?

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

Worth it

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.

Install

price-parser on PyPI

Before you install

Low friction installation with a single lightweight dependency (attrs). Active maintenance with recent releases; last commit 2026-08-06 and latest release 2026-03-19. Supports Python 3.9 through 3.14.

Requires Python 3.9 or later.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install price-parser

from price_parser import Price
price = Price.fromstring("22,90 €")
print(price.amount, price.currency)

Verify before relying

  • Whether the library handles all Unicode currency symbols or only a defined set.
  • Performance characteristics when parsing large batches of price strings.
  • Whether currency_hint matching is case-sensitive or locale-aware.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
attrs
MaintenanceActively maintained 148 days since the last release
Last repo commit
First released
Downloads820,097 / month, #4,975 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Evidence: price_parser-0.5.1-py3-none-any.whl

Tags

Capabilities
parse price from textextract currency and amountprice string parsingcurrency extractionweb scraping price cleanupdecimal separator handlinginternational price parsing
Topics
web-scrapingdata-extractionparsing

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 › “parse price from text”

  • price-parserExtracts price amounts and currency symbols from unstructured text…
  • finance-datareaderFetches historical and current financial data—stock prices, indices,…
  • jsonpath-pythonExtracts, filters, sorts, and updates values in JSON data using…

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

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also prices · forex-python · currency-symbols · py-money · cpi · CurrencyConverter · py-moneyed · parsel · django-money · overpunch