v0.15.0 · macOS · Apache 2.0

Build data pipelines locally. Ship them to AWS. Process anything. Locally.

Notisbook is a local notebook for data engineers. Write Spark and DuckDB pipelines on your Mac against the same pieces you run on AWS: S3, the Glue catalog and Glue 6.0, with Delta Lake, Iceberg, Hudi and Parquet tables. Everything runs on 127.0.0.1.

Scroll sideways to see the whole app.

zsh
$ curl -LsSf https://github.com/ROM-mm/Notisbook/releases/latest/download/install.sh | sh
$ notisbook
# opens http://127.0.0.1:8765/?token=<token> in your browser
Apache Spark DuckDB AWS Glue Delta Lake Apache Iceberg Apache Hudi Parquet S3A · MinIO

SECTION 1 · OPERATING PROCEDURE

Three steps from power-on to a cataloged table.

No cluster to provision and no cloud account to configure. No machine room either. Notisbook installs the runtimes, picks the JDK for Spark, starts the storage and registers what your cells create.

  1. 01load

    Load the system with one line

    The installer checks the sha256 of the wheel, the constraints file and the MinIO tarball before installing anything, like an operator verifying the tape. Then it places the notislake on your machine.

    $ curl -LsSf …/install.sh | sh
  2. 02configure

    Mount a runtime

    Each runtime gets its own isolated environment and kernel, like a partition of its own. Spark is versioned per line, with Delta, Iceberg, Hudi and S3A jars verified by sha256 and the JDK selected for you; AWS Glue 6.0 runs in a local Docker container; DuckDB 2.0.1 ships with its extensions pinned by sha256 (httpfs, iceberg, avro, excel, sqlite_scanner, postgres_scanner, spatial).

    › spark 3.5.9 · jdk 17      ✓
    › glue 6.0 · docker        ✓
    › duckdb 2.0.1 · 7 ext   ✓
  3. 03run job

    Submit cells, get cataloged tables

    After each cell the catalog is reconciled, like a batch job closing its log: tables written by Spark, Glue or DuckDB appear in the Catalog panel. Without LOCATION a table is managed, in s3a://notisbook-managed/<schema>/<table>; with LOCATION it is external.

    .saveAsTable("bronze.orders")
    → Catalog › spark › bronze
    CREATE TABLE notislake.bronze.orders AS …
    → Catalog › iceberg › bronze

SECTION 1.1 · STORAGE MAP

Two buckets. LOCATION picks one.

Where a table's files go depends on one thing: whether CREATE TABLE has a LOCATION. Without it, the table is managed and goes to the reserved notisbook-managed bucket; with it, the table is external and stays where you point it, in notislake or another bucket of the local MinIO. Spark, Iceberg and the local AWS Glue catalog follow the same rules; Section 2 shows them at work.

MANAGED

notisbook-managed, the reserved bucket

Created on every boot, even on older installs, and owned by the app: it stays hidden in the Notislake panel, which cannot change anything in it. It holds managed tables in s3a://notisbook-managed/<schema>/<table> and schema folders in s3a://notisbook-managed/<schema>. Any other path inside it is refused, so an external table never lands there.

EXTERNAL

notislake, the working bucket

The bucket you work in, created on the first boot with landing, bronze, silver and gold and browsed in the Notislake panel. External tables live here or in any other bucket of the local MinIO, in the folder given in LOCATION; two tables cannot share or nest folders.

The local AWS Glue catalog, same rules

The Glue runtime writes to a local AWS Glue catalog that the backend serves at /glue, signed with SigV4 per session, over the same buckets. A MANAGED_TABLE must sit at s3://notisbook-managed/<database>/<table>, a database LocationUri is always s3://notisbook-managed/<database>, and any other location is external. Iceberg tables are registered as EXTERNAL_TABLE, but in their own managed folder a DROP deletes their files too.

The rules

  • The location decides the type. MANAGED only in the table's own folder, notisbook-managed/<schema>/<table>; any other location is EXTERNAL. catalog.db recomputes the type of existing tables when it migrates on startup.
  • DROP of a managed table. The registration goes at once and the folder enters a durable queue; the kernel deletes it after the cell, Iceberg tables included, and retries if the delete fails. A folder still used by another table (spark, iceberg or glue) keeps its files.
  • DROP of an external table. Only the registration is removed: the catalog just pointed to the files, and they stay in the LOCATION.
  • Schemas go to the reserved bucket too. CREATE SCHEMA without LOCATION is completed with s3a://notisbook-managed/<schema>, and a schema LOCATION outside it is refused. A new catalog.db seeds default, bronze, silver and gold as ordinary schemas, not layers.
  • Paths copied from AWS. s3:// works as an alias of s3a://, and a table name or location cannot be reused across the Spark, Iceberg and Glue catalogs.

