{"id":15033547,"url":"https://github.com/quantecon/quantecon.py","last_synced_at":"2026-03-06T05:54:51.754Z","repository":{"id":7585875,"uuid":"8941695","full_name":"QuantEcon/QuantEcon.py","owner":"QuantEcon","description":"A community based Python library for quantitative economics","archived":false,"fork":false,"pushed_at":"2025-02-13T00:14:12.000Z","size":19363,"stargazers_count":2114,"open_issues_count":64,"forks_count":2282,"subscribers_count":151,"default_branch":"main","last_synced_at":"2025-05-07T07:39:28.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://quantecon.org/quantecon-py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QuantEcon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"numfocus","custom":"https://numfocus.org/donate-to-quantecon"}},"created_at":"2013-03-22T00:27:36.000Z","updated_at":"2025-05-06T02:42:18.000Z","dependencies_parsed_at":"2023-12-01T13:45:40.362Z","dependency_job_id":"67c14e61-ecbc-46f8-b4c5-49dc75259f89","html_url":"https://github.com/QuantEcon/QuantEcon.py","commit_stats":{"total_commits":1407,"total_committers":49,"mean_commits":"28.714285714285715","dds":0.7761194029850746,"last_synced_commit":"c2ed3d63fdc3fd1783b8de24de5033081eb91c47"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2FQuantEcon.py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2FQuantEcon.py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2FQuantEcon.py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuantEcon%2FQuantEcon.py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuantEcon","download_url":"https://codeload.github.com/QuantEcon/QuantEcon.py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252882779,"owners_count":21819152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:21:39.676Z","updated_at":"2026-03-06T05:54:51.726Z","avatar_url":"https://github.com/QuantEcon.png","language":"Python","funding_links":["https://github.com/sponsors/numfocus","https://numfocus.org/donate-to-quantecon"],"categories":[],"sub_categories":[],"readme":"# QuantEcon.py\n\nA high performance, open source Python code library for economics\n\n```python\n  from quantecon.markov import DiscreteDP\n  aiyagari_ddp = DiscreteDP(R, Q, beta)\n  results = aiyagari_ddp.solve(method='policy_iteration')\n```\n\n[![Build Status](https://github.com/QuantEcon/QuantEcon.py/actions/workflows/ci.yml/badge.svg)](https://github.com/QuantEcon/QuantEcon.py/actions?query=workflow%3Abuild)\n[![Coverage Status](https://coveralls.io/repos/QuantEcon/QuantEcon.py/badge.svg)](https://coveralls.io/r/QuantEcon/QuantEcon.py)\n[![Documentation (stable)](https://img.shields.io/badge/docs-stable-blue.svg)](https://quanteconpy.readthedocs.io/en/stable/)\n[![Documentation (latest)](https://img.shields.io/badge/docs-latest-blue.svg)](https://quanteconpy.readthedocs.io/en/latest/)\n[![PyPI Version](https://img.shields.io/pypi/v/quantecon.svg)](https://pypi.org/project/quantecon/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quantecon.svg)](https://pypi.org/project/quantecon/)\n\n## Installation\n\nBefore installing `quantecon` we recommend you install the [Anaconda](https://www.anaconda.com/download/) Python distribution, which includes a full suite of scientific python tools.\n\nNext you can install quantecon by opening a terminal prompt and typing\n\n    pip install quantecon\n\nor using conda-forge by typing\n\n    conda install -c conda-forge quantecon\n\n## Usage\n\nOnce `quantecon` has been installed you should be able to import it as follows:\n\n```python\nimport quantecon as qe\n```\n\nYou can check the version by running\n\n```python\nprint(qe.__version__)\n```\n\nIf your version is below what’s available on [PyPI](https://pypi.python.org/pypi/quantecon/) then it is time to upgrade. This can be done by running\n\n    pip install --upgrade quantecon\n\n## Examples and Sample Code\n\nMany examples of QuantEcon.py in action can be found at [Quantitative Economics](https://lectures.quantecon.org/). See also the\n\n*   [Documentation](https://quanteconpy.readthedocs.org/en/latest/)\n*   [Notebook gallery](https://github.com/QuantEcon/notebook-gallery)\n\nQuantEcon.py is supported financially by the [Alfred P. Sloan Foundation](http://www.sloan.org/) and is part of the [QuantEcon organization](https://quantecon.org).\n\n## Downloading the `quantecon` Repository\n\nAn alternative is to download the sourcecode of the `quantecon` package and install it manually from [the github repository](https://github.com/QuantEcon/QuantEcon.py/). For example, if you have git installed type\n\n    git clone https://github.com/QuantEcon/QuantEcon.py\n\nOnce you have downloaded the source files then the package can be installed by running\n\n    pip install flit\n    flit install\n\n(To learn the basics about setting up Git see [this link](https://help.github.com/articles/set-up-git/).)\n\n## Citation\n\nQuantEcon.py is MIT licensed, so you are free to use it without any charge and restriction. If it is convenient for you, please cite QuantEcon.py when using it in your work and also consider contributing all your changes back, so that we can incorporate it.\n\nA BibTeX entry for LaTeX users is\n\n```bibtex\n@article{10.21105/joss.05585,\nauthor = {Batista, Quentin and Coleman, Chase and Furusawa, Yuya and Hu, Shu and Lunagariya, Smit and Lyon, Spencer and McKay, Matthew and Oyama, Daisuke and Sargent, Thomas J. and Shi, Zejin and Stachurski, John and Winant, Pablo and Watkins, Natasha and Yang, Ziyue and Zhang, Hengcheng},\ndoi = {10.5281/zenodo.10345102},\ntitle = {QuantEcon.py: A community based Python library for quantitative economics},\nyear = {2024},\njournal = {Journal of Open Source Software},\nvolume = {9},\nnumber = {93},\npages = {5585}\n}\n```\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=quantecon/quantecon.py\u0026type=Date)](https://star-history.com/#quantecon/quantecon.py\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantecon%2Fquantecon.py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantecon%2Fquantecon.py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantecon%2Fquantecon.py/lists"}