# QuantEcon/QuantEcon.py

A community based Python library for quantitative economics

Repository: https://github.com/QuantEcon/QuantEcon.py
Canonical: https://ross.abutalabs.com/products/quanteconpy
Homepage: https://quanteconpy.readthedocs.io/en/latest/
Language: Python
License: MIT
License Family: permissive
Topics: computational-economics, economics, python
Last push: 2026-08-23T13:42:11+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 93, longevity 100
- inputs: {"age_days": 4913, "days_push": 10, "days_rel": 50, "gap_med": 28.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2391, forks 2285 (observed 2026-08-28T04:06:43.363797+00:00)

## What it is
QuantEcon.py is an open-source Python library for quantitative economics, providing routines for dynamic programming, Markov chain analysis, game theory, and other computational economics tasks. It is part of the QuantEcon organization and pairs with the Quantitative Economics lecture series.

## Use cases
- solve dynamic programming problems in economics
- analyze Markov chains and discrete choice models
- compute equilibria in game theory models
- run quantitative macroeconomics simulations like Aiyagari models
- teach computational economics with Python
- estimate and simulate economic models numerically

## When to choose
- you need well-tested numerical routines for economic modeling in Python
- you are following the QuantEcon lectures and want matching code
- you want an MIT-licensed, community-maintained computational economics library

## When to avoid
- you need general-purpose econometrics with statistical inference (use statsmodels)
- you need high-performance compiled solvers beyond what NumPy/SciPy offer
- your domain is finance rather than economics (consider specialized finance libraries)

## Facets
- artifact type: library
- maturity: active
- function: math, data-science, simulation
- domain: mathematics, data-science
- platform: python, cross-platform
- tags: quantitative-economics, computational-economics, dynamic-programming, markov-chains, game-theory, econometrics, economics

## Member repositories
- QuantEcon/QuantEcon.py (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.363797+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:28.455449+00:00, confidence not recorded.
  - readme: https://github.com/QuantEcon/QuantEcon.py (fetched 2026-08-28T04:06:43.363797+00:00, sha fac8ee697be1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
