Skip to main content

Tools to create interactive simulations with IPython and Jupyter.

Project description

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.

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.1.tar.gz (494.4 kB view details)

Uploaded Source

Built Distribution

ipysimulate-0.2.1-py2.py3-none-any.whl (511.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: ipysimulate-0.2.1.tar.gz
  • Upload date:
  • Size: 494.4 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.1.tar.gz
Algorithm Hash digest
SHA256 71e1a2fac5d76f558527976a2db60cc2eb9240035a245f14e5b7ae3c4f22b5f2
MD5 6381d561a853cfdaa065c357ed5f2bb8
BLAKE2b-256 48d258261337d9960948e9c81651c879604d0d7506509d6c86951edeb347f97f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ipysimulate-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 511.1 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f316793e4e8968a42c5703fef87bdf406f08b5db09b3bc5b408be5fc0f80d273
MD5 424853d3cfdb84fffc68cca93442342a
BLAKE2b-256 dc5e3fe8bf6cc5ca473f6203f65f766e2f326dab8bacf80e46aa601c5e4000fa

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