Skip to main content

scicode-widgets

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.

Reporting issues

If you encounter any issues with the code, please report them by opening a GitHub issue.

Requests for support

For support requests, please contact any of the people listed below:

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.

Metadata

Release files for scwidgets 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scwidgets 0.2.3
File Size Uploaded Provenance Actions
scwidgets-0.2.3.tar.gz 51.4 kB Without provenance Details for scwidgets-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scwidgets 0.2.3
File Interpreter ABI Platform Actions
scwidgets-0.2.3-py3-none-any.whl Python 3 none any Details for scwidgets-0.2.3-py3-none-any.whl

Total release size: 97.1 kB

Release files / scwidgets-0.2.3.tar.gz

Download URL scwidgets-0.2.3.tar.gz
Size 51.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b81ee9cc8f413874d3ea1c79d006dcece0bfc2bb4ebb91482ceff0525a5bc617
BLAKE2b-256 checksum
How to use checksums
0b59d0985f7e49fb37a21419329244d0d6c8c8760c59b16e6737cea33c938e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / scwidgets-0.2.3-py3-none-any.whl

Download URL scwidgets-0.2.3-py3-none-any.whl
Size 45.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf497eaf3f471e478758f8029d70fa9dbd6789120393a94730fb8b357c4dd931
BLAKE2b-256 checksum
How to use checksums
f5baf9d6eef9f1f02e80dd374640555178df330bc4adb2c5f6c7a14d0def8ad8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for scwidgets 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page