jupyter-alloy-notebooks-retro
⚠️ This is a purpose-built backport. You almost certainly want the main package instead.
It exists to run Alloy Notebooks inside a legacy classic Jupyter Notebook 6.x environment (a
notebook 6.5.x+RISE 5.7presentation setup). Classic Notebook 6 cannot load JupyterLab extensions, so this is a from-scratch nbextension port, maintained on a best-effort basis.If you are using JupyterLab 4 (or modern Jupyter in general), do not install this. Use the real extension instead:
pip install alloy-notebooks(source: Columbia-Data-Labs/alloy-notebooks)
What it does
- SQL, DuckDB and R cells — pick a language from the unified cell dropdown. The cell's source is never rewritten; only what is sent to the kernel is.
- Result tables and charts — Table/Chart toggle, an opt-in chart per column computed over the full result, click-to-rename chart titles, and Configure Chart (bar, line, scatter, pie, histogram, area).
- Connection manager — a slide-over panel (toolbar database button or the Alloy menu) to save, edit and connect to SQL Server, PostgreSQL, MySQL, SQLite and DuckDB. Live connections are restored after a kernel restart.
- Query indicator, per-cell highlighting and language icons.
- Everything else from the kernel side —
alloy_connect,%%alloy_sql,%alloy_to_rand the other magics come from thealloy-notebooksdependency.
Notebooks round-trip with the JupyterLab extension: both use the same cell
metadata (alloy:language, alloy:resultView, alloy:chartConfig,
alloy:chartShown, alloy:chartTitles), the same result MIME type, and the same
saved connections in ~/.alloy/connections.json.
During a RISE slideshow the connection panel and language icons are hidden.
Install
conda activate rise6
pip install jupyter-alloy-notebooks-retro
Then restart jupyter notebook. The nbextension and server extension enable
themselves at install time. Installed alongside it, alloy-notebooks also brings
jupysql, plotly and their dependencies.
DuckDB and R cells need their engines, as they do in the main package:
pip install duckdb # DuckDB cells
pip install rpy2 # R cells (R itself must also be installed)
To uninstall:
pip uninstall jupyter-alloy-notebooks-retro
Requirements
notebook >= 6, < 7(Notebook 7 is Lab-based and is served by the main package)- Python 3.10+
- A current browser (Chrome/Edge)
Differences from the JupyterLab extension
- The language-icon preference is stored in the browser's
localStorage, because classic Notebook has no Settings Registry. - The core cell-type dropdown is hidden in favour of the unified one, as in Lab. With several cells selected, the dropdown applies to all of them.
License
BSD-3-Clause, same as the parent project.
Metadata
Release files for jupyter-alloy-notebooks-retro 0.1.0
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 | Actions |
|---|---|---|---|---|
| jupyter_alloy_notebooks_retro-0.1.0.tar.gz | 31.3 kB | Without provenance | Details for jupyter_alloy_notebooks_retro-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyter_alloy_notebooks_retro-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for jupyter_alloy_notebooks_retro-0.1.0-py3-none-any.whl |
Total release size: 91.2 kB
Release files / jupyter_alloy_notebooks_retro-0.1.0.tar.gz
| Download URL | jupyter_alloy_notebooks_retro-0.1.0.tar.gz |
|---|---|
| Size | 31.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3017bf122dc8a76e85248c660974afcc90a0638a1ebfa9624adec252d061e98
|
|
BLAKE2b-256 checksum How to use checksums |
79f96952e0d4c05dbb0953079cd7c58c4f8b498386fe5cbb07fb441cdac252ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / jupyter_alloy_notebooks_retro-0.1.0-py3-none-any.whl
| Download URL | jupyter_alloy_notebooks_retro-0.1.0-py3-none-any.whl |
|---|---|
| Size | 59.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6447f9344f7a356db5612379587a27ba5a136e79f6d4ed7cee47bdbf1644ff22
|
|
BLAKE2b-256 checksum How to use checksums |
c6b078dc08065ab3c63ffba656794c2071c7aa939d87aab10fd93d4ed8d3fb33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Security for jupyter-alloy-notebooks-retro 0.1.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.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.