Tools to create interactive simulations with IPython and Jupyter.
Project description
[![PyPI](https://img.shields.io/pypi/v/ipysimulate)](https://pypi.org/project/ipysimulate/) [![GitHub](https://img.shields.io/github/license/joelforamitti/ipysimulate)](https://github.com/JoelForamitti/ipysimulate/blob/master/LICENSE) [![Documentation Status](https://readthedocs.org/projects/ipysimulate/badge/?version=stable)](https://ipysimulate.readthedocs.io/en/stable/?badge=stable)
The ipysimulate library provides tools to create interactive simulations with IPython and Jupyter. It includes a simulation control panel, widgets to adjust parameters at runtime, and dynamically updating d3.js charts.
For application examples, check out this [user guide](https://agentpy.readthedocs.io/en/stable/guide_interactive.html) of the [AgentPy](https://github.com/JoelForamitti/agentpy) documentation.
This library is still in an early stage of development, and more features will follow in the future. Contributions are very welcome :)
Installation
To install use pip:
$ pip install ipysimulate
For a development installation (requires [Node.js](https://nodejs.org) and [Yarn version 1](https://classic.yarnpkg.com/)):
$ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ipysimulate-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 645e6dfd31d8d61dd7abb3ce9e04d58c71e887368f7234927cef05b490fea99d |
|
MD5 | 1174542e4f74e6e47c1d4ff52d462477 |
|
BLAKE2b-256 | 6461e0ac9321aec8aab3c5485e023bdd38875ab1c6385fdd95e2b61d2f5cad57 |