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.6.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.6.0-py3-none-any.whl
(713.4 kB
view details)
File details
Details for the file pivotal_lab-0.6.0.tar.gz.
File metadata
- Download URL: pivotal_lab-0.6.0.tar.gz
- Upload date:
- Size: 356.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bab71f6c9718e91bc22c62818bad55508adadd01740efbbeae4bbc2ea1aa3e9
|
|
| MD5 |
a82ad1f77a96d1c4e8441258caea05a0
|
|
| BLAKE2b-256 |
8245f62cba9181a70d4d2b9ae40e2155bec764b41c7396df8ad5d6018bebe015
|
File details
Details for the file pivotal_lab-0.6.0-py3-none-any.whl.
File metadata
- Download URL: pivotal_lab-0.6.0-py3-none-any.whl
- Upload date:
- Size: 713.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
403a7b2f10897f089740c6ccb62d35ec9c07af5c6581183d8ae085dc564dcffa
|
|
| MD5 |
912173e1ab49c6bfced941b7d2ba6eb5
|
|
| BLAKE2b-256 |
d3a992064c3607b2dfb4a7a621df56f72df58b7bdceecab75aa36abb32c308ab
|