{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics :: Presentation", "Topic :: Scientific/Engineering :: Visualization" ], "description": "# Python Handout\n\n[![PyPI](https://img.shields.io/pypi/v/handout.svg)](https://pypi.python.org/pypi/handout/#history)\n\nTurn Python scripts into handouts with Markdown comments and inline figures. An\nalternative to Jupyter notebooks without hidden state that supports any text\neditor.\n\n| Code | Handout |\n| ---- | ------- |\n| ![Code](https://i.imgur.com/YEvUB9U.png) | ![Handout](https://i.imgur.com/dEGxaAz.png) |\n\n## Getting started\n\nYou use Python Handout as a library inside a normal Python program:\n\n1. Install via `pip3 install -U handout`.\n2. Run your script via `python3 script.py`. (You can start with the `example.py`\n from the repository.)\n3. Open `output/index.html` in your browser to view the result.\n4. Iterate and refresh your browser.\n\n## Features\n\nCreate the handout via `doc = handout.Handout(outdir)` to access these features:\n\n| Feature | Example |\n| ------- | ------- |\n| Add [Markdown text][markdown] as triple-quote comments. | `\"\"\"Markdown text\"\"\"` |\n| Add text via `print()` syntax. | `doc.add_text('text:', variable)` |\n| Add image from array or url. | `doc.add_image(image, 'png', width=1)` |\n| Add video from array or url. | `doc.add_video(video, 'gif', fps=30, width=1)` |\n| Add matplotlib figure. | `doc.add_figure(fig, width=1)` |\n| Add custom HTML. | `doc.add_html(string)` |\n| Insert added items and save to `/index.html`. | `doc.show()` |\n\n[markdown]: https://commonmark.org/help/\n\n## Questions\n\nFeel free to create an issue on Github.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/danijar/handout", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "handout", "package_url": "https://pypi.org/project/handout/", "platform": "", "project_url": "https://pypi.org/project/handout/", "project_urls": { "Homepage": "http://github.com/danijar/handout" }, "release_url": "https://pypi.org/project/handout/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Turn Python scripts into handouts with Markdown and figures", "version": "1.1.1" }, "last_serial": 5688602, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d2aff6c0d29d9d2827bfa305f2ce3a46", "sha256": "38323e129dcdaa05f1d345cf38182f577355344f4483a8499df7dbb52b636a79" }, "downloads": -1, "filename": "handout-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d2aff6c0d29d9d2827bfa305f2ce3a46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 723, "upload_time": "2018-11-09T02:48:43", "url": "https://files.pythonhosted.org/packages/fe/51/3d0aead986b0ecfb4e486cc9f9d04abd6e1a050301e4b58d272ed66deeb3/handout-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "da4943a5b6bc0d07cd410678da610024", "sha256": "966097f8ff1e3fcabce3c10939b6652baabf71ee52d163c7ca9ded4836c8d689" }, "downloads": -1, "filename": "handout-0.2.0.tar.gz", "has_sig": false, "md5_digest": "da4943a5b6bc0d07cd410678da610024", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2659, "upload_time": "2018-11-24T20:26:30", "url": "https://files.pythonhosted.org/packages/27/b3/666718912093e7ff9cd498e3080925b55b26d58cecf19268fc576c4e2ea0/handout-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4123397382dd87984e1becc0ab01c391", "sha256": "68be4251b8d61f5aeebf36d059d39048aea4abcbe7547d8733c9d0e76273e0f6" }, "downloads": -1, "filename": "handout-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4123397382dd87984e1becc0ab01c391", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15442, "upload_time": "2018-11-24T20:37:38", "url": "https://files.pythonhosted.org/packages/f1/ee/606efeb74e73da4292e175fca9bc26e01d8f5c23f0db7e131c2b60d31733/handout-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "7af08bd0bcd793c0b74a9f39b4926a31", "sha256": "48014a2fb3c6f8f2dcdbecd5c0e19487ee67a619cdcf1c37148aa6d8c90ca609" }, "downloads": -1, "filename": "handout-0.2.2.tar.gz", "has_sig": false, "md5_digest": "7af08bd0bcd793c0b74a9f39b4926a31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15433, "upload_time": "2018-11-24T20:46:17", "url": "https://files.pythonhosted.org/packages/fd/92/189ef336e6ce9d8115cf187b56d0d01f89f15e0b1fda61fb1332db7a5bac/handout-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e7e920b9549e041e00e1445be1f2d436", "sha256": "45eb1f205bf40830794d3eeb702babd339c1c6dcd56e63a19b8a0c5daeb8786f" }, "downloads": -1, "filename": "handout-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e7e920b9549e041e00e1445be1f2d436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15917, "upload_time": "2018-12-07T16:00:27", "url": "https://files.pythonhosted.org/packages/e8/aa/775f3f80899c25fbbc4867c6b82ee99ff01452b9f1a3d26179dcd1b24de0/handout-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "6fb4a2d4d5df00a4a67a32373ec43bd7", "sha256": "44e31c598924079bdd7cd5457e6d69628b397cc8dcb80cb96e1b91a4ce57ab53" }, "downloads": -1, "filename": "handout-0.4.0.tar.gz", "has_sig": false, "md5_digest": "6fb4a2d4d5df00a4a67a32373ec43bd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16217, "upload_time": "2018-12-13T04:17:37", "url": "https://files.pythonhosted.org/packages/29/d4/779a5fd749512feadf658bf2a7b318d94ac3fb77f39ac9bbec3d48669f3f/handout-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "5f5a0dda54e4036124f40c9d2fc2a834", "sha256": "29fad5612b94f1d30380504a613e1b124d1fa007cdf3bfc5227169994083f315" }, "downloads": -1, "filename": "handout-0.4.1.tar.gz", "has_sig": false, "md5_digest": "5f5a0dda54e4036124f40c9d2fc2a834", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16290, "upload_time": "2019-01-04T02:02:56", "url": "https://files.pythonhosted.org/packages/b1/25/68490079fb426049b7b64503799c58d881acdf37294625e6235a9cf91959/handout-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "cec13012f6159bdd65b9c0797254a442", "sha256": "c601c0c5337f4f81ea11940655616c215590301b4eac1f285858378f9b4df532" }, "downloads": -1, "filename": "handout-0.4.2.tar.gz", "has_sig": false, "md5_digest": "cec13012f6159bdd65b9c0797254a442", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16997, "upload_time": "2019-01-04T05:01:48", "url": "https://files.pythonhosted.org/packages/5b/96/a25e70bf831b13b971816787e2357176c5789eafc8197008f4f226a70bfb/handout-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "ed700dd300d671f966736dc591ef84ae", "sha256": "18ec8ec1b2fa2f94fea71685401500fa51e3e14866c13afab8972eaf4d7081a8" }, "downloads": -1, "filename": "handout-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ed700dd300d671f966736dc591ef84ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16468, "upload_time": "2019-01-04T18:18:12", "url": "https://files.pythonhosted.org/packages/9a/7b/526567f50c87170ce7b102c4024c003a234f59cc9080af2d2d97ebb6b8b4/handout-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "5ec31cbd13fa64ff13da807377895b6c", "sha256": "b38648a0eac4a81a9fed9de85db475b52c8ee2df77231231d69bce89642ece81" }, "downloads": -1, "filename": "handout-0.5.1.tar.gz", "has_sig": false, "md5_digest": "5ec31cbd13fa64ff13da807377895b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17054, "upload_time": "2019-02-04T02:13:34", "url": "https://files.pythonhosted.org/packages/eb/89/4ee7500f2468266edf93e807351730306447ff134ee58b8f426d655cdb3f/handout-0.5.1.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "63ce4bf6a59f333e972faee1885589b8", "sha256": "4552387d35efa0bff1659c36561989330c1fa522c979404cb7b5bc4fca79e7e2" }, "downloads": -1, "filename": "handout-0.6.0.tar.gz", "has_sig": false, "md5_digest": "63ce4bf6a59f333e972faee1885589b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17082, "upload_time": "2019-03-03T04:45:48", "url": "https://files.pythonhosted.org/packages/c1/80/b4813508d4beb7b1f503fabfa552ba1c98b2953ea9e0aac65fa6b3a4631b/handout-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "f22d3067d2c4480f1b7c3aada48f9d99", "sha256": "cca4816ca1a915a6e83fb9b1439f2e8ba727a6b21fb9190b937e2f19aba82d2d" }, "downloads": -1, "filename": "handout-0.7.0.tar.gz", "has_sig": false, "md5_digest": "f22d3067d2c4480f1b7c3aada48f9d99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17158, "upload_time": "2019-03-31T19:49:11", "url": "https://files.pythonhosted.org/packages/dc/c0/e49e0cc2f283ca1846b9e75bac1743a81a31e857699c9e4f60a655bcc17b/handout-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "25bafa8096e7add32703850f4ef6feb2", "sha256": "76093faa8f41514f33979fa2b6ab8d2e3bb1e92935d04bed50696d5a406bf634" }, "downloads": -1, "filename": "handout-0.8.0.tar.gz", "has_sig": false, "md5_digest": "25bafa8096e7add32703850f4ef6feb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17181, "upload_time": "2019-04-03T01:34:23", "url": "https://files.pythonhosted.org/packages/71/d5/af8831c19252f2316a4f166ea94b483042aa17894c17b3daf3477490f736/handout-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "fbc5e1ed2b2bcc54a1375281a4b23d36", "sha256": "03f4f971aec1018906de2c5fc29cc7643062894c8b62bebe59ac503af32f73ff" }, "downloads": -1, "filename": "handout-0.9.0.tar.gz", "has_sig": false, "md5_digest": "fbc5e1ed2b2bcc54a1375281a4b23d36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17181, "upload_time": "2019-08-03T21:25:00", "url": "https://files.pythonhosted.org/packages/7a/1a/3b6eec9149a3554aadc71cf0c33027d1ef58800dd254b0a7d59b64b00a76/handout-0.9.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "781128575fba2f4bd5a93f7816ca5bb5", "sha256": "832c10f3a848692c305187ed06a26362b936b3b442749294336e12893ae6c19b" }, "downloads": -1, "filename": "handout-1.0.0.tar.gz", "has_sig": false, "md5_digest": "781128575fba2f4bd5a93f7816ca5bb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17282, "upload_time": "2019-08-04T21:33:34", "url": "https://files.pythonhosted.org/packages/57/5a/7bb676b20d8800ae6f9e349bdc870666221be71639377d81e71ca8dc3641/handout-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "506f6a68c1dfd57732eb8fc780b09089", "sha256": "433a2fc4eb92df481833a1501a32a231bcf52002a5d89576032c5454c3ddafda" }, "downloads": -1, "filename": "handout-1.1.0.tar.gz", "has_sig": false, "md5_digest": "506f6a68c1dfd57732eb8fc780b09089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17953, "upload_time": "2019-08-15T19:30:00", "url": "https://files.pythonhosted.org/packages/a4/93/8d76f1cb3b372669c5796e0ef01eba88d1ac6e393e2d33d49ad8cd7a0306/handout-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "cfdb0569b340ef1a978eb5c9cd008025", "sha256": "dbe5da9b422fa937b94a1a5221ce99387ebd75fe97ab4255e49b26d846b8614b" }, "downloads": -1, "filename": "handout-1.1.1.tar.gz", "has_sig": false, "md5_digest": "cfdb0569b340ef1a978eb5c9cd008025", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17959, "upload_time": "2019-08-16T17:21:06", "url": "https://files.pythonhosted.org/packages/23/93/9a77bbf965c854552a17286f11ad1e489028244baaf95575396e3763f344/handout-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cfdb0569b340ef1a978eb5c9cd008025", "sha256": "dbe5da9b422fa937b94a1a5221ce99387ebd75fe97ab4255e49b26d846b8614b" }, "downloads": -1, "filename": "handout-1.1.1.tar.gz", "has_sig": false, "md5_digest": "cfdb0569b340ef1a978eb5c9cd008025", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17959, "upload_time": "2019-08-16T17:21:06", "url": "https://files.pythonhosted.org/packages/23/93/9a77bbf965c854552a17286f11ad1e489028244baaf95575396e3763f344/handout-1.1.1.tar.gz" } ] }