Registry / data / hyperleaup

hyperleaup

JSON →
library0.1.2pypypiunverified

Create and publish Tableau Hyper files from Apache Spark DataFrames and Spark SQL. Current version 0.1.2, beta-level with monthly-ish releases on PyPI.

pip install hyperleaup
INSTALL
IMPORT
SIG · HYPERLEAUP
H
hyperleaup
datapythonv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hyperleaup
import hyperleaup
import hyperleaup

Creates a simple Hyper file from a Spark DataFrame.

from pyspark.sql import SparkSession from hyperleaup import HyperFile spark = SparkSession.builder.appName("example").getOrCreate() df = spark.createDataFrame([(1, "a"), (2, "b")], ["id", "value"]) hyper = HyperFile() hyper.save(df, "output.hyper") print("Hyper file created successfully.")
Debug
Known issues
breakingIn v0.1.1, changed default `timestamp_with_timezone` to False to maintain backward compatibility; setting to True may be needed to avoid type mismatch errors.
fix
Explicitly set `timestamp_with_timezone=True` when creating HyperFile if your data contains timestamps with timezone.
affects: 0.1.1+
gotchaHyperleaup is tightly coupled to PySpark and Tableau Hyper API. Ensure both are installed and compatible.
fix
Run `pip install pyspark tableauhyperapi` before using hyperleaup.
affects: all
gotchaThe `LARGEFILE` creation mode is experimental and only works with Databricks File System (DBFS). Do not use on other distributed file systems.
fix
Use default creation mode unless you are on Databricks and understand the implications.
affects: 0.1.2
Upgrade
Version history
0.1.2latest on PyPI · released Sep 6, 2023
Audit
Dependencies
pysparkrequiredCore dependency for Spark DataFrame operations; version >=3.2.2
tableauhyperapirequiredRequired to create Tableau Hyper files
Agent activity
34 hits · last 30 days
node
30
OpenAI (training)
1
Resources
hyperleaup — pip install hyperleaup · libregistry