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.
Metadata
Release files for widget-code-input 4.0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| widget_code_input-4.0.19.tar.gz | 161.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| widget_code_input-4.0.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 324.7 kB
Release files / widget_code_input-4.0.19.tar.gz
| Download URL | widget_code_input-4.0.19.tar.gz |
|---|---|
| Size | 161.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e0eab246c20c71be210650a80f87c95c3652979b3fdea3c442c6b4286276fcf
|
|
BLAKE2b-256 checksum How to use checksums |
d7aa60161acf748797fda2380726d21b999e8100a7c9bd82d95eb5247a2e1ed4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / widget_code_input-4.0.19-py3-none-any.whl
| Download URL | widget_code_input-4.0.19-py3-none-any.whl |
|---|---|
| Size | 163.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
022a3a80d2d51b4bf0c1c28cf112def5350d5fd90254e21c2872bc082bb1645a
|
|
BLAKE2b-256 checksum How to use checksums |
278cf5405d3ee440e0ac9b2c424803a77431d9baee396b7b6a8e03418d8442a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|