curvenote
The Curvenote helper library for working in Jupyter Notebooks with Python kernels
## Installation
~$ python -m pip install curvenote
Summary
-
stashsave a dict or pandas dataframe in a cell output without diaplying the datafrom curvenote import stash stash('myvars', myvars)
-
AppStatea traitlet based class to help manage state in ipywidgets ui'sfrom curvenote import AppState, with_state state = AppState() # register a widget in state wave_1_amp = FloatSlider(1.0, min=0.1, max=5.0, step=0.1, description="1 - Amp") state.register_stateful_widget(wave_1_amp, "wave_1_amp", Float(1.0)) # register any trailet as a propery state.register_stateful_property("my_dict", Dict(dict(A="hello", B="world", C=1))) # observe the entire state def my_update_fn(state): some_calc_function(state.wave_1_amp, state.my_dict) state.observe(with_state(my_update_fn)) # observe a single registered widget def wave_1_observer(evt): pass state.register_widget_observer("wave_1_amp", wave_1_observer) # observe a single trait def trait_observer(evt): pass state.register_widget_observer("my_dict", trait_observer) # display state changes for debugging from IPython.display import display display(state.outlet)
Metadata
Release files for curvenote 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| curvenote-0.7.2.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| curvenote-0.7.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / curvenote-0.7.2.tar.gz
| Download URL | curvenote-0.7.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
330a4235267f110fbc60b1e1db5a58c7adb5637b6b56b8aba424b471006d1f2a
|
|
BLAKE2b-256 checksum How to use checksums |
71f09cee6deca808eb3f38bda6d5d8c4e6c9bfc0eca8aabf0440ff8cc63a8b33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / curvenote-0.7.2-py3-none-any.whl
| Download URL | curvenote-0.7.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9d5d8a51d5afc90a15d77ae7ca9a4185c261f7a92d35271f0e6a177fe4eaac1
|
|
BLAKE2b-256 checksum How to use checksums |
e0b5b643003717a9c4fa9ba3536a513e27d8005626cbb6213559a14d534854f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for curvenote 0.7.2
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.