Skip to main content

DataCook

DataCook is a desktop tool for exploring and transforming tables. Every operation you apply is recorded as a step in a tree, so an analysis can be branched, replayed, saved as a project or exported as a Python script (and the script can be edited and read back).

Status: being rebuilt (phase 3 of the plan done: the new app). The new Qt app runs on a Qt-free engine (datacook.engine): a tree of typed operation records, frames computed on demand under a memory budget (pandas 3 with pyarrow dtypes), code generated from the records and parsed back. The op catalogue is a starter set (24 ops, basic readers and writers); porting the rest of the old catalogue in legacy/ is next.

Installation

Option 1: Standalone executable (no Python required)

Download the binary for your platform from the latest GitHub Release:

Platform File
Windows (x86_64) datacook-windows-x86_64.exe
macOS (Apple Silicon) datacook-macos-arm64
Linux (x86_64) datacook-linux-x86_64

On first launch, the executable automatically sets up an isolated Python 3.14 environment with all dependencies (including Excel support) using uv. Built-in management commands:

datacook self update   # update to the latest PyPI release
datacook self remove   # remove the managed runtime environment

(macOS / Linux: make the downloaded file executable with chmod +x datacook-*. Because binaries are not yet code-signed, Windows SmartScreen or macOS Gatekeeper may ask for confirmation on first run.)

Option 2: With uv or pip (Python ≥ 3.14)

# Install as an isolated desktop tool (recommended)
uv tool install "datacook-app[excel]"
datacook

# Or run directly without installing
uvx --from "datacook-app[excel]" datacook

# Or with pip
pip install "datacook-app[excel]"
datacook

The app

datacook                              # start with an empty project
datacook project.datacook             # open a project
datacook data.csv                     # open a data file (reader dialog)
uv run python tools/demo_data.py demo # sample data + a demo project in ./demo

Concept. A project is a tree of steps. A root step reads a file; every other step is one operation (filter, rename, group, merge, ...) applied to its parent(s). Adding a step to a step that already has children creates a branch; a merge takes a second table as its other input. The steps are stored as typed records (operation + parameters), not as data: tables are computed when you look at them and kept in a cache under a memory budget, so a long tree of a large table does not cost a copy per step. The code of every step is generated from its record; the whole tree (or the path to one step) exports as a plain pandas script.

Docks (all follow the selected step; View menu to show / hide them):

Dock What
Steps (left) the tree: name, shape, size; badges for in memory / in use / computing / error. Right-click: rename, comment, branch, delete
Data (center) the table of the selected step, or the preview of the step being edited. Header click = display-only sort (a row order, no copy); "Add as sort step" turns it into a real step
Parameters (right) form of the step being added or edited, with a live preview of the first rows; Apply commits, Cancel / Esc discards
Columns (right, tab) columns of the shown table (type, missing values, size) and statistics of the selected column
Code (bottom) the generated script; the selected step's lines are highlighted
Messages (bottom, tab) errors of failing steps (click: go to the step), loads, exports, log
Status bar memory: frame cache / budget and process RSS; click for the cached steps and "Free memory"

Memory model. Only the selected step and its inputs are pinned (kept in memory while shown); every other computed table stays in the LRU cache until the budget (25 % of RAM by default) needs the room or you free it. Views never copy a table: the data view reads windows of the cached frame, previews hold only their first rows, the column statistics are computed on a worker. Undo / redo recompute what they need.

Keyboard shortcuts.

Keys Action
Ctrl+Shift+P command palette: every operation by name
Ctrl+E edit the selected step (parameters + preview)
Esc cancel the preview
F2 / Del (in the tree) rename / delete the selected step (with its subtree)
Ctrl+Z / Ctrl+Shift+Z undo / redo
Ctrl+N / Ctrl+O / Ctrl+S / Ctrl+Shift+S new / open / save / save as project
Ctrl+Shift+O open a data file

The UI is available in English and German (View > Language, switches at runtime).

Engine example

from datacook.engine import Session
from datacook.engine.ops import missing, rows, sources

with Session() as session:
    data = {"a": [3, None, 1], "b": [4, 5, 6]}
    src = session.add(sources.InlineData.record(data=data), name="raw")
    filled = session.add(missing.FillForward.record(), [src])
    branch = session.add(rows.SortRows.record(by=["a"]), [filled])
    other = session.add(rows.Head.record(n=2), [filled])  # a second branch

    print(session.materialize(branch.id))  # computed on demand, cached
    print(session.code())  # the script for the whole tree
    session.update(filled.id, params=missing.FillForward.Params(limit=1))
    # -> `filled`, `branch` and `other` are invalidated and recomputed on request

session.import_script(text) parses a script back into nodes (statements it does not recognise become "custom code" steps); datacook.engine.project saves and loads the tree as JSON, and datacook.engine.formats.FormatRegistry maps file extensions to readers and writers.

Development

git clone https://github.com/phil65/datacook
cd datacook
uv sync --all-extras    # Python 3.14
uv run pytest
uv run ruff check . && uv run ty check

uv run pytest runs the app tests offscreen (QT_QPA_PLATFORM=offscreen), including a smoke test of the whole window (tests/app/test_smoke.py). See AGENTS.md for the layout and the rebuild status, src/datacook/app/README.md for the app's internals. docs/feature-inventory.md lists every feature of the old app (git tag pre-rework) and where it went in the rework.

Metadata

Release files for datacook-app 2.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datacook-app 2.13.1
File Size Uploaded Provenance Actions
datacook_app-2.13.1.tar.gz 310.6 kB With provenance Details for datacook_app-2.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datacook-app 2.13.1
File Interpreter ABI Platform Actions
datacook_app-2.13.1-py3-none-any.whl Python 3 none any Details for datacook_app-2.13.1-py3-none-any.whl

Total release size: 669.2 kB

Release files / datacook_app-2.13.1.tar.gz

Download URL datacook_app-2.13.1.tar.gz
Size 310.6 kB
Tags Source
SHA-256 checksum
How to use checksums
449ab7655d6823cb24bcb07822fe6ddcd05f260e0904645082d0be9f52fdc10c
BLAKE2b-256 checksum
How to use checksums
db975cdaad620c5d314691a17c69f1e27fc539903c70c18381261bb5b8547899
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 Nov 28, 2026.

Transparency log

Release files / datacook_app-2.13.1-py3-none-any.whl

Download URL datacook_app-2.13.1-py3-none-any.whl
Size 358.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9da42c114f530acbf533c5989d16dec100c79d16ef56b4d03aa89a48fab28380
BLAKE2b-256 checksum
How to use checksums
0c5a94307c4fd5a2f859005726a5041db090080143a1f0b038016eb26b0b7066
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 Nov 28, 2026.

Transparency log

Security for datacook-app 2.13.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datacook_app-2.13.1.tar.gz

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 Nov 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.13.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page