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 commit
and 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
File details
Details for the file widget_code_input-4.0.13.tar.gz
.
File metadata
- Download URL: widget_code_input-4.0.13.tar.gz
- Upload date:
- Size: 160.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e78a522de81369d894990a092d5d7b0f49f6d2ca89f40fc2ad9c94ad0f3f7c |
|
MD5 | cdec1582a196f9650daba695ab1171e7 |
|
BLAKE2b-256 | c5eb50dd9473d401fb8a704a2fe21fda11a59de72f00cef74d8954f053713282 |
File details
Details for the file widget_code_input-4.0.13-py3-none-any.whl
.
File metadata
- Download URL: widget_code_input-4.0.13-py3-none-any.whl
- Upload date:
- Size: 162.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5532a10c9556e20cc043ee27cc61a897133122cac8d5e9a13997cca2b766f88d |
|
MD5 | 5ef33039f607ad92ea9992e75177b8ef |
|
BLAKE2b-256 | 0aca60f7f1aa6d7b37ba6abdaf66624ee672d6d0c5585358632c5528a0d5e892 |