Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipysimulate-0.2.0.tar.gz (493.9 kB view details)

Uploaded Source

Built Distribution

ipysimulate-0.2.0-py2.py3-none-any.whl (510.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ipysimulate-0.2.0.tar.gz.

File metadata

  • Download URL: ipysimulate-0.2.0.tar.gz
  • Upload date:
  • Size: 493.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for ipysimulate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d98ae088c647557744a59583158176d8db9c0ffd8a2732813b2fdd182ad12cdd
MD5 cebc35afcb24a05c1cccef40e51700a6
BLAKE2b-256 5ebf00e0c896d99aa946e2ca7abb47a7905692f394ae4366053942da34d54a8d

See more details on using hashes here.

Provenance

File details

Details for the file ipysimulate-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ipysimulate-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 510.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for ipysimulate-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 645e6dfd31d8d61dd7abb3ce9e04d58c71e887368f7234927cef05b490fea99d
MD5 1174542e4f74e6e47c1d4ff52d462477
BLAKE2b-256 6461e0ac9321aec8aab3c5485e023bdd38875ab1c6385fdd95e2b61d2f5cad57

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page