JoelForamitti / ipysimulate

Tools to create interactive simulations with IPython and Jupyter.

Home Page:https://ipysimulate.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPySimulate - Interactive simulations for Python

PyPI GitHub Documentation Status

Tools to create interactive simulations with IPython and Jupyter, including a control panel, widgets to adjust parameters at runtime, and dynamic D3.js visualizations. This package is still in an early stage of development. Contributions are welcome :)

Documentation: https://ipysimulate.readthedocs.io/
Application examples: https://agentpy.readthedocs.io/en/stable/guide_interactive.html

Installation

To install use pip:

$ pip install ipysimulate

For a development installation (requires Node.js and Yarn version 1):

$ git clone https://github.com/JoelForamitti/ipysimulate.git
$ cd ipysimulate
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ipysimulate
$ jupyter nbextension enable --py --sys-prefix ipysimulate

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite ipysimulate

Then you need to rebuild the JS when you make a code change:

$ cd js
$ yarn run build

You then need to refresh the JupyterLab page when your javascript changes.

About

Tools to create interactive simulations with IPython and Jupyter.

https://ipysimulate.readthedocs.io/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 50.7%Language:Python 44.1%Language:CSS 5.2%