Skip to main content

A collection of widgets to prepare interactive scientific visualisations, including user code input and validation

Project description

scicode-widgets (pip package name: pip install scwidgets) is a Jupyter widget library. It is designed to assist in creating “computational experiments” aimed to teach students how to code and interpret computational experiments. scicode-widgets abstracts away technical details and boilerplate code that are not essential for the learning experience.

Built on top of ipywidgets, the library provides a framework for building interactive educational applications. The logic is purely written in Python, to simplify the development process for scientific teachers and researchers who are more comfortable with Python than with JavaScript.

Getting started

Please continue with our getting started page.

Features

Customizable coding exercises and demos

Customizable coding exercises and demos

Checks for students to verify their solution

Checks for students to verify their solution

Automatic grading using nbgrader

See how you can integrate scwidgets with the nbgrader framework

Supported jupyter environments:

  • jupyterlab

  • notebook < 7

License

scicode-widgets are released under the open BSD 3-Clause License. See the LICENSE.txt file for more details.

Citing

If you use scicode-widgets, we are grateful if you could cite:

Alexander Goscinski, Taylor James Baird, Dou Du, João Prado, Divya Suman, Tulga-Erdene Sodjargal, Sara Bonella, Giovanni Pizzi, Michele Ceriotti, scicode-widgets: Bringing Computational Experiments to the Classroom with Jupyter Widgets, arXiv:2507.05734 (2025).

Acknowledgements

We acknowledge support from the NCCR MARVEL, funded by the Swiss National Science Foundation, and from the EPFL Open Science Fund via the OSSCAR project.

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

scwidgets-0.2.2.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scwidgets-0.2.2-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

Details for the file scwidgets-0.2.2.tar.gz.

File metadata

  • Download URL: scwidgets-0.2.2.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for scwidgets-0.2.2.tar.gz
Algorithm Hash digest
SHA256 87970f109fa6592bccd0b8df48378bfabfbd1170d09ea1f0ff45aa4728622f6f
MD5 c3dbab97099d508066697a8784a27b40
BLAKE2b-256 47e2cb65ce1594132cf2aac5ddaff575b47c0c1f081b36817c868922a31f6b24

See more details on using hashes here.

File details

Details for the file scwidgets-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: scwidgets-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for scwidgets-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28243275d414732cbb9b1a91d8abda31585ce9bd42135ed8965a7682dc9785b5
MD5 892f2beb5ae9b1a8e4b4715cc3046761
BLAKE2b-256 005a730c0bbe5f4425ddf859f5fb430ff48aae1c303c299b7cbe38d32a001e65

See more details on using hashes here.

Supported by

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