Skip to main content

pivotal-lab

JupyterLab extension for Pivotal — a data analysis language for Python that compiles to Pandas, Polars, or DuckDB code.

Features

  • %%pivotal cell magic to write and execute Pivotal DSL in JupyterLab notebooks
  • Syntax highlighting for Pivotal DSL cells
  • Autocomplete for keywords, table names, and column names
  • Interactive data viewer and object explorer for DataFrames, charts, and tables
  • GUI controls for filtering and exploring data without writing code

Requirements

  • JupyterLab 4.x
  • pivotal-lang (the Pivotal compiler and runtime)

Installation

pip install pivotal-lang
pip install pivotal-lab

Quick start

In a JupyterLab notebook, use the %%pivotal cell magic:

%%pivotal
load "data/sales.csv" as sales

with sales
    filter amount > 100
    group by region
        agg sum amount as total

Change the execution backend for the session:

%pivotal_set backend=duckdb

Documentation

Full documentation including syntax reference, backend guide, and examples:

nealbob.github.io/pivotal-py

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pivotal_lab-0.7.0.tar.gz (356.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pivotal_lab-0.7.0-py3-none-any.whl (713.6 kB view details)

Uploaded Python 3

File details

Details for the file pivotal_lab-0.7.0.tar.gz.

File metadata

  • Download URL: pivotal_lab-0.7.0.tar.gz
  • Upload date:
  • Size: 356.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pivotal_lab-0.7.0.tar.gz
Algorithm Hash digest
SHA256 84306690ebb30cc0f9992684bad336454ec79aca75f87f78968e5590362b9657
MD5 a1fc600eec4a1fcca2d4c2c820a10bd9
BLAKE2b-256 72431c1c47c9aab5656fc5796891caf113c71abed3f05bde339776f7fb3a9f0d

See more details on using hashes here.

File details

Details for the file pivotal_lab-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: pivotal_lab-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 713.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pivotal_lab-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dff81553e8ca6c59f65943c2221c392794537d1b52263be8deb27cf14c671e2
MD5 0f81dea4ddcbcdcc2377e3703d0ea317
BLAKE2b-256 fa1107b00640f7ea2b9e5b3418b4cb5e199b89292b09e3fa4562eb2afd16c921

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 files

0.6.0

2 files

0.5.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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