A pipeline-oriented data transformation DSL for Python and Jupyter
Project description
Pivotal
Pivotal is a data analysis language for Python. It offers a concise syntax for common data operations which compiles to equivalent Pandas, Polars or DuckDB code. Pivotal's JupyterLab extension adds autocomplete, interactive viewer and GUI controls, making it a user friendly entry point to the Python data ecosystem.
A live-demo of Pivotal in Jupyter Lab is available via Binder:
Features
Readable, Writable syntax — write data transformations in a simple declarative syntax
Multiple backends — compile to Pandas (default), Polars or in-process DuckDB (SQL)
JupyterLab integration — %%pivotal cell magic, live object viewer, syntax highlighting, autocomplete, GUI controls, export to Python code
VS Code integration — syntax highlighting, autocomplete, interactive execution and code export
Plotting and tables — simple syntax for charts and publication-ready tables via matplotlib and Great Tables
Data packages — export all output (DataFrames, charts, tables) to a single Frictionless data package
Installation
pip install pivotal
This installs the full feature set — Pandas, Polars, DuckDB, Great Tables, and Jupyter widgets.
For a minimal pandas-only install:
pip install --no-deps pivotal
pip install lark pandas matplotlib
JupyterLab extension
pip install git+https://github.com/nealbob/pivotal-py.git#subdirectory=editors/jupyterlab
VS Code extension
Install from the VS Code Marketplace, or build locally from editors/vscode.
Documentation
Full documentation including the complete syntax reference, backend guide, and API reference:
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
License
MIT
Authors
Neal Hughes
Version History
- v0.1.0 — Initial release
Contact & Support
For questions, issues, or feature requests please open an issue on GitHub or contact hughes.neal@gmail.com.
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_lang-0.1.0.tar.gz.
File metadata
- Download URL: pivotal_lang-0.1.0.tar.gz
- Upload date:
- Size: 101.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ac895af2f5f153c2dc0c11216fe32527353bc4c55f87462bac24e0bf66610c8
|
|
| MD5 |
7be6cf03eb73ce8891f4732b70674239
|
|
| BLAKE2b-256 |
aa8c4d03c97f52a3c1e402a71fe30370917ecf3da5e4cc0c75f6677d5667361e
|
File details
Details for the file pivotal_lang-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pivotal_lang-0.1.0-py3-none-any.whl
- Upload date:
- Size: 72.8 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 |
1b6fbbd74bd928f3c9f5f1a7dd5e271e5327d2a05e162f438916351a30bd9d5e
|
|
| MD5 |
4744c76cc5364fdab9f790850727585b
|
|
| BLAKE2b-256 |
87478aed6820be0b62729211e02db25a3722dfcca99e22d43e5680eb324e2bc4
|