JupyterLab extension for the Pivotal data transformation DSL
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file pivotal_lab-0.5.0.tar.gz.
File metadata
- Download URL: pivotal_lab-0.5.0.tar.gz
- Upload date:
- Size: 356.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83489159e83cdff3281c2eee03b69069300679fa2bbd240361ee5ec23d6cc938
|
|
| MD5 |
880f15b74e087d8b82a576259b338d01
|
|
| BLAKE2b-256 |
5234d9f0f04b74b2fed86a13434d59a04768086591d27a2e4f3b6bbac9cb1e7d
|
File details
Details for the file pivotal_lab-0.5.0-py3-none-any.whl.
File metadata
- Download URL: pivotal_lab-0.5.0-py3-none-any.whl
- Upload date:
- Size: 712.9 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 |
a8bfbd591fa1f6c449c98e13d79e1d2c57261185a92c8a79a80a53bb06214090
|
|
| MD5 |
83bcffd4c46cddf3b5d58cd9cd0d8429
|
|
| BLAKE2b-256 |
45c92e02c0b678dd05074f3b4e0d644eb878ce0cce7d60260573f17e9e16e1f3
|