Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jofmi/ipysimulate
Tools to create interactive simulations with IPython and Jupyter.
https://github.com/jofmi/ipysimulate
agent-based-modeling ipython ipywidgets jupyter jupyterlab-extension simulation widgets
Last synced: 2 months ago
JSON representation
Tools to create interactive simulations with IPython and Jupyter.
- Host: GitHub
- URL: https://github.com/jofmi/ipysimulate
- Owner: jofmi
- License: bsd-3-clause
- Created: 2021-03-19T12:06:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-13T12:00:39.000Z (over 3 years ago)
- Last Synced: 2024-11-06T20:18:52.828Z (3 months ago)
- Topics: agent-based-modeling, ipython, ipywidgets, jupyter, jupyterlab-extension, simulation, widgets
- Language: JavaScript
- Homepage: https://ipysimulate.readthedocs.io/
- Size: 593 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
IPySimulate - Interactive simulations for Python
================================================[![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)Tools to create interactive simulations with IPython and Jupyter,
including a control panel, widgets to adjust parameters at runtime,
and dynamic [D3.js](https://d3js.org/) 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.htmlInstallation
------------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 ipysimulateWhen 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 buildYou then need to refresh the JupyterLab page when your javascript changes.