{ "info": { "author": "Gregor Boehl", "author_email": "admin@gregorboehl.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "**pynare**\n==========\n\nThis is a slim Python API to Dynare. It runs the ``*.mod`` file, displays the resulting output, and then provides access to the Dynare workspace. It works with both, Matlab and Octave.\n\nFor fellow linux users (and probably mac users as well), this also provides a script to execute Dynare from comand line.\n\n- Source: https://github.com/gboehl/pynare\n- Documentation: https://pynare.readthedocs.io/en/latest/\n- Bug tracker: https://github.com/gboehl/pynare/issues\n\n**NOTE:** This is at a very early stage and not well-tested (and not tested at all on Windows). Comments via the `bug tracker `_ are very welcome. \n\nMotivation\n----------\n\nThe declared goal of this project is to provide access to Dynare without having to learn and use Matlab / Octave. This reflects the acknowledgement that the translation of the Dynare codebase to a more efficient open source alternative is a major effort which may take a while. Meanwhile, **pynare** encourages young researchers to focus on modern open source languages and, as the whole interface is pure Python, still allows them to use Dynare without Matlab.\n\n\nUsage\n-----\n\nPackage import and running a modfile:\n\n.. code-block:: python\n\n from pynare import pynare\n modfile = '/path/to/greatmodel.mod'\n mod = pynare(modfile)\n\nThis will give you the usual info about how the Blanchard-Kahn conditions are messed up. Then access the attributes:\n\n.. code-block:: python\n\n mod.workspace # will give you the matlab workspace\n print(mod.workspace['beta']) # it contains all the parameters\n >>> 0.995 # likely to be the case\n\nI also added the ``oo_`` Dynare-object, which contains a lot of usefull stuff. Note that you could have also accessed it via ``mod.workspace['oo_']``.\n\n.. code-block:: python\n\n mod.oo_.keys() # it is a dict, so browse it via `keys()`\n irfs = mod.oo_['irfs'] # for instance get your impulse response functions (it's again a dict). Maybe plot them?\n\nJust evoking **pynare** from the comand prompt/shell is as simple as\n\n.. code-block:: sh\n\n pynare modelpath/crazy.mod\n\nInstallation via ``pip``\n--------------------------------------\n\nInstallation is as simply as running (Windows user from the Anaconda Prompt):\n\n.. code-block:: sh\n\n pip install pynare\n\nOf course, installing Dynare remains your responibility.\n\nIf you care for the bleeding edge developing version (which, at this stage, is recommended), the handy way is to install via the ``git``-command. If you hav not yet installed ``git``, Windows users get it here: https://git-scm.com/download/win (Linux users just use the repo of their distro). Then:\n\n.. code-block:: sh\n\n pip install git+https://github.com/gboehl/pynare\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pynare.readthedocs.io/en/latest/index.html", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pynare", "package_url": "https://pypi.org/project/pynare/", "platform": "", "project_url": "https://pypi.org/project/pynare/", "project_urls": { "Homepage": "https://pynare.readthedocs.io/en/latest/index.html" }, "release_url": "https://pypi.org/project/pynare/0.1.5/", "requires_dist": [ "numpy", "pathos" ], "requires_python": "", "summary": "run DYNARE from python and access its workspace", "version": "0.1.5" }, "last_serial": 5503510, "releases": { "0.1.5": [ { "comment_text": "", "digests": { "md5": "405ead45625d03562b96ead2db6ffae6", "sha256": "86c027d17257224e1be5fe5706c2a4196e2d859fe379b76cf1005a3dda7b7936" }, "downloads": -1, "filename": "pynare-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "405ead45625d03562b96ead2db6ffae6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6622, "upload_time": "2019-07-08T23:02:30", "url": "https://files.pythonhosted.org/packages/6a/aa/d26af1ced8fc20a035191fbd4b99e3bee94f81313cc2c7c31c2d43c12b02/pynare-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "683339222eb30d9597ed38185623fefa", "sha256": "faeb1513525105baf9c0e09e169185b9e02c0f1ef94b5d5464c15991d3afa387" }, "downloads": -1, "filename": "pynare-0.1.5.tar.gz", "has_sig": false, "md5_digest": "683339222eb30d9597ed38185623fefa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6099, "upload_time": "2019-07-08T23:02:31", "url": "https://files.pythonhosted.org/packages/d1/a1/7a650620825d7bab247ca537ff912931c15ce3427b57a5b59f572809ed54/pynare-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "405ead45625d03562b96ead2db6ffae6", "sha256": "86c027d17257224e1be5fe5706c2a4196e2d859fe379b76cf1005a3dda7b7936" }, "downloads": -1, "filename": "pynare-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "405ead45625d03562b96ead2db6ffae6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6622, "upload_time": "2019-07-08T23:02:30", "url": "https://files.pythonhosted.org/packages/6a/aa/d26af1ced8fc20a035191fbd4b99e3bee94f81313cc2c7c31c2d43c12b02/pynare-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "683339222eb30d9597ed38185623fefa", "sha256": "faeb1513525105baf9c0e09e169185b9e02c0f1ef94b5d5464c15991d3afa387" }, "downloads": -1, "filename": "pynare-0.1.5.tar.gz", "has_sig": false, "md5_digest": "683339222eb30d9597ed38185623fefa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6099, "upload_time": "2019-07-08T23:02:31", "url": "https://files.pythonhosted.org/packages/d1/a1/7a650620825d7bab247ca537ff912931c15ce3427b57a5b59f572809ed54/pynare-0.1.5.tar.gz" } ] }