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.
Neste exemplo seguimos a mesma sequência em PySpark e em Spark SQL: gravamos um CSV na landing, lemos do s3a, criamos uma tabela gerenciada e uma externa no schema bronze, atualizamos a gerenciada com MERGE INTO e copiamos o resultado para a externa. Todas as células podem ser reexecutadas.
codemarkdown
markdown
1. Sessão
O kernel já configura extensões, catálogos e acesso ao s3a; só precisamos obter a sessão.
codemarkdown
python
from pyspark.sql importSparkSession
spark = SparkSession.builder.getOrCreate()
External table: the catalog only points to the files. DROP TABLE removes the registration; files stay at s3a://notislake/bronze/delta_employees.
OverviewColumnsHistoryProperties
Full name
spark_catalog.bronze.delta_employees
Type
EXTERNAL
Format
Delta
Location
s3a://notislake/bronze/delta_employees
Comment
—
Partitions
None
Columns
4
Registered at
Nov 26, 2026, 8:02 PM
Updated at
Nov 26, 2026, 8:02 PM
Current version
version 0
Remove from catalog
Notebooks
duckdb
glue
spark
delta.ipynb
hudi.ipynb
iceberg.ipynb
Shift+EnterRun the cell and advance⌘EnterRun the cell and stay⌘SSave the notebookEscLeave editing (command mode)⌘.Toggle focus modeRAM 25.5/48 GB · CPU 0.5/12 · Disk 401/494 GB
$ 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
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.
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
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).
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.
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.
CREATE TABLE <schema>.<table> …
withoutLOCATION
notisbook-managedMANAGED
s3a://notisbook-managed/<schema>/<table>
reserved · hidden · protected
DROP TABLEregistration removed; the folder goes to a durable queue and the kernel deletes the files
withLOCATION '…'
notislake / another bucketEXTERNAL
s3a://notislake/<folder>/…
any bucket of the local MinIO except the reserved one
DROP TABLEregistration removed; the files stay where they are
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.
External table: the catalog only points to the files. DROP TABLE removes the registration; files stay at s3a://notislake/bronze/delta_employees.
OverviewColumnsHistoryProperties
Full name
spark_catalog.bronze.delta_employees
Type
EXTERNAL
Format
Delta
Location
s3a://notislake/bronze/delta_employees
Comment
—
Partitions
None
Columns
4
Registered at
Nov 26, 2026, 8:02 PM
Updated at
Nov 26, 2026, 8:02 PM
Current version
version 0
Remove from catalog
The Python cell uses the DataFrameWriterV2: writeTo names the table in the iceberg catalog, using("iceberg") picks the format, tableProperty("location") sets its folder and createOrReplace creates it, or replaces it on a rerun. The spark sql cell reads it back. Table info reads the Iceberg metadata and adds the snapshot, rows, size and data files.
External table: the catalog only points to the files. DROP TABLE removes the registration; files stay at s3a://notislake/bronze/iceberg_employees.
OverviewColumnsHistoryProperties
Full name
iceberg.bronze.iceberg_employees
Type
EXTERNAL
Format
Iceberg
Location
s3a://notislake/bronze/iceberg_employees
Comment
—
Partitions
None
Columns
4
Registered at
—
Updated at
Nov 26, 2026, 8:11 PM
Current version
snapshot 4281937462018837510
Rows
8
Size
1.7 KB
Data files
1
Remove from catalog
The Python cell writes the DataFrame df as a Copy-on-Write Hudi table: id is the record key, ts picks the newest row for each key, and saveAsTable registers it as spark_catalog.bronze.hudi_employees. The spark sql cell reads it back. Table info shows the latest Hudi instant, and the _hoodie_* control columns count among the columns.
External table: the catalog only points to the files. DROP TABLE removes the registration; files stay at s3a://notislake/bronze/hudi_employees.
OverviewColumnsHistoryProperties
Full name
spark_catalog.bronze.hudi_employees
Type
EXTERNAL
Format
Hudi
Location
s3a://notislake/bronze/hudi_employees
Comment
—
Partitions
None
Columns
9
Registered at
Nov 26, 2026, 8:20 PM
Updated at
Nov 26, 2026, 8:20 PM
Current version
instant 20261126202014582
Remove from catalog
On the AWS Glue 6.0 kernel, the Python cell creates the GlueContext, turns a one-row DataFrame into a DynamicFrame with fromDF and appends it to silver.te_parquet with write_dynamic_frame.from_catalog, which takes the folder and format from the catalog. The spark sql cell reads it back as silver.te_parquet, the plain name the Glue runtime uses for Parquet tables; the Catalog lists it as glue.silver.te_parquet. Table info adds the Glue storage: table type, classification, input and output formats and SerDe.
Notebook
pythonwrite_dynamic_frame✓
from awsglue.context importGlueContextfrom awsglue.dynamicframe importDynamicFramefrom pyspark.context importSparkContext
glueContext = GlueContext(SparkContext.getOrCreate())
spark = glueContext.spark_session
schema = "id INT, nome STRING, area STRING, valor DOUBLE, dt STRING"
nova = spark.createDataFrame([(7, "Gabi", "Dados", 700.0, "2026-01-07")], schema)
nova_dyf = DynamicFrame.fromDF(nova, glueContext, "nova")
glueContext.write_dynamic_frame.from_catalog(
frame=nova_dyf,
database="silver",
table_name="te_parquet",
)
spark sqlQuery✓
select * from silver.te_parquet
Table info
te_parquetglue.silver.te_parquet
EXTERNALParquet
External table: the catalog only points to the files. DROP TABLE removes the registration; files stay at s3://notislake/silver/te_parquet.
On the DuckDB 2.0.1 kernel, the notislake catalog is attached through the app's Iceberg REST catalog with a per-session token. The Python cell runs in the same kernel and shows the DuckDB version; the DuckDB cell creates notislake.bronze.duckdb_employees, empties it and loads eight rows, and the table appears in the Catalog as iceberg.bronze.duckdb_employees.
Notebook
pythonDuckDB version✓
import duckdb
duckdb.__version__
duckdbManaged Iceberg table✓
CREATE TABLE IF NOT EXISTS notislake.bronze.duckdb_employees (id BIGINT, nome VARCHAR, area VARCHAR);
DELETE FROM notislake.bronze.duckdb_employees;
INSERT INTO notislake.bronze.duckdb_employees
SELECT id::BIGINTAS id, nome, area
FROM (VALUES
(1, 'Romerito', 'Platform Engineering'),
(2, 'Theodoro', 'Data Engineering'),
(3, 'Miguel', 'AI Engineering'),
(4, 'Nina', 'Coffee Engineering'),
(5, 'Niko', 'Security Engineering'),
(6, 'Leonor', 'Governance'),
(7, 'Ana', 'Data Engineering'),
(8, 'Bruno', 'Platform Engineering')
) AS t(id, nome, area)
Table info
duckdb_employeesiceberg.bronze.duckdb_employees
MANAGEDIceberg
Managed table: the catalog owns the data. DROP TABLE removes the registration and queues the files at s3a://notisbook-managed/bronze/duckdb_employees for deletion.
OverviewColumnsHistoryProperties
Full name
iceberg.bronze.duckdb_employees
Type
MANAGED
Format
Iceberg
Location
s3a://notisbook-managed/bronze/duckdb_employees
Comment
—
Partitions
None
Columns
3
Registered at
—
Updated at
Nov 26, 2026, 8:41 PM
Current version
snapshot 6127730458112930571
Rows
8
Size
1.6 KB
Data files
1
Remove from catalog
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
spark
spark.sql.catalog.spark_catalog
session catalogprofile: local
Status
ok
Kind
session catalog
Implementation
org.apache.spark.sql.delta.catalog.DeltaCatalog
Type
delta
Warehouse
file:/Users/operator/.notisbook/spark-warehouse
URI
—
FileIO
—
Namespaces
4
Tables
2
Views
0
Formats
Delta 1, Hudi 1
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.
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.
Local AWS Glue Data Catalog served by the app. Glue runtimes reach it through the AWS Glue API endpoint; schemas and tables are created from notebooks, not from this panel.
Key
Value
glue.endpoint_path
/glue
glue.buckets
s3://notislake, s3://notisbook-managed
Tables and views in this node.
Namespace
Tables
Views
bronze
0
0
default
0
0
gold
0
0
silver
13
0
Catalog panel
Catalog
spark
bronze
delta_employees
hudi_employees
default
gold
silver
iceberg
bronze
duckdb_employees
iceberg_employees
glue
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.
Notislake
s3://notislake
landing
duckdb_employees.parquet1.6 KB
teste_glue
pessoas
part-00000-3f9c2a7e-61d4-4b8a-9e05-c2d7a1b84f63-c000.csv216 B
part-00000-b62e0d19-7a3c-4f58-8d21-5e9f04c6a7b3-c000.snappy.orc742 B
silver
gold
What it shows
Buckets as trees. Each bucket is a root s3://<bucket>; notislake starts with landing, bronze, silver and gold, and each folder is listed when you expand it. The reserved notisbook-managed bucket stays hidden.
landing is the free zone. It stays dimmed because it sits outside the catalog: drop raw files there and read them by path, as the DuckDB sample does with its Parquet copy.
Icons by format. Parquet, Avro, ORC, CSV, JSON and text files get their own icons and sizes; only _delta_log and *.delta folders show the Delta mark.
Keyboard and context menu. Arrow keys walk the tree. The context menu copies the s3:// path, refreshes a node and, on the local MinIO, deletes a bucket, folder or file after counting what will be removed. The header has refresh and Create bucket; a right-click on it opens the MinIO UI, a copy of the credentials and Settings.
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.
⇧↵⌘↵Esc
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 line
Delta Lake
Iceberg runtime
Hudi bundle
Hadoop / S3A
3.5.0 – 3.5.2
3.2.0 (Scala 2.12)
1.10.1
1.2.1
3.3.4
3.5
3.3.3 (Scala 2.12)
1.10.1
1.2.1
3.3.4
4.1
4.1.0 (Scala 2.13)
1.12.0
1.2.1
3.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.
Capability
Notisbook
Jupyter + engines installed by hand
Managed cloud notebooks
Delta, Iceberg and Hudi jars
Pinned per Spark line, sha256-verified
You resolve versions and downloads
Depends on the provider
Persistent table catalog
SQLite, visible without any kernel
You configure a metastore
Provided by the platform
S3-compatible storage
Local MinIO: landing plus bronze / silver / gold
You install and configure it
Cloud storage, billed
AWS Glue 6.0 runtime
Local Docker kernel with a local AWS Glue catalog
Manual container setup
Remote jobs
DuckDB runtime
Own kernel, extensions pinned by sha256, same catalog
You install DuckDB and its extensions
Depends on the provider
JDK per Spark version
Selected and written to the kernelspec
Managed by you
Managed by the platform
Where your data lives
Your Mac, on 127.0.0.1
Your machine
The 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.
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.
Option
Effect
--port N
HTTP port on 127.0.0.1 (default 8765)
--root DIR
Pins the notebooks folder for this run
--no-browser
Does not open the browser
--version
Prints the installed version
--stop-running
Stops the instance registered in the data folder, whatever its version, and exits
--check-notislake
Installs the bundled MinIO into a temporary folder, checks it and exits