Cleon Jupyter Extension
JupyterLab extension for manipulating notebook cells from the kernel.
Installation
pip install cleon-jupyter-extension
Then restart JupyterLab.
Usage
from cleon_cell_control import insert_and_run, insert_cell, create_insert_button
# Insert code into a new cell below and execute it
insert_and_run("print('Hello!')")
# Just insert a cell without running
insert_cell("# My new cell", position="below")
# Create a button that inserts and runs code when clicked
create_insert_button("import pandas as pd")
API
insert_and_run(code, cell_type="code")- Insert cell below and executeinsert_cell(code, position="below", cell_type="code")- Insert cellreplace_cell(code)- Replace current cell contentexecute_cell()- Execute current cellcreate_insert_button(code, label)- Create clickable button
Development
cd extension
./install.sh
# Or manually:
npm install
npm run build:prod
pip install -e .
Metadata
Release files for cleon-jupyter-extension 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cleon_jupyter_extension-0.1.15.tar.gz | 113.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cleon_jupyter_extension-0.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 139.0 kB
Release files / cleon_jupyter_extension-0.1.15.tar.gz
| Download URL | cleon_jupyter_extension-0.1.15.tar.gz |
|---|---|
| Size | 113.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60171773f0e9cbbfebf31088182d325dce49ff6a317f8ee008a0eacd46358db7
|
|
BLAKE2b-256 checksum How to use checksums |
95f018e2f33d2e6e49e9e34951bd1f114e5baf4679936b2cacccac94c3507cdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / cleon_jupyter_extension-0.1.15-py3-none-any.whl
| Download URL | cleon_jupyter_extension-0.1.15-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f3f41b14dfbfc030e67f50945560307879cd3975fd46f724fd5ad79e6f648cb
|
|
BLAKE2b-256 checksum How to use checksums |
344c81b0eb9ee5014c78eead603577c4a28ff309f030d93dca84580dbd1dc287
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|