quantecon


Namequantecon JSON
Version 0.8.2 PyPI version JSON
download
home_pageNone
SummaryImport the main names to top level.
upload_time2025-07-21 07:31:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords quantitative economics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # QuantEcon.py

A high performance, open source Python code library for economics

```python
  from quantecon.markov import DiscreteDP
  aiyagari_ddp = DiscreteDP(R, Q, beta)
  results = aiyagari_ddp.solve(method='policy_iteration')
```

[![Build Status](https://github.com/QuantEcon/QuantEcon.py/actions/workflows/ci.yml/badge.svg)](https://github.com/QuantEcon/QuantEcon.py/actions?query=workflow%3Abuild)
[![Coverage Status](https://coveralls.io/repos/QuantEcon/QuantEcon.py/badge.svg)](https://coveralls.io/r/QuantEcon/QuantEcon.py)
[![Documentation (stable)](https://img.shields.io/badge/docs-stable-blue.svg)](https://quanteconpy.readthedocs.io/en/stable/)
[![Documentation (latest)](https://img.shields.io/badge/docs-latest-blue.svg)](https://quanteconpy.readthedocs.io/en/latest/)
[![PyPI Version](https://img.shields.io/pypi/v/quantecon.svg)](https://pypi.org/project/quantecon/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quantecon.svg)](https://pypi.org/project/quantecon/)

## Installation

Before installing `quantecon` we recommend you install the [Anaconda](https://www.anaconda.com/download/) Python distribution, which includes a full suite of scientific python tools.

Next you can install quantecon by opening a terminal prompt and typing

    pip install quantecon

or using conda-forge by typing

    conda install -c conda-forge quantecon

## Usage

Once `quantecon` has been installed you should be able to import it as follows:

```python
import quantecon as qe
```

You can check the version by running

```python
print(qe.__version__)
```

If 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

    pip install --upgrade quantecon

## Examples and Sample Code

Many examples of QuantEcon.py in action can be found at [Quantitative Economics](https://lectures.quantecon.org/). See also the

*   [Documentation](https://quanteconpy.readthedocs.org/en/latest/)
*   [Notebook gallery](https://notes.quantecon.org)

QuantEcon.py is supported financially by the [Alfred P. Sloan Foundation](http://www.sloan.org/) and is part of the [QuantEcon organization](https://quantecon.org).

## Downloading the `quantecon` Repository

An 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

    git clone https://github.com/QuantEcon/QuantEcon.py

Once you have downloaded the source files then the package can be installed by running

    pip install flit
    flit install

(To learn the basics about setting up Git see [this link](https://help.github.com/articles/set-up-git/).)

## Citation

QuantEcon.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.

A BibTeX entry for LaTeX users is

```bibtex
@article{10.21105/joss.05585,
author = {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},
doi = {10.5281/zenodo.10345102},
title = {QuantEcon.py: A community based Python library for quantitative economics},
year = {2024},
journal = {Journal of Open Source Software},
volume = {9},
number = {93},
pages = {5585}
}
```

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=quantecon/quantecon.py&type=Date)](https://star-history.com/#quantecon/quantecon.py&Date)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "quantecon",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "quantitative, economics",
    "author": null,
    "author_email": "QuantEcon Project <admin@quantecon.org>",
    "download_url": "https://files.pythonhosted.org/packages/d0/fc/f573936d6b56ef8b6100d373beb7f462d062ccf890d413b298b917acd842/quantecon-0.8.2.tar.gz",
    "platform": null,
    "description": "# 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\u00a0[Anaconda](https://www.anaconda.com/download/)\u00a0Python 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\u00a0`quantecon`\u00a0has 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\u2019s available on\u00a0[PyPI](https://pypi.python.org/pypi/quantecon/)\u00a0then 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\u00a0[Quantitative Economics](https://lectures.quantecon.org/). See also the\n\n*   [Documentation](https://quanteconpy.readthedocs.org/en/latest/)\n*   [Notebook gallery](https://notes.quantecon.org)\n\nQuantEcon.py is supported financially by the\u00a0[Alfred P. Sloan Foundation](http://www.sloan.org/)\u00a0and is part of the\u00a0[QuantEcon organization](https://quantecon.org).\n\n## Downloading the\u00a0`quantecon`\u00a0Repository\n\nAn alternative is to download the sourcecode of the\u00a0`quantecon`\u00a0package and install it manually from\u00a0[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\u00a0[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&type=Date)](https://star-history.com/#quantecon/quantecon.py&Date)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Import the main names to top level.",
    "version": "0.8.2",
    "project_urls": {
        "Documentation": "http://quanteconpy.readthedocs.org/en/latest/",
        "Funding": "https://quantecon.org",
        "Homepage": "https://quantecon.org/quantecon-py/",
        "Source": "https://github.com/quantecon/QuantEcon.py",
        "Tracker": "https://github.com/quantecon/QuantEcon.py/issues"
    },
    "split_keywords": [
        "quantitative",
        " economics"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2b24a48a6a095cb1663b55c00162565a9fc8bc369443bb7e6ec6682e15b8fb49",
                "md5": "98e2d6f1eadfb5ae1fd1409679229a07",
                "sha256": "dd083547fb3cd4dc821d8c1b570c9cfef5be26616f5188b54d4cccc6263cfe8e"
            },
            "downloads": -1,
            "filename": "quantecon-0.8.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "98e2d6f1eadfb5ae1fd1409679229a07",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 322893,
            "upload_time": "2025-07-21T07:31:06",
            "upload_time_iso_8601": "2025-07-21T07:31:06.721904Z",
            "url": "https://files.pythonhosted.org/packages/2b/24/a48a6a095cb1663b55c00162565a9fc8bc369443bb7e6ec6682e15b8fb49/quantecon-0.8.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d0fcf573936d6b56ef8b6100d373beb7f462d062ccf890d413b298b917acd842",
                "md5": "f8f8202a81f5e4420b4088d057260aff",
                "sha256": "4380922cb993d5a277ac32f94a64659fe22586e1bc5758d44921308dc656e8f9"
            },
            "downloads": -1,
            "filename": "quantecon-0.8.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f8f8202a81f5e4420b4088d057260aff",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 279319,
            "upload_time": "2025-07-21T07:31:08",
            "upload_time_iso_8601": "2025-07-21T07:31:08.463713Z",
            "url": "https://files.pythonhosted.org/packages/d0/fc/f573936d6b56ef8b6100d373beb7f462d062ccf890d413b298b917acd842/quantecon-0.8.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-21 07:31:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "quantecon",
    "github_project": "QuantEcon.py",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "quantecon"
}
        
Elapsed time: 2.67757s