{ "info": { "author": "Lindsey Heagy", "author_email": "lindsey@3ptscience.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "# PyExec\n\n[![Documentation Status](https://readthedocs.org/projects/sphinxcontrib-pyexec/badge/?version=latest)](http://sphinxcontrib-pyexec.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.org/3ptscience/sphinxcontrib-pyexec.svg?branch=master)](https://travis-ci.org/3ptscience/sphinxcontrib-pyexec)\n\n\nA sphinx extension for running python code and displaying both the input and\noutput [sphinx documentation](http://www.sphinx-doc.org/). \n\nIn the conf.py add `PyExec` to your extensions.\n\nIn the ReStructuredText file, use the `exec` environment\n\n```\n .. exec::\n print 2 + 2\n```\n\nTo output python code & the results in your documentation. \n\n```\n >> print 2 + 2\n 4\n```\n\nNote that you need to include the `print` statement for the output to be shown. To see it in action, checkout the [Properties documentation](http://propertiespy.readthedocs.io/). \n\nBased on\n\n- https://github.com/sphinx-doc/sphinx/blob/master/sphinx/directives/code.py\n- http://stackoverflow.com/a/18143318/6086999", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/3ptscience/sphinxcontrib-pyexec", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/3ptscience/sphinxcontrib-pyexec", "keywords": "sphinx documentation python execute", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "sphinxcontrib-pyexec", "package_url": "https://pypi.org/project/sphinxcontrib-pyexec/", "platform": "Windows,Linux,Solaris,Mac OS-X,Unix", "project_url": "https://pypi.org/project/sphinxcontrib-pyexec/", "project_urls": { "Download": "https://github.com/3ptscience/sphinxcontrib-pyexec", "Homepage": "https://github.com/3ptscience/sphinxcontrib-pyexec" }, "release_url": "https://pypi.org/project/sphinxcontrib-pyexec/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "sphinxcontrib-pyexec", "version": "0.0.4" }, "last_serial": 2166985, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4c138130174b5b588180237b4e5db8d4", "sha256": "b801806f14f10c058503f4d88de3277b61497dd90115eae545df3c015bc59ad3" }, "downloads": -1, "filename": "sphinxcontrib-pyexec-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4c138130174b5b588180237b4e5db8d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3678, "upload_time": "2016-06-09T22:09:59", "url": "https://files.pythonhosted.org/packages/3c/7b/031c2d5bb2eb60b0a3c3a33482b5d187d1d37bef82204587482fe911b79f/sphinxcontrib-pyexec-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e65d562d71139b0f5d436ed07302db24", "sha256": "bb41d7e68ab05e9375a927fe243358f50dceda36b21ddfb0306af1bd6128e499" }, "downloads": -1, "filename": "sphinxcontrib-pyexec-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e65d562d71139b0f5d436ed07302db24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3693, "upload_time": "2016-06-09T22:47:17", "url": "https://files.pythonhosted.org/packages/d3/07/7fd51dda50e52a6c5e9d836c4524ae5a596f83c0329f31aae39088a5c446/sphinxcontrib-pyexec-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "638b08e655d1ad413adc2d94cec039a5", "sha256": "306a1481f2eb3f5f9ef274a3b15843c6f77db0b414970b2c2a9ff6ecf22f9a19" }, "downloads": -1, "filename": "sphinxcontrib-pyexec-0.0.4.tar.gz", "has_sig": false, "md5_digest": "638b08e655d1ad413adc2d94cec039a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4309, "upload_time": "2016-06-14T16:27:22", "url": "https://files.pythonhosted.org/packages/8d/2d/d020aaf5b45b3a7ca316c9c217273be04adda5096b1283ae96dccb9f0dea/sphinxcontrib-pyexec-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "638b08e655d1ad413adc2d94cec039a5", "sha256": "306a1481f2eb3f5f9ef274a3b15843c6f77db0b414970b2c2a9ff6ecf22f9a19" }, "downloads": -1, "filename": "sphinxcontrib-pyexec-0.0.4.tar.gz", "has_sig": false, "md5_digest": "638b08e655d1ad413adc2d94cec039a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4309, "upload_time": "2016-06-14T16:27:22", "url": "https://files.pythonhosted.org/packages/8d/2d/d020aaf5b45b3a7ca316c9c217273be04adda5096b1283ae96dccb9f0dea/sphinxcontrib-pyexec-0.0.4.tar.gz" } ] }