#DEPRECATED
Go to https://github.com/innobi/pantab for a maintained package
Tableau Hyper IO: read and write Tableau hyper files using Pandas DataFrames
What is it?
A simple way to read Tableau hyper files into Pandas DataFrames and write to Tableau hyper files from Pandas DataFrames.
Why was this made?
For a project I was working on I needed to read hyper files. I searched if a package already existed and found only the pandleau package, which only writes to hyper files but does not read them and also uses the older extract 2.0 API. Since I couldn't find any other package that met my needs I decided to make one myself, which has been a good learning experience.
Installation
You can install tableauhyperio using pip:
pip install tableauhyperio
This will also try downloading the Tableau hyper API, tqdm and pandas packages if you don't have them already.
Example usage
import tableauhyperio as hio
# Reading a regular hyper file
df = hio.read_hyper("example.hyper")
# Reading a hyper file with a custom schema
df = hio.read_hyper("example.hyper", "my_schema")
# Writing a regular hyper file
hio.to_hyper(df, "example_output.hyper")
# Writing a hyper file with a custom schema and custom table name
hio.to_hyper(df, "example_output.hyper", "my_schema", "my_table")
Dependencies
Metadata
Release files for tableauhyperio 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tableauhyperio-0.8.2.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tableauhyperio-0.8.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / tableauhyperio-0.8.2.tar.gz
| Download URL | tableauhyperio-0.8.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
329e551a62961fe16b0194b2a9845d552f4dabf37fbfa026b36359a85f6ac2e4
|
|
BLAKE2b-256 checksum How to use checksums |
fe15949d32327d8fe40ae9622fb942147fe2ae69cb8b50121ce23afa055e4b25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.0 Windows/10
|
Release files / tableauhyperio-0.8.2-py3-none-any.whl
| Download URL | tableauhyperio-0.8.2-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9de46a5e23e3f832faef13bf90ee690204bfdec34f850fccb27f9522355cf765
|
|
BLAKE2b-256 checksum How to use checksums |
abea6481ccfa79f31745d9333af7b0050d519d7d94899771738b982733a4d4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.0 Windows/10
|