Display version and compression information about a parquet file
Project description
iparq
After reading this blog, I began to wonder which Parquet version and compression methods the everyday tools we rely on actually use, only to find that there’s no straightforward way to determine this. That curiosity and the difficulty of quickly discovering such details motivated me to create ipq (Information Parquet). My goal with ipq is to help users easily identify the specifics of the Parquet files generated by different engines, making it clear which features—like newer encodings or certain compression algorithms—the creator of the parquet is using.
Installation
Using pip
-
Install the package using pip:
pip install iparq
-
Verify the installation by running:
iparq --help
Using uv
-
Make sure to have Astral’s UV installed by following the steps here:
-
Execute the following command:
uv pip install iparq
-
Verify the installation by running:
iparq --help
Usage
Run
sh iparq <filename>
Replace <filename> with the path to your .parquet file. The utility will read the metadata of the file and print the compression codecs used in the parquet file.
Example output
ParquetMetaModel(
created_by='parquet-cpp-arrow version 14.0.2',
num_columns=3,
num_rows=3,
num_row_groups=1,
format_version='2.6',
serialized_size=2223
)
Compression codecs: {'SNAPPY'}
Project details
Release history Release notifications | RSS feed
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 iparq-0.1.2.tar.gz.
File metadata
- Download URL: iparq-0.1.2.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2424a0ca908386b84b8d325fc19d64c401d8ca05c73f907b706feeccf1e9e9fa
|
|
| MD5 |
3b36d910aa79c4e31e4b22b455307562
|
|
| BLAKE2b-256 |
8ce0aafc5b5baa7beb213dc5be206d34ef0e00b2352e3a88e2ead4111b99f1fa
|
Provenance
The following attestation bundles were made for iparq-0.1.2.tar.gz:
Publisher:
python-publish.yml on MiguelElGallo/iparq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iparq-0.1.2.tar.gz -
Subject digest:
2424a0ca908386b84b8d325fc19d64c401d8ca05c73f907b706feeccf1e9e9fa - Sigstore transparency entry: 165536428
- Sigstore integration time:
-
Permalink:
MiguelElGallo/iparq@840dffb89d8902b1eccf33c9e2cf35899af4699b -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/MiguelElGallo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@840dffb89d8902b1eccf33c9e2cf35899af4699b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file iparq-0.1.2-py3-none-any.whl.
File metadata
- Download URL: iparq-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
282f2998ac4d5024f3150ae56bf4d45e9c1c6a924db57c15d177b2c3fcf3d7b8
|
|
| MD5 |
46faca710c71eb75f96e562aa008afee
|
|
| BLAKE2b-256 |
cfc5ec6cedbe42997f6a469ebf8f11e7c7e4201d0641b7065a106636596a3a98
|
Provenance
The following attestation bundles were made for iparq-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on MiguelElGallo/iparq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iparq-0.1.2-py3-none-any.whl -
Subject digest:
282f2998ac4d5024f3150ae56bf4d45e9c1c6a924db57c15d177b2c3fcf3d7b8 - Sigstore transparency entry: 165536430
- Sigstore integration time:
-
Permalink:
MiguelElGallo/iparq@840dffb89d8902b1eccf33c9e2cf35899af4699b -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/MiguelElGallo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@840dffb89d8902b1eccf33c9e2cf35899af4699b -
Trigger Event:
workflow_dispatch
-
Statement type: