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.14.tar.gz
.
File metadata
- Download URL: widget_code_input-4.0.14.tar.gz
- Upload date:
- Size: 160.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ec9c55d5131a3fb0df8f41ce5bbc8a4eb4d9ff575488b486ee6605e24df7c9 |
|
MD5 | 3ed4a9eb9ce355dbf098e913309c64a8 |
|
BLAKE2b-256 | 12446f0ac1e25ad95b2754f9898255d2b486d0397947307768985f33f2943ba7 |
File details
Details for the file widget_code_input-4.0.14-py3-none-any.whl
.
File metadata
- Download URL: widget_code_input-4.0.14-py3-none-any.whl
- Upload date:
- Size: 162.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4853415f7fcb651b272f5d9a981d33fb0bbbf3832246a3620c30ecf1340ea2c |
|
MD5 | 27e8afc0953e348283c861289f232265 |
|
BLAKE2b-256 | 5ce398d6546b395f843c653d0fa84bccbe96c73aebade6aa95208619ddc986b8 |