jupyter_tables
Visual Markdown table editor with LaTeX quick-insert helpers, live MathJax preview, and automatic RTL/LTR support for JupyterLab 4 and Jupyter Notebook 7.
Edits are saved directly as standard Markdown pipe tables inside the .ipynb file — no extra data files and no extension required for readers/graders opening the notebook later.
Features
- Visual Grid Editor: Edit existing Markdown tables or create new ones without fighting
|column alignment or bidirectional text cursor jumps. - Seamless RTL & Math Support: Automatically detects Hebrew/Arabic text and switches input direction per cell (
dir="rtl"for RTL text,dir="ltr"for$...$math and numbers), with a toolbar toggle (Direction: LTR/Direction: RTL). - LaTeX Quick-Insert Bar: One-click insertion of
±,Val ± Err($\pm{}$),\times 10^{}, fractions, roots, superscripts/subscripts, Greek symbols, and an inline$...$toggle. - Live MathJax Preview: See rendered Markdown and typeset equations in real time as you type.
- Spreadsheet Paste & Keyboard Navigation: Paste multi-cell selections directly from Excel, Google Sheets, or TSV tables; move across cells with
Tab,Shift+Tab,Enter, and arrow keys. - Standard
.ipynbOutput: Writes clean, properly escaped Markdown back into the cell (automatically escaping|inside math such as$|F|$so cells never split unexpectedly).
Requirements
- Python
>= 3.9 - JupyterLab
>= 4.0or Jupyter Notebook>= 7.0
Installation
Install from PyPI (recommended)
pip install jupyter-tables
(Installing as pip install jupyter_tables also works identically; no Node.js required.)
Alternative: Install from a local wheel or from source
From a local .whl file:
pip install path/to/jupyter_tables-0.2.0-py3-none-any.whl
From source (requires Node.js >= 20 and Python >= 3.9):
git clone https://github.com/yarden-has/jupyter_tables.git
cd jupyter_tables
npm install
npm run build
pip install .
Verify & Uninstall
Confirm JupyterLab / Notebook sees the enabled extension:
jupyter labextension list
Expected output includes:
jupyter_tables v0.2.0 enabled ok (python, jupyter_tables)
To uninstall:
pip uninstall jupyter_tables
Usage & Demonstrations
1. Opening or Inserting a Table
You can launch the editor from any notebook in three ways:
- Click the
Tablebutton in the notebook toolbar. - Click
Edit Tabledirectly above any rendered Markdown table. - Press
Alt+Shift+Twhile inside a notebook.
If the active cell already contains a Markdown table (or is an empty Markdown cell), saving updates that cell in place. Otherwise, saving inserts a new Markdown cell right below the active cell.
2. Editing Cells, LaTeX Quick-Inserts, and Live Preview
Use the LaTeX bar to insert snippets at the cursor position of the focused cell. If the cursor is outside math delimiters, snippets are wrapped in $...$ automatically (for example, clicking Val ± Err inserts $\pm{}$).
Available quick-insert buttons:
| Button | Inserts | Notes |
|---|---|---|
± |
\pm |
Plus-minus symbol |
Val ± Err |
\pm{} |
Wraps as $\pm{}$ outside math; places cursor before \pm in an empty cell or inside {} after a value |
×10ⁿ |
\times 10^{} |
Scientific notation |
a/b |
\frac{}{} |
Fraction |
√ |
\sqrt{} |
Square root |
xⁿ / xₙ |
^{} / _{} |
Superscript / subscript |
δ, Δ, μ, σ, ρ, π, °, ⟨x⟩ |
Corresponding LaTeX command | Auto-wrapped in $...$ if outside math |
$...$ |
Toggles $...$ |
Wraps/unwraps the whole cell or current selection |
3. Working with RTL Languages (Hebrew / Arabic) + Math
When a table contains RTL characters (or <div dir="rtl">), the editor automatically enables Direction: RTL. Each grid cell picks its editing direction smartly (dir="rtl" for Hebrew/Arabic text, dir="ltr" for $...$ math and numbers) so mixed-direction typing stays predictable, and toggling Direction: RTL / Direction: LTR wraps or unwraps <div dir="rtl"> when saving.
4. Keyboard Shortcuts & Spreadsheet Paste
| Action | Shortcut / Gesture |
|---|---|
| Open table editor | Alt+Shift+T |
| Next / previous cell | Tab / Shift+Tab |
| Move down (or add a new row at the bottom) | Enter |
| Move up / down | ArrowUp / ArrowDown |
| Paste multi-cell range from Excel, Google Sheets, or TSV | Ctrl+V / Cmd+V (automatically expands rows and columns) |
Development & Testing
# Install JS dependencies and run TypeScript + unit tests
npm install
npx tsc
npm test
# Build the federated JupyterLab extension into jupyter_tables/labextension/
npm run build
# Build the redistributable Python wheel into dist/
uv build --wheel
# (or: python -m pip wheel --no-deps --no-build-isolation . -w dist)
License
BSD-3-Clause
Metadata
Release files for jupyter-tables 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyter_tables-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for jupyter_tables-0.2.0-py3-none-any.whl |
Release files / jupyter_tables-0.2.0-py3-none-any.whl
| Download URL | jupyter_tables-0.2.0-py3-none-any.whl |
|---|---|
| Size | 43.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91ec3990a73324c58bea8a917c37077b7871b2e6214e5f00de35ab66964dcdde
|
|
BLAKE2b-256 checksum How to use checksums |
5b43b7b3dfbd519b442cb1ce4e89c12b5c85e4db5e9fd2a16dd033b95e32742a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logSecurity for jupyter-tables 0.2.0
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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for jupyter_tables-0.2.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.