$npx skillfedfor your agent

QuantLib

Python bindings for the QuantLib library

With conditionsPyPI Scientific/EngineeringReleased Jul 2026844.4K downloads / moBSD-3-ClausePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — quantlib-1.43-cp314-cp314t-macosx_10_15_x86_64.whl · quantlib-1.43-cp314-cp314t-macosx_11_0_arm64.whl · quantlib-1.43-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
v1.43 · released 2026-07-14

Yes, if you work in quantitative finance and need a mature, production-grade pricing and analytics library. The permissive BSD-3-Clause license, active maintenance, and broad platform support make it a solid choice. However, be aware of the threading limitations documented in the description—single-threaded or carefully partitioned multi-threaded designs are required. Verify that the pre-built wheels match your Python version before installing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • The underlying C++ library is not thread-safe; globals like evaluation date cannot be set per-thread.
  • Avoid sharing objects and state across threads; each thread should maintain its own set of curves and instruments.
  • Medium install friction due to compiled wheels; the package is actively maintained with a recent release 31 days ago.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive and places minimal restrictions on use, modification, or distribution. You can use this in commercial projects without copyleft obligations.

last release 2026-07-14 (31 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 844,444 downloads/mo, #4,923 on PyPI

Verify before relying

pip install quantlib

import QuantLib as ql

# Create a simple date
today = ql.Date(15, ql.August, 2026)
ql.Settings.instance().evaluationDate = today
  • Whether the package requires a C++ compiler or system libraries beyond the pre-built wheels
  • Specific Python version support (requires_python field is unspecified)
  • Performance characteristics for large portfolios or complex derivatives
  • Availability of comprehensive documentation or examples beyond the homepage
Same gist for agents: .md · .json

What it is and what it does

QuantLib is a Python wrapper around a mature C++ quantitative finance library. It provides a comprehensive framework for modeling and pricing financial instruments—bonds, options, swaps, and other derivatives—along with tools for portfolio analysis, curve construction, and risk management. The package is designed for financial analysts, researchers, and developers who need production-grade quantitative finance calculations.

The library ships with pre-built wheels for modern Python versions and multiple platforms, though installation still carries medium friction due to its compiled nature. A key limitation is that the underlying C++ code is not thread-safe; it maintains global state (notably the evaluation date) that cannot be isolated per-thread in the current wheel implementation. Users should avoid sharing objects across threads and instead give each thread its own set of curves and instruments.

Use it for

  • Price derivatives (options, swaps, bonds) using standard models like Black-Scholes and Hull-White
  • Build and manage yield curves for fixed-income analysis and valuation
  • Perform portfolio risk calculations and scenario analysis across multiple instruments
  • Develop quantitative trading strategies that require instrument pricing and Greeks computation
  • Conduct financial research and backtesting with historical or synthetic market data

Worth the install?

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

With conditions

Yes, if you work in quantitative finance and need a mature, production-grade pricing and analytics library.

The permissive BSD-3-Clause license, active maintenance, and broad platform support make it a solid choice. However, be aware of the threading limitations documented in the description—single-threaded or carefully partitioned multi-threaded designs are required. Verify that the pre-built wheels match your Python version before installing.

Install

quantlib on PyPI

Before you install

Medium install friction due to compiled wheels; the package is actively maintained with a recent release 31 days ago. Pre-built wheels cover modern Python versions and multiple platforms, reducing build complexity.

The underlying C++ library is not thread-safe; globals like evaluation date cannot be set per-thread. Avoid sharing objects and state across threads; each thread should maintain its own set of curves and instruments.

License in practice

BSD-3-Clause is permissive and places minimal restrictions on use, modification, or distribution. You can use this in commercial projects without copyleft obligations.

Quickstart

pip install quantlib

import QuantLib as ql

# Create a simple date
today = ql.Date(15, ql.August, 2026)
ql.Settings.instance().evaluationDate = today

Verify before relying

  • Whether the package requires a C++ compiler or system libraries beyond the pre-built wheels
  • Specific Python version support (requires_python field is unspecified)
  • Performance characteristics for large portfolios or complex derivatives
  • Availability of comprehensive documentation or examples beyond the homepage

Package facts

LicenseBSD-3-Clause permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 31 days since the last release
First released
Downloads844,444 / month, #4,923 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: End Users/DesktopIntended Audience :: Financial and Insurance IndustryIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: Free Threading :: 2 - BetaTopic :: Office/Business :: FinancialTopic :: Scientific/Engineering

Evidence: quantlib-1.43-cp314-cp314t-macosx_10_15_x86_64.whl; quantlib-1.43-cp314-cp314t-macosx_11_0_arm64.whl; quantlib-1.43-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; quantlib-1.43-cp314-cp314t-manylinux_2_24_i686.manylinux_2_28_i686.whl; quantlib-1.43-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; quantlib-1.43-cp314-cp314t-musllinux_1_2_aarch64.whl; quantlib-1.43-cp314-cp314t-musllinux_1_2_i686.whl; quantlib-1.43-cp314-cp314t-musllinux_1_2_x86_64.whl; quantlib-1.43-cp314-cp314t-win32.whl; quantlib-1.43-cp314-cp314t-win_amd64.whl; quantlib-1.43-cp39-abi3-macosx_10_13_x86_64.whl; quantlib-1.43-cp39-abi3-macosx_11_0_arm64.whl; quantlib-1.43-cp39-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; quantlib-1.43-cp39-abi3-manylinux_2_24_i686.manylinux_2_28_i686.whl; quantlib-1.43-cp39-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; quantlib-1.43-cp39-abi3-musllinux_1_2_aarch64.whl; quantlib-1.43-cp39-abi3-musllinux_1_2_i686.whl; quantlib-1.43-cp39-abi3-musllinux_1_2_x86_64.whl; quantlib-1.43-cp39-abi3-win32.whl; quantlib-1.43-cp39-abi3-win_amd64.whl

Tags

Capabilities
quantitative finance libraryderivatives pricing pythonfinancial instrument modelingquantlib python bindingsfixed income analyticsoption pricing frameworkportfolio risk management
Topics
quantitative-financederivatives-pricingfixed-income

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 › “quantitative finance library”

  • QuantLibQuantLib provides Python bindings to a C++ library for quantitative…
  • gs-quantGS Quant is a Python toolkit for quantitative finance that provides…
  • akshareAKShare fetches financial market data (stocks, options, futures,…

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

More Scientific/Engineering packages

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
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also gs-quant · quantecon · openbb-derivatives · quantstats · riskfolio-lib · skfolio · akshare · vollib · py-vollib · lusid-sdk