pantab
Converts pandas DataFrames into Tableau Hyper Extracts and back
What it is and what it does
pantab is a bridge between DataFrames and Tableau's Hyper Extract format. It lets you serialize a DataFrame directly to a .hyper file that Tableau can ingest, or load an existing Hyper file back into a DataFrame. The package wraps Tableau's Hyper library (included in the binary distribution) and handles the schema mapping and serialization details.
It's primarily useful in data pipelines where you're preparing data in Python and need to feed it into Tableau for visualization, or where you're reading Tableau extracts back into Python for analysis. The package depends on pyarrow for columnar data handling and supports Python 3.11 through 3.14 on macOS, Linux, and Windows.
Use it for:
- Export a DataFrame to a Tableau Hyper file for direct ingestion into Tableau dashboards
- Load a Tableau Hyper Extract into a DataFrame for post-processing or analysis in Python
- Automate data pipeline steps that bridge Python data preparation and Tableau reporting workflows
- Convert tabular data from Python analysis into Tableau-ready format without manual export steps
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts DataFrames to and from Tableau Hyper Extract format, enabling direct data exchange between Python workflows and Tableau.
Yes. pantab is actively maintained, has no known vulnerabilities, and solves a specific integration problem between Python and Tableau with a permissive license. The medium install friction (compiled wheels) is standard for this type of package. Install it if you regularly move data between Python and Tableau; skip it if you don't work with Hyper files.
Install
pantab on PyPI
pip
pip install pantabuv
uv add pantabpoetry
poetry add pantabInstalling pantab
Before you install
Medium install friction due to compiled wheels for specific Python versions and platforms. Active maintenance with recent release 128 days ago and ongoing repository activity; supports Python 3.11 through 3.14.
License in practice
Distributed under BSD 3-Clause (permissive). Binary distributions include Tableau Hyper library under Apache 2.0, so combined use is compatible with most open-source and commercial projects.
Quickstart
import pantab
import pyarrow
# Convert to Hyper
pantab.frame_to_hyper(df, 'output.hyper')
# Convert from Hyper
df_loaded = pantab.hyper_to_frame('output.hyper')
Requires pyarrow as a runtime dependency; Tableau Hyper library is bundled in the wheel.
Verify before relying
- Performance characteristics when handling large DataFrames or complex data types
- Specific Tableau version compatibility guarantees for generated Hyper files
- Whether all data types map cleanly to Hyper schema without data loss
Package facts
| License | BSD 3-Clause License Copyright (c) 2018-2024 William Ayd and innobi, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — pyarrow |
| Maintenance | actively maintained — 128 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 192,933/month — #9,856 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pantab-5.3.0-cp311-cp311-macosx_13_0_arm64.whl; pantab-5.3.0-cp311-cp311-macosx_13_0_x86_64.whl; pantab-5.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pantab-5.3.0-cp311-cp311-win_amd64.whl; pantab-5.3.0-cp312-cp312-macosx_13_0_arm64.whl; pantab-5.3.0-cp312-cp312-macosx_13_0_x86_64.whl; pantab-5.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pantab-5.3.0-cp312-cp312-win_amd64.whl; pantab-5.3.0-cp313-cp313-macosx_13_0_arm64.whl; pantab-5.3.0-cp313-cp313-macosx_13_0_x86_64.whl; pantab-5.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pantab-5.3.0-cp313-cp313-win_amd64.whl; pantab-5.3.0-cp314-cp314-macosx_13_0_arm64.whl; pantab-5.3.0-cp314-cp314-macosx_13_0_x86_64.whl; pantab-5.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pantab-5.3.0-cp314-cp314t-macosx_13_0_arm64.whl; pantab-5.3.0-cp314-cp314t-macosx_13_0_x86_64.whl; pantab-5.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; pantab-5.3.0-cp314-cp314t-win_amd64.whl; pantab-5.3.0-cp314-cp314-win_amd64.whl
Keywords: tableau, visualization, pandas, dataframe
Tags
More Office/Business packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
slack-sdkProvides Python bindings for Slack's Web API,…
permissive · top 1,000 on PyPI
xlrdxlrd reads data and formatting information from…
permissive · top 1,000 on PyPI
progressbar2progressbar2 renders text-based progress bars…
permissive · top 5,000 on PyPI
bokehBokeh is an interactive visualization library…
permissive · top 5,000 on PyPI
slackclientProvides Python interfaces to Slack's Web API…
permissive · top 5,000 on PyPI
hyperleaupGenerates Tableau Hyper files directly from…
permissive · top 15,000 on PyPI
tableauhyperapiAutomate creation, reading, and modification of…
permissive · top 5,000 on PyPI
tableaudocumentapiReads and modifies Tableau workbook and data…
permissive · top 15,000 on PyPI
gspread-dataframeConverts between Google Sheets worksheets and…
permissive · top 5,000 on PyPI
camelot-pyExtracts tables from PDFs into pandas…
permissive · top 5,000 on PyPI
tabula-pyExtracts tables from PDF files and converts…
permissive · top 5,000 on PyPI
eurostatFetches statistical data and metadata from…
permissive · top 15,000 on PyPI
fastf1FastF1 provides Python access to Formula 1…
permissive · top 5,000 on PyPI
tablibTablib converts tabular data between multiple…
permissive · top 5,000 on PyPI
rdataReads and writes R dataset files (.rda and .rds…
permissive · top 15,000 on PyPI