py-moneyed
Provides Currency and Money classes for use in your Python code.
Decision gist · record as of 2026-08-14
Yes. The package solves a real problem (safe monetary representation) with a mature, stable API and low install friction. Dormant maintenance is a minor concern for a library this simple and well-established, but the lack of recent activity means you should verify that its currency support and arithmetic operations meet your specific needs before committing to it in new projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two lightweight runtime dependencies (babel and typing-extensions).
- Maintenance is dormant—last release was in 2022 and no commits since April 2024—but the package is classified as Mature and has been stable since its early releases.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions; suitable for most projects.
last release 2022-11-27 (1356 days) · last repo commit 2024-04-23 · 473 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,146,230 downloads/mo, #4,299 on PyPI
Alternatives
Verify before relying
pip install py-moneyed
from moneyed import Money, USD
five_dollars = Money(5, USD)- Whether the package handles currency conversion or only represents fixed-currency amounts
- What arithmetic operations (addition, subtraction, multiplication) are supported between Money objects
- Whether the package provides exchange rate data or requires external sources
What it is and what it does
py-moneyed provides Money and Currency classes as a safer, more semantically correct way to handle monetary values in Python code. Instead of using floats (which suffer from precision errors) or raw Decimal objects (which lack currency context), you create Money instances tied to a specific currency and perform arithmetic on them as if they were numbers. The package depends on babel for localization and typing-extensions for type hints, and supports Python 3.7 through 3.11.
The package is designed to be used directly in financial and economics software, or subclassed for domain-specific extensions. It has been stable since its early releases and is classified as Mature, though development has been dormant since late 2022. With significant monthly downloads, it is a widely adopted solution for this problem in the Python ecosystem.
Use it for
- Build financial applications that need to track money amounts with explicit currency types and avoid float precision errors
- Implement e-commerce systems where prices, totals, and transactions must preserve currency context
- Create accounting or bookkeeping tools that require correct arithmetic on monetary values across different currencies
- Develop APIs that serialize and deserialize monetary values with currency information intact
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a real problem (safe monetary representation) with a mature, stable API and low install friction. Dormant maintenance is a minor concern for a library this simple and well-established, but the lack of recent activity means you should verify that its currency support and arithmetic operations meet your specific needs before committing to it in new projects.
Install
py-moneyed on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (babel and typing-extensions). Maintenance is dormant—last release was in 2022 and no commits since April 2024—but the package is classified as Mature and has been stable since its early releases.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install py-moneyed
from moneyed import Money, USD
five_dollars = Money(5, USD)
Verify before relying
- Whether the package handles currency conversion or only represents fixed-currency amounts
- What arithmetic operations (addition, subtraction, multiplication) are supported between Money objects
- Whether the package provides exchange rate data or requires external sources
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesbabeltyping-extensions |
| Maintenance | Dormant 1,356 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,146,230 / month, #4,299 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Office/Business :: FinancialTopic :: Software Development :: Libraries :: Python Modules |
Evidence: py_moneyed-3.0-py3-none-any.whl
Tags
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 › “money and currency classes”
- py-moneyedProvides Money and Currency classes for representing monetary values…
- py-moneyRepresents monetary amounts with currency-aware precision, enforcing…
- django-moneyAdds Money and currency field types to Django models and forms,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-money · py-money · prices · forex-python · CurrencyConverter · iso4217 · ccy · monarchmoneycommunity · price-parser · rounders