{ "info": { "author": "Michal Krassowski", "author_email": "krassowski.michal+pypi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: IPython", "Framework :: Jupyter", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: User Interfaces", "Topic :: Utilities" ], "description": "jupyter-manim\n=============\n\n|MIT License|\n\nIntegrates `manim `__ (animation engine\nfor explanatory math videos) with Jupyter displaying the resulting video\nwhen using ``%%manim`` cell magic to wrap a scene definition.\n\nQuick preview\n~~~~~~~~~~~~~\n\nThe code in the example above comes from the excellent `manim\ntutorial `__.\n\nInstallation\n~~~~~~~~~~~~\n\n.. code:: sh\n\n pip3 install jupyter-manim\n\nUsage\n~~~~~\n\nYour arguments will be passed to manim, exactly as if these were command\nline options.\n\nFor example, to render scene defined with class ``Shapes(Scene)`` use\n\n.. code:: python\n\n %%manim Shapes\n from manimlib.scene.scene import Scene\n from manimlib.mobject.geometry import Circle\n from manimlib.animation.creation import ShowCreation\n\n class Shapes(Scene):\n\n def construct(self):\n circle = Circle()\n self.play(ShowCreation(circle))\n\nNOTE: currently the code has to be self-contained as it will be run in a\nseparate namespace. Thus, all the imports have to be contained in your\ncell.\n\nIn future, an option to export the current namespace (or specific\nvariables) will be added. It could be implemented by pickling the Python\nlocals and globals and then pre-pending the cell with an un-pickling\nscript (PRs welcome!).\n\nIn the latest version of manimlib (not yet released) you will be able to\nimport everything at once using:\n\n.. code:: python\n\n from manimlib.imports import *\n\nTo display manim help and options use:\n\n::\n\n %%manim -h\n pass\n\nThe ``%%manim`` magic (by default) hides the progress bars as well as\nother logging messages generated by manim. You can disable this\nbehaviour using ``--verbose`` flag\n\nVideo player control options\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n- ``--no-controls`` - hides the controls\n- ``--no-autoplay`` - disables the autoplay feature\n- ``-r`` or ``--resolution`` - control the height and width of the\n video player; this option is shared with manim and requires the\n resolution in following format: ``height,width``, e.g.\n ``%%manim Shapes -r 200,1000``\n\n.. |MIT License| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n :target: http://choosealicense.com/licenses/mit/", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/krassowski/jupyter-manim/tarball/v0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/krassowski/jupyter-manim", "keywords": "jupyter,jupyterlab,notebook,manim,manimlib", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jupyter-manim", "package_url": "https://pypi.org/project/jupyter-manim/", "platform": "", "project_url": "https://pypi.org/project/jupyter-manim/", "project_urls": { "Download": "https://github.com/krassowski/jupyter-manim/tarball/v0.1", "Homepage": "https://github.com/krassowski/jupyter-manim" }, "release_url": "https://pypi.org/project/jupyter-manim/0.11/", "requires_dist": null, "requires_python": "", "summary": "Cell magic rendering displaying videos in Jupyter/IPython", "version": "0.11" }, "last_serial": 5326253, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ffd29e7a05f9c92da11497af36f9b45b", "sha256": "074bfbb825757172135eba5b1de0a47694909edcf59db41f36b42375641376f1" }, "downloads": -1, "filename": "jupyter_manim-0.1.tar.gz", "has_sig": false, "md5_digest": "ffd29e7a05f9c92da11497af36f9b45b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4514, "upload_time": "2019-05-22T15:18:40", "url": "https://files.pythonhosted.org/packages/0d/17/0a3f76d4730577ec28c756f604744def27840230444c1bdbf15fa73f1136/jupyter_manim-0.1.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "727cde1a5052968d4b9fe91d9ca61d54", "sha256": "7d4b874ae35871be00ed8236183f7a35ee7d10256a63aba7e8f38785d33560c5" }, "downloads": -1, "filename": "jupyter_manim-0.11.tar.gz", "has_sig": false, "md5_digest": "727cde1a5052968d4b9fe91d9ca61d54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4653, "upload_time": "2019-05-28T11:01:44", "url": "https://files.pythonhosted.org/packages/49/f8/c68e7fae8e5aa5dcdb161a48dacd3f94eb24c38059e25a15aa903a1bc0d8/jupyter_manim-0.11.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "727cde1a5052968d4b9fe91d9ca61d54", "sha256": "7d4b874ae35871be00ed8236183f7a35ee7d10256a63aba7e8f38785d33560c5" }, "downloads": -1, "filename": "jupyter_manim-0.11.tar.gz", "has_sig": false, "md5_digest": "727cde1a5052968d4b9fe91d9ca61d54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4653, "upload_time": "2019-05-28T11:01:44", "url": "https://files.pythonhosted.org/packages/49/f8/c68e7fae8e5aa5dcdb161a48dacd3f94eb24c38059e25a15aa903a1bc0d8/jupyter_manim-0.11.tar.gz" } ] }