pivotal-lab
JupyterLab extension for Pivotal — a data analysis language for Python that compiles to Pandas, Polars, or DuckDB code.
Features
%%pivotalcell 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:
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pivotal_lab-0.7.0-py3-none-any.whl
(713.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84306690ebb30cc0f9992684bad336454ec79aca75f87f78968e5590362b9657
|
|
| MD5 |
a1fc600eec4a1fcca2d4c2c820a10bd9
|
|
| BLAKE2b-256 |
72431c1c47c9aab5656fc5796891caf113c71abed3f05bde339776f7fb3a9f0d
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dff81553e8ca6c59f65943c2221c392794537d1b52263be8deb27cf14c671e2
|
|
| MD5 |
0f81dea4ddcbcdcc2377e3703d0ea317
|
|
| BLAKE2b-256 |
fa1107b00640f7ea2b9e5b3418b4cb5e199b89292b09e3fa4562eb2afd16c921
|