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
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scwidgets-0.2.1.tar.gz.
File metadata
- Download URL: scwidgets-0.2.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04431d502aad5bd208eeefe6211d2eacf1d4815a166dad5c88ada96073943033
|
|
| MD5 |
a56642624edc976d5d7747b30ed4ae27
|
|
| BLAKE2b-256 |
f9d3b903383a816a5e4cc6c10975756d1d86197e06b92ab26abf8b2e3d8e813c
|
File details
Details for the file scwidgets-0.2.1-py3-none-any.whl.
File metadata
- Download URL: scwidgets-0.2.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90705e407ec2ee5a9d602432be69e604245bd99b79c355cf4d3031e3dce73404
|
|
| MD5 |
02e8f66620009b80593d45700c43c538
|
|
| BLAKE2b-256 |
cccb0fd69369727b29ae27458d4d146d79b9972faeec16cdbd0a6459c91e238e
|