{ "info": { "author": "Sebastian H\u00f6ffner", "author_email": "info@sebastian-hoeffner.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Text Processing :: Filters" ], "description": "pandoc-source-exec\n==================\n\n``pandoc-source-exec`` is a `panflute`_ `pandoc`_ `filter`_.\n\nIt executes code annotated code blocks with the proper executables and\nadds the output below. `Example `__:\n\n::\n\n ```{ .python .exec }\n print('Hello World')\n ```\n\nThe above can be compiled like this:\n\n.. code-block:: Makefile\n\n example.pdf: example.md example.py\n \tpandoc --filter pandoc-source-exec -o $@ $<\n\nThe resulting output will include `Hello World` after the code block.\n\n``pandoc-source-exec`` offers many other features, including tikz plots,\nproper figures and code listings as well as including files as code.\n\nFor more examples check the `example files`_.\n\n\nInstallation\n------------\n\nJust use pip to install it from `pypi`_\n\n.. code-block:: shell\n\n pip install pandoc-source-exec\n\n\n.. _`filter`: https://pandoc.org/scripting.html\n.. _`pandoc`: https://pandoc.org/index.html\n.. _`panflute`: http://scorreia.com/software/panflute/index.html\n.. _`pypi`: https://pypi.python.org/pypi/pandoc-source-exec\n.. _`example files`: https://github.com/shoeffner/pandoc-source-exec/tree/master/example\n\n\nFuture\n------\n\n- Execute code other than python\n- Refactor interactive execution, build REPL wrappers.\n- Allow configurable pre- and postfixes for the output", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/shoeffner/pandoc-source-exec/tarball/0.2.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shoeffner/pandoc-source-exec", "keywords": "pandoc,filter,code,execution", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pandoc-source-exec", "package_url": "https://pypi.org/project/pandoc-source-exec/", "platform": "", "project_url": "https://pypi.org/project/pandoc-source-exec/", "project_urls": { "Download": "https://github.com/shoeffner/pandoc-source-exec/tarball/0.2.2", "Homepage": "https://github.com/shoeffner/pandoc-source-exec" }, "release_url": "https://pypi.org/project/pandoc-source-exec/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "A pandoc filter for executing (python) code and including the results.", "version": "0.2.2" }, "last_serial": 5187541, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "949402307ea85970c3f6d115b27e4ea1", "sha256": "dbaa827e9788b22b02d63c67d25cfa21b412cbc3f5e5299cce7b82cbf793b7e9" }, "downloads": -1, "filename": "pandoc-source-exec-0.1.0.tar.gz", "has_sig": true, "md5_digest": "949402307ea85970c3f6d115b27e4ea1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4473, "upload_time": "2017-03-22T11:31:35", "url": "https://files.pythonhosted.org/packages/a8/79/7b3735a5934d75f658aaf2a260a1bbd5cb2d8535a3aac77c9008a0107531/pandoc-source-exec-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "214ed8b2e4153e5a877ef85c0d47969b", "sha256": "c08d6da11f011d2c6d9e67f456c33d61cb89aa2e495f07ec141224f6ce156c94" }, "downloads": -1, "filename": "pandoc-source-exec-0.1.1.tar.gz", "has_sig": true, "md5_digest": "214ed8b2e4153e5a877ef85c0d47969b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5204, "upload_time": "2017-05-04T03:11:49", "url": "https://files.pythonhosted.org/packages/0d/92/926858fa86c275f1f758413555227423b5e9ceb0ba86d502040510f5978a/pandoc-source-exec-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d579d1afadf4a72c76ef33a947427685", "sha256": "58f8f19990e7654916de71cd2855c4d853b71351f3debf608cebb47e5bb6e20b" }, "downloads": -1, "filename": "pandoc-source-exec-0.1.2.tar.gz", "has_sig": true, "md5_digest": "d579d1afadf4a72c76ef33a947427685", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5253, "upload_time": "2017-05-04T03:53:07", "url": "https://files.pythonhosted.org/packages/8a/3a/40be5c6d357dae2e051276b3c8ae9e8fc9c26e92c71c5c00f0b8cc5ea60c/pandoc-source-exec-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "4bef56910ed188862ea00738a76f4903", "sha256": "9e673c929fa5cf1c47eb1f335ee7bdbe28b2ef5a92a9f4084a7731f0a1f21073" }, "downloads": -1, "filename": "pandoc-source-exec-0.1.3.tar.gz", "has_sig": true, "md5_digest": "4bef56910ed188862ea00738a76f4903", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5438, "upload_time": "2017-06-13T10:31:55", "url": "https://files.pythonhosted.org/packages/66/cd/3d536cc107eeffbf03fda456101051833f92d820f41eaf0f0fccdf12f784/pandoc-source-exec-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6b36d15e0bbd48b8bb7933e4b530e44b", "sha256": "6e2970ad18b69f9f0de338be39b679bba2f260a451ce73df4eae3590c00b9397" }, "downloads": -1, "filename": "pandoc-source-exec-0.1.4.tar.gz", "has_sig": true, "md5_digest": "6b36d15e0bbd48b8bb7933e4b530e44b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5380, "upload_time": "2017-11-04T15:53:42", "url": "https://files.pythonhosted.org/packages/07/46/3666d6662b4d2f6307bd65996caec471be97ab556d9ca5f1324b39d77113/pandoc-source-exec-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "163db3fb892c9de74918b64a9430d7d8", "sha256": "9e4ad5861efab81305a0c5cfe645983eb939fd5f77b6199872c1ea477e1e84c7" }, "downloads": -1, "filename": "pandoc-source-exec-0.2.0.tar.gz", "has_sig": true, "md5_digest": "163db3fb892c9de74918b64a9430d7d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6395, "upload_time": "2018-01-04T18:58:50", "url": "https://files.pythonhosted.org/packages/c1/ac/a696891d64f42ffbf79f4c38773e3d3035d98ac41fa443278332d3f26959/pandoc-source-exec-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "461ff3e8adae80455f80fc131c1cbf94", "sha256": "108598d7f313cb9591f983edf924a17f282c22b75fe38cc5c5be2a8cc3d6ce10" }, "downloads": -1, "filename": "pandoc-source-exec-0.2.1.tar.gz", "has_sig": true, "md5_digest": "461ff3e8adae80455f80fc131c1cbf94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6703, "upload_time": "2018-02-01T09:35:50", "url": "https://files.pythonhosted.org/packages/c3/58/a350d4f781eb1a89359355a39f5c0d7ec48f03ffd008bcba57cefa446385/pandoc-source-exec-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "a6d6e2d3891cdd7876d59636413b0c35", "sha256": "89f9650b0d710c9cd25a84c048885375f6bb4a2e51ec4c429ee3f777a1f204a6" }, "downloads": -1, "filename": "pandoc-source-exec-0.2.2.tar.gz", "has_sig": true, "md5_digest": "a6d6e2d3891cdd7876d59636413b0c35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7184, "upload_time": "2019-04-25T12:12:22", "url": "https://files.pythonhosted.org/packages/04/9c/33ca822f74ecb477e1dde5d8a878d9f77519b988352cb00fb25d555f9102/pandoc-source-exec-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a6d6e2d3891cdd7876d59636413b0c35", "sha256": "89f9650b0d710c9cd25a84c048885375f6bb4a2e51ec4c429ee3f777a1f204a6" }, "downloads": -1, "filename": "pandoc-source-exec-0.2.2.tar.gz", "has_sig": true, "md5_digest": "a6d6e2d3891cdd7876d59636413b0c35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7184, "upload_time": "2019-04-25T12:12:22", "url": "https://files.pythonhosted.org/packages/04/9c/33ca822f74ecb477e1dde5d8a878d9f77519b988352cb00fb25d555f9102/pandoc-source-exec-0.2.2.tar.gz" } ] }