$npx skillfedfor your agent

numpy-financial

Simple financial functions

With conditionsPyPI Software DevelopmentReleased Oct 20195.9M downloads / moBSD 3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — numpy_financial-1.0.0-py3-none-any.whl
v1.0.0 · released 2019-10-18 · Python >=3.5 · 1 runtime deps: numpy

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

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.
Same gist for agents: .md · .json

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.

With conditions

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

LicenseBSD 3-Clause permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceAging 2,492 days since the last release
Last repo commit
First released
Downloads5,860,608 / month, #2,022 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
financial functions numpyirr npv calculationinvestment return analysisfinancial math librarynumpy financial replacementpmt rate calculationcash flow analysis
Topics
financial-mathnumpy-replacement

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

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also pyxirr · pyportfolioopt · rets-python · riskfolio-lib · pandas-ta · quantstats · skfolio · vollib · py-moneyed · yfinance