$npx skillfedfor your agent

py-money

Money module for python

SkipPyPI UtilitiesReleased Jan 2020808.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_money-0.5.0-py3-none-any.whl
v0.5.0 · released 2020-01-29 · 1 runtime deps: babel

No. While the package is lightweight and permissively licensed, it has been abandoned since 2020 with no maintenance for over 4 years. For new projects, choose an actively maintained alternative. For existing codebases already using py-money, it may continue to work if your Python version and babel compatibility remain stable, but you have no path to fixes or support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (babel).
  • However, the package is abandoned—last release was 2020-01-29 and last commit 2022-04-12—so expect no maintenance, bug fixes, or updates.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.

last release 2020-01-29 (2389 days) · last repo commit 2022-04-12 · 127 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 808,931 downloads/mo, #5,011 on PyPI

Verify before relying

pip install py-money

from money.money import Money
from money.currency import Currency

m = Money('9.95', Currency.USD)
print(m.format('en_US'))  # '$9.95'
  • Whether the package works correctly with modern Python versions beyond what the fact sheet specifies
  • Whether babel's evolution since 2020 has introduced compatibility issues with py-money
  • Real-world performance or correctness issues in production use since abandonment
Same gist for agents: .md · .json

What it is and what it does

py-money is a Money class for Python that enforces correct decimal representation for each currency—so 3.678 USD or 5.5 JPY are rejected as invalid. It wraps amounts as immutable objects tied to a specific Currency, supporting arithmetic (addition, division, multiplication) and comparison operators with automatic rounding to the currency's correct precision after each operation. The library depends on babel for locale-aware formatting.

The package is designed for straightforward monetary calculations: online stores computing sales tax, multi-currency pricing, and locale-specific display. It explicitly does not support currency conversion or operations requiring arbitrary precision beyond what the currency defines. Rounding happens after each operation, which is correct for retail math but can produce unexpected results if expressions are reordered—the documentation warns against this.

Use it for

  • Computing sales tax and totals in an online store across multiple currencies with correct rounding.
  • Formatting prices for display in different locales (e.g., '$3.24' for en_US, '€5.56' for en_UK).
  • Validating that monetary amounts conform to their currency's decimal precision before storage or transmission.
  • Performing basic arithmetic on money objects (addition, division, multiplication) with automatic rounding per currency rules.
  • Preventing accidental cross-currency operations by raising errors when mixing currencies in calculations.

Worth the install?

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

Skip

No.

While the package is lightweight and permissively licensed, it has been abandoned since 2020 with no maintenance for over 4 years. For new projects, choose an actively maintained alternative. For existing codebases already using py-money, it may continue to work if your Python version and babel compatibility remain stable, but you have no path to fixes or support.

Install

py-money on PyPI

Before you install

Low install friction with a single runtime dependency (babel). However, the package is abandoned—last release was 2020-01-29 and last commit 2022-04-12—so expect no maintenance, bug fixes, or updates.

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.

Quickstart

pip install py-money

from money.money import Money
from money.currency import Currency

m = Money('9.95', Currency.USD)
print(m.format('en_US'))  # '$9.95'

Verify before relying

  • Whether the package works correctly with modern Python versions beyond what the fact sheet specifies
  • Whether babel's evolution since 2020 has introduced compatibility issues with py-money
  • Real-world performance or correctness issues in production use since abandonment

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
babel
MaintenanceAbandoned 2,389 days since the last release
Last repo commit
First released
Downloads808,931 / month, #5,011 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 :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3

Evidence: py_money-0.5.0-py3-none-any.whl

Tags

Capabilities
money arithmetic pythoncurrency decimal precisionmulti-currency formattingmoney class immutablelocale money formattingcurrency roundingmonetary calculations
Topics
money-handlingcurrency-formattingabandoned
PyPI keywords
moneycurrency

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 › “currency decimal precision”

  • py-moneyRepresents monetary amounts with currency-aware precision, enforcing…
  • py-moneyedProvides Money and Currency classes for representing monetary values…
  • iso4217Provides ISO 4217 currency data as a Python enum, allowing you to…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also django-mathfilters · iso4217 · prices · py-moneyed · django-money · monarchmoneycommunity · ccy · rounders · forex-python · sigfig