numpy-financial
Simple financial functions
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is stable, permissively licensed, and has low install friction. It is appropriate for financial calculations in production systems that do not require active maintenance. However, given the aging status (no releases since 2019) and unclear compatibility with modern Python and recent numpy versions, verify that it works with your target environment before committing to it. For new projects, consider whether a more actively maintained financial library better suits your long-term needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.5 and numpy as a runtime dependency.
- Low friction: pure Python wheel with only numpy as a runtime dependency.
- Maintenance is aging—last release was 2019-10-18 and the repository shows no recent activity despite being archived=false, though it remains stable and Production/Stable classified.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause permissive license allows commercial and private use with minimal restrictions; suitable for most projects that can include a license notice.
last release 2019-10-18 (2492 days) · last repo commit 2025-05-20 · 409 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,860,608 downloads/mo, #2,022 on PyPI
Alternatives
Verify before relying
pip install numpy-financial
import numpy_financial as npf
irr_result = npf.irr([-250000, 100000, 150000, 200000, 250000, 300000])- Whether the package receives security patches or maintenance despite the aging status and 2019 release date.
- Current compatibility with modern numpy versions and recent Python versions, given the last release predates them.
What it is and what it does
numpy-financial is a standalone library of financial functions extracted from NumPy before they were deprecated and removed. It provides functions for calculating internal rate of return (IRR), net present value (NPV), payment amounts, interest rates, and other elementary financial metrics commonly used in investment analysis and accounting. The package is a direct replacement for code that previously relied on NumPy's built-in financial module.
The library depends only on numpy and installs as a pure Python wheel with low friction. It targets financial professionals and developers building accounting or investment analysis tools. However, the package has not been actively maintained since its initial release in 2019, and the last commit was 2025-05-20, making its long-term compatibility with modern Python and numpy versions unclear.
Use it for
- Calculate internal rate of return (IRR) for investment portfolios or cash flow sequences.
- Compute net present value (NPV) to evaluate project profitability at a given discount rate.
- Determine periodic payment amounts for loans or annuities using PMT calculations.
- Analyze cash flow timing and financial metrics in accounting or investment applications.
- Migrate legacy code that relied on NumPy's deprecated financial functions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is stable, permissively licensed, and has low install friction. It is appropriate for financial calculations in production systems that do not require active maintenance. However, given the aging status (no releases since 2019) and unclear compatibility with modern Python and recent numpy versions, verify that it works with your target environment before committing to it. For new projects, consider whether a more actively maintained financial library better suits your long-term needs.
Install
numpy-financial on PyPI
Before you install
Low friction: pure Python wheel with only numpy as a runtime dependency. Maintenance is aging—last release was 2019-10-18 and the repository shows no recent activity despite being archived=false, though it remains stable and Production/Stable classified.
Requires Python >= 3.5 and numpy as a runtime dependency.
License in practice
BSD 3-Clause permissive license allows commercial and private use with minimal restrictions; suitable for most projects that can include a license notice.
Quickstart
pip install numpy-financial
import numpy_financial as npf
irr_result = npf.irr([-250000, 100000, 150000, 200000, 250000, 300000])
Verify before relying
- Whether the package receives security patches or maintenance despite the aging status and 2019 release date.
- Current compatibility with modern numpy versions and recent Python versions, given the last release predates them.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagenumpy |
| Maintenance | Aging 2,492 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,860,608 / month, #2,022 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Office/Business :: Financial :: AccountingTopic :: Office/Business :: Financial :: InvestmentTopic :: Office/Business :: Financial :: SpreadsheetTopic :: Software Development |
Evidence: numpy_financial-1.0.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 › “financial functions numpy”
- numpy-financialProvides elementary financial functions (IRR, NPV, PMT, and others)…
- pyxirrPyXIRR is a Rust-backed library that computes financial functions…
- TA-LibPython wrapper for the TA-Lib C library providing technical analysis…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pyxirr · pyportfolioopt · rets-python · riskfolio-lib · pandas-ta · quantstats · skfolio · vollib · py-moneyed · yfinance