A jupyter widget which allows users to implement small python functions dynamically and interactively.
Project description
widget-code-input
A widget to allow input of a python function, with syntax highlighting.
Installation
You can install using pip:
pip install widget_code_input
Releasing and publishing a new version
In order to make a new release of the library and publish to PYPI, run
bumpver update --major/--minor/--patch
This will
- update version numbers, make a corresponding
git commitand agit tag; - push this commit and tag to Github, which triggers the Github Action that makes a new Github Release and publishes the package to PYPI.
Github workflow testing
If the widget test fails, it indicates there is something wrong with the code, and the widget is NOT
being displayed correctly in the test.
If the widget test passes but the screenshot comparison fails, it indicates the appearance of the widget
is different from the previous version. In this case, you'll need to manually download the artifact from
the widget test and use it to replace the widget-sample.png figure in the test folder.
Acknowledgements
We acknowledge support 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 widget_code_input-4.0.17.tar.gz.
File metadata
- Download URL: widget_code_input-4.0.17.tar.gz
- Upload date:
- Size: 161.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4305eaa20523b3a78be8e1e4f759e0d3d685cae6f410d537f68f0e2031671345
|
|
| MD5 |
07269039c289d500bc7463021b9fbb96
|
|
| BLAKE2b-256 |
07b291fe4aedfd478dfef974dd87de3f6f7549202ba50e9e8d908099eeb57dd7
|
File details
Details for the file widget_code_input-4.0.17-py3-none-any.whl.
File metadata
- Download URL: widget_code_input-4.0.17-py3-none-any.whl
- Upload date:
- Size: 163.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9471c5cc97c4a403eecf7898f7d32eb98ce082fd066800a3f61d51af109d84db
|
|
| MD5 |
d8dd12e5005295ab5727e56e6a3a03d4
|
|
| BLAKE2b-256 |
86f17250840aa19879241eb2d9045f149f247e4b94503ea0da5b7d114b99bc9e
|