SECTION 2 · PROGRAM LIBRARY

One terminal, every runtime and table format.

Each tab is code first: a Python cell on top, a SQL cell below and, beside them, the Table info panel of the table the code writes. Delta, Iceberg and Hudi write a DataFrame with the PySpark writer API and read it back with select; Glue and DuckDB are shortened from the sample notebooks seeded on the first run (glue/catalog_tables.ipynb, duckdb/duckdb.ipynb). Panel values are illustrative, like a printout.

The Python cell writes the DataFrame df as Delta, in the folder given by option("path"), replaces its content with mode("overwrite") and registers it as spark_catalog.bronze.delta_employees with saveAsTable. The spark sql cell reads it back. Table info shows the Delta version the catalog recorded after the cell.

Notebook

pythonsaveAsTable✓
df.write \
    .format("delta") \
    .option("path", "s3://notislake/bronze/delta_employees") \
    .mode("overwrite") \
    .saveAsTable("spark_catalog.bronze.delta_employees")
spark sqlQuery✓
select * from spark_catalog.bronze.delta_employees

Table info

SECTION 2.1 · INSPECTION PANELS

Read the metadata without starting a kernel.

Click a catalog name in the Catalog panel and Catalog info docks beside the notebook, like the inspection panel of an old console; the Notislake panel shows each bucket as a tree. Both read catalog.db, the Iceberg metadata and the bucket, so nothing waits for a session. Table info is shown with each program in Section 2. The panel labels are the app's own and stay in English; counts and the home folder are illustrative.

Catalog shown

iceberg

spark.sql.catalog.iceberg
named catalogprofile: local
Status
ok
Kind
named catalog
Implementation
org.apache.iceberg.spark.SparkCatalog
Type
jdbc
Warehouse
s3a://notisbook-managed
URI
jdbc:sqlite:/Users/operator/.notisbook/catalog.db?busy_timeout=10000
FileIO
org.apache.iceberg.hadoop.HadoopFileIO
Namespaces
1
Tables
2
Views
0
Formats
Iceberg 2

Config shown is the local Spark runtime profile. In Docker/Glue and DuckDB runtimes, iceberg is reached through the app's REST catalog and the token is applied to the session.

Catalog panel

What it shows

  • Opened from the catalog name. Clicking spark, iceberg or glue in the Catalog panel opens the panel; Esc closes it and the focus goes back to the tree.
  • Overview. Implementation, catalog type, warehouse, JDBC URI and FileIO, with exact namespace, table and view counts read from catalog.db. spark is Delta's session catalog, with a local safety warehouse so a write that escapes the destination rules lands on disk, not in a bucket; iceberg is a JDBC catalog over catalog.db with notisbook-managed as warehouse; glue is the local AWS Glue Data Catalog, also on notisbook-managed.
  • Config. For spark and iceberg, the spark.sql.catalog.* keys of the local Spark profile, the same source as spark-defaults.conf; for glue, the endpoint path /glue and the buckets it accepts. Sensitive values are masked by the backend.
  • Namespaces. Every schema of the node with its tables and views. Hudi tables are listed under the Spark node with their format icon.

SECTION 3 · SYSTEM INVENTORY

Everything the system needs, already wired. No cables.

Persistent catalog

Tables created by notebooks are kept in catalog.db (SQLite), as managed or external, and listed without an open kernel. The Glue runtime gets a local AWS Glue catalog in the same file, and a table name or location cannot be reused across the Spark, Iceberg and Glue catalogs.

Delta, Iceberg and Hudi

A bundle matrix per Spark line (3.5 and 4.1) pins the Delta Lake, Iceberg, Hudi and Hadoop/S3A jars, each verified by sha256.

6.0

AWS Glue runtime in Docker

Optional kernel on the AWS Glue 6.0 image: Spark 4.1, Scala 2.13, Python 3.13, with Delta, Iceberg and Hudi, running in a persistent local container and writing to a local AWS Glue catalog.

2.0.1

DuckDB runtime

Its own environment and kernel, no JVM needed. The httpfs, iceberg, avro, excel, sqlite_scanner, postgres_scanner and spatial extensions are pinned by sha256; Iceberg tables go through the app's REST catalog.

notislake

A local MinIO, started and supervised by Notisbook, serves the notislake bucket over s3a:// (or s3://), organized as landing, bronze, silver and gold. Managed tables go to the reserved notisbook-managed bucket, hidden and protected in the Notislake panel. A manual S3 endpoint can be used instead.

pysqlduckdb

Python, Spark SQL and DuckDB

Edit .ipynb notebooks in the browser. The local Spark kernel runs Python, Spark SQL and DuckDB cells (DuckDB in-process, without the catalog); the Glue kernel runs Python and Spark SQL; the DuckDB kernel runs Python and DuckDB cells on the notislake catalog.

Keyboard-first cells

Shift+Enter runs a cell and moves to the next one; ⌘Enter runs it and stays. A Jupyter-style command mode adds Esc/Enter, J/K to move, A/B to insert, M/Y to convert and D D to delete.

md⌘.

Markdown, titles and focus

Mix markdown cells with code, give any cell an optional title and press ⌘. to switch to focus mode, with the side panels hidden.

recent

Recent notebooks

The home screen lists your 5 most recently opened notebooks, like the last jobs in the queue, so you pick up where you left off.

3.54.1JDK

Versioned Spark environments

Each Spark version is installed in its own environment (Python 3.12 via uv). The JDK is picked per line: 17 for Spark 3.x, 21 or 17 for Spark 4.x. A failed reinstall keeps the previous one.

uv pip

Library management

Install, upgrade and remove Python libraries in a Spark environment from the UI.

.py.ipynb.html

Export

Export notebooks to .py (Databricks notebook source), .ipynb and an HTML report without JavaScript.

127.0.0.1

Local-only by design

Fixed loopback bind, a random token per startup, Host/Origin checks and a strict CSP with sanitized HTML outputs.

TABLE 3.1 · BUNDLE MATRIX

Spark lineDelta LakeIceberg runtimeHudi bundleHadoop / S3A
3.5.0 – 3.5.23.2.0 (Scala 2.12)1.10.11.2.13.3.4
3.53.3.3 (Scala 2.12)1.10.11.2.13.3.4
4.14.1.0 (Scala 2.13)1.12.01.2.13.4.2

Every jar is pinned with its sha256 and verified when downloaded.

SECTION 4 · COMPATIBILITY TABLE

Why not wire it up yourself with pip install?

You can assemble a local data stack by hand: Spark, a Glue catalog, an S3 endpoint and the table formats. Notisbook does the assembly for you and keeps it consistent.

CapabilityNotisbookJupyter + engines installed by handManaged cloud notebooks
Delta, Iceberg and Hudi jarsPinned per Spark line, sha256-verifiedYou resolve versions and downloadsDepends on the provider
Persistent table catalogSQLite, visible without any kernelYou configure a metastoreProvided by the platform
S3-compatible storageLocal MinIO: landing plus bronze / silver / goldYou install and configure itCloud storage, billed
AWS Glue 6.0 runtimeLocal Docker kernel with a local AWS Glue catalogManual container setupRemote jobs
DuckDB runtimeOwn kernel, extensions pinned by sha256, same catalogYou install DuckDB and its extensionsDepends on the provider
JDK per Spark versionSelected and written to the kernelspecManaged by youManaged by the platform
Where your data livesYour Mac, on 127.0.0.1Your machineThe provider's cloud

Qualitative comparison of typical setups; it does not describe any specific vendor.

SECTION 5 · LOADING THE SYSTEM

Boot sequence: one command.

1 · Install or update

zsh
$ curl -LsSf https://github.com/ROM-mm/Notisbook/releases/latest/download/install.sh | sh

Run the same command again to update. Pin a release with sh -s -- --version X.Y.Z or NOTISBOOK_VERSION=X.Y.Z.

2 · Boot

zsh
$ notisbook

Starts the backend on http://127.0.0.1:8765, prints the address with a per-startup token and opens your browser. The first run seeds the Delta, Hudi, Iceberg, Glue and DuckDB samples. To check the bundled notislake without starting a server, run notisbook --check-notislake.

3 · Optional: AWS Glue 6.0 base image

zsh
$ docker pull public.ecr.aws/glue/aws-glue-libs:6.0@sha256:0faef080664f0043c4dda5ad387a3177e01364dc4f65eac15e2fed322b6975ac

The image the Glue runtime is built from (Spark 4.1, Scala 2.13, Python 3.13), pinned by the same digest as the app. It takes more than 10 GB, and building the runtime needs 15 GiB free.

Uninstall

zsh
$ notisbook uninstall

Removes Notisbook and keeps your data in ~/.notisbook.

Requirements

  • macOS on Apple silicon.
  • curl (or wget), awk and shasum.
  • uv 0.8.4 or newer (installed automatically if missing).
  • Only for Spark runtimes: JDK 17 for Spark 3.x; JDK 21 (or 17) for Spark 4.x.
  • For the Glue runtime: Docker (for example via Colima) and about 15 GiB of free disk.
OptionEffect
--port NHTTP port on 127.0.0.1 (default 8765)
--root DIRPins the notebooks folder for this run
--no-browserDoes not open the browser
--versionPrints the installed version
--stop-runningStops the instance registered in the data folder, whatever its version, and exits
--check-notislakeInstalls the bundled MinIO into a temporary folder, checks it and exits