{ "info": { "author": "Uber AI Labs", "author_email": "npradhan@uber.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.6" ], "description": "[![Build Status](https://travis-ci.com/pyro-ppl/pyro-api.svg?branch=master)](https://travis-ci.com/pyro-ppl/pyro-api)\n[![Latest Version](https://badge.fury.io/py/pyro-api.svg)](https://pypi.python.org/pypi/pyro-api)\n[![Documentation Status](https://readthedocs.org/projects/pyro-api/badge/?version=latest)](http://pyro-api.readthedocs.io/en/latest/?badge=master)\n\n# Pyro API\n\nGeneric API for modeling and inference for dispatch to different Pyro backends.\n\n----------------------------------------------------------------------------------------------------\n\n## Testing\n\nFor testing API compatibility on different backends, install pytest and other test dependencies that includes backends like [funsor](https://github.com/pyro-ppl/funsor) and [numpyro](https://github.com/pyro-ppl/numpyro) and run the test suite:\n\n```\npip install -e .[test]\npytest -vs\n```\n\nThis library has no dependencies and can easily be installed for testing your particular Pyro backend\nimplementation. You can use the following pattern and test your backend on models in the `pyroapi.testing`\nmodule.\n\n```python\nfrom pyro_api.dispatch import pyro_backend\nfrom pyro_api.testing import MODELS\n\n\n# Register backend\nwith pyro_backend(handlers='my_backend.handlers', \n distributions='my_backend.distributions',\n ...):\n\n # Test on models in pyro_api.testing\n for model in MODELS:\n f = MODELS[model]()\n model, model_args = f['model'], f.get('model_args', ())\n model(*model_args) \n ... # further testing\n``` \n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pyro-ppl/pyro-api", "keywords": "probabilistic machine learning bayesian statistics", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "pyro-api", "package_url": "https://pypi.org/project/pyro-api/", "platform": "", "project_url": "https://pypi.org/project/pyro-api/", "project_urls": { "Homepage": "https://github.com/pyro-ppl/pyro-api" }, "release_url": "https://pypi.org/project/pyro-api/0.1.2/", "requires_dist": [ "sphinx (>=2.0) ; extra == 'dev'", "sphinx-rtd-theme ; extra == 'dev'", "ipython ; extra == 'dev'", "flake8 ; extra == 'test'", "pytest (>=5.0) ; extra == 'test'" ], "requires_python": "", "summary": "Generic API for dispatch to Pyro backends.", "version": "0.1.2", "yanked": false, "yanked_reason": null }, "last_serial": 7249700, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8422d96706916a07ffc540d6ed6a00f7", "sha256": "fe6e38d85f60295017cfcdf2ad6248ee23796acb229c75c1463ff062bf63e752" }, "downloads": -1, "filename": "pyro_api-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8422d96706916a07ffc540d6ed6a00f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7392, "upload_time": "2019-10-18T22:48:04", "upload_time_iso_8601": "2019-10-18T22:48:04.845274Z", "url": "https://files.pythonhosted.org/packages/2a/ea/f2c8699fd2d2b085a5ee5f0cc4b917ccc9caa1b4a12607dfc2fe1f7a4e21/pyro_api-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "397255bc72ed6bd7ed7846787cefee3a", "sha256": "a165a48711a8f89a05e501a45f007cd6c5aa5e7c4025e62f724aa137bf976d54" }, "downloads": -1, "filename": "pyro-api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "397255bc72ed6bd7ed7846787cefee3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7157, "upload_time": "2019-10-18T22:48:07", "upload_time_iso_8601": "2019-10-18T22:48:07.879192Z", "url": "https://files.pythonhosted.org/packages/16/25/5d4ee758556c0a45f4086b7b1b7c72daa233871cf58a483c207e39a15925/pyro-api-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c66e89b3b0787cbc4f2a0bf7381eb343", "sha256": "583276d8a9b55d585971b48fe7074472174af17b8ccc3b720bf4e9a2a6325cb0" }, "downloads": -1, "filename": "pyro_api-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c66e89b3b0787cbc4f2a0bf7381eb343", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8232, "upload_time": "2019-10-23T23:19:39", "upload_time_iso_8601": "2019-10-23T23:19:39.972428Z", "url": "https://files.pythonhosted.org/packages/c2/bc/6cdbd1929e32fff62a33592633c2cc0393c7f7739131ccc9c9c4e28ac8dd/pyro_api-0.1.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "6c99d15ac7fedf1b32f0403b13fbc47e", "sha256": "bf3942773a9982908e907d2bbc70a27bd3f5bc3eb7c7b6a8db5bb81bcc3d0d66" }, "downloads": -1, "filename": "pyro-api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6c99d15ac7fedf1b32f0403b13fbc47e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7258, "upload_time": "2019-10-23T23:19:41", "upload_time_iso_8601": "2019-10-23T23:19:41.520767Z", "url": "https://files.pythonhosted.org/packages/ea/33/74c3b62306a0c496208038a7f573d4dbe12f74c1db91ca96b5a055020bb9/pyro-api-0.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4a1af8776125b2b1ee1f6c4b52b1fb6f", "sha256": "10e0e42e9e4401ce464dab79c870e50dfb4f413d326fa777f3582928ef9caf8f" }, "downloads": -1, "filename": "pyro_api-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4a1af8776125b2b1ee1f6c4b52b1fb6f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11981, "upload_time": "2020-05-15T16:17:40", "upload_time_iso_8601": "2020-05-15T16:17:40.492076Z", "url": "https://files.pythonhosted.org/packages/fc/81/957ae78e6398460a7230b0eb9b8f1cb954c5e913e868e48d89324c68cec7/pyro_api-0.1.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "da74f6ea59d90eef11f7c9b649bda485", "sha256": "a1b900d9580aa1c2fab3b123ab7ff33413744da7c5f440bd4aadc4d40d14d920" }, "downloads": -1, "filename": "pyro-api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "da74f6ea59d90eef11f7c9b649bda485", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7349, "upload_time": "2020-05-15T16:17:41", "upload_time_iso_8601": "2020-05-15T16:17:41.501019Z", "url": "https://files.pythonhosted.org/packages/25/d7/a0812f5c16b0d4464f80a64a44626c5fe200098070be0f32436dbb662775/pyro-api-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4a1af8776125b2b1ee1f6c4b52b1fb6f", "sha256": "10e0e42e9e4401ce464dab79c870e50dfb4f413d326fa777f3582928ef9caf8f" }, "downloads": -1, "filename": "pyro_api-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4a1af8776125b2b1ee1f6c4b52b1fb6f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11981, "upload_time": "2020-05-15T16:17:40", "upload_time_iso_8601": "2020-05-15T16:17:40.492076Z", "url": "https://files.pythonhosted.org/packages/fc/81/957ae78e6398460a7230b0eb9b8f1cb954c5e913e868e48d89324c68cec7/pyro_api-0.1.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "da74f6ea59d90eef11f7c9b649bda485", "sha256": "a1b900d9580aa1c2fab3b123ab7ff33413744da7c5f440bd4aadc4d40d14d920" }, "downloads": -1, "filename": "pyro-api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "da74f6ea59d90eef11f7c9b649bda485", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7349, "upload_time": "2020-05-15T16:17:41", "upload_time_iso_8601": "2020-05-15T16:17:41.501019Z", "url": "https://files.pythonhosted.org/packages/25/d7/a0812f5c16b0d4464f80a64a44626c5fe200098070be0f32436dbb662775/pyro-api-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }