Skip to main content

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 that compiles to Pandas, Polars or DuckDB code. With comprehensive JupyterLab and VS Code support (syntax highlighting, autocomplete, interactive viewer and GUI controls) Pivotal provides a friendly entry point to the Python data ecosystem.


A live-demo of Pivotal in Jupyter Lab is available via Binder:

JupyterLab demo

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 and VS Code integration — syntax highlighting, autocomplete, %%pivotal cell magic, interactive object viewer and explorer, GUI controls

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-lang

This installs the full feature set — Pandas, Polars, DuckDB, Great Tables.

For a minimal Pandas-only install:

pip install --no-deps pivotal-lang
pip install lark pandas matplotlib

JupyterLab extension

pip install pivotal-lab

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:

nealbob.github.io/pivotal-py


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

pivotal_lang-0.2.0.tar.gz (127.4 kB view details)

Uploaded Source

Built Distribution

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

pivotal_lang-0.2.0-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

Details for the file pivotal_lang-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for pivotal_lang-0.2.0.tar.gz
Algorithm Hash digest
SHA256 70ea13592fa657a4f2e012c18662c551e071e422cc00c50f4d48b9f358b9d982
MD5 e12cdbc24004104af4bba3959469a660
BLAKE2b-256 5c3f311bd2defcf0c8171697c237c0c34fc5924c4d7aca3ab3253a1a99515226

See more details on using hashes here.

File details

Details for the file pivotal_lang-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pivotal_lang-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0199734ab71c37ef1cbcc25979a237f22b20e79ebd4fc9386e22911c8aa59f78
MD5 dc07a3beef10c86321ebaa402daa0f1f
BLAKE2b-256 aa1a1434b95571b532a03ed0ec3b8e79cc5533edba01bc726deb49770504ea33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page