Skip to main content

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

  1. Install the package using pip:

    pip install iparq
    
  2. Verify the installation by running:

    iparq --help
    

Using uv

  1. Clone the repo:

    git clone https://github.com/MiguelElGallo/iparq.git
    cd iparq
    
  2. Make sure to have Astral’s UV installed by following the steps here:

    https://docs.astral.sh/uv/getting-started/installation/

  3. Execute the following command:

    uv run 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iparq-0.1.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

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

iparq-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file iparq-0.1.1.tar.gz.

File metadata

  • Download URL: iparq-0.1.1.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

Hashes for iparq-0.1.1.tar.gz
Algorithm Hash digest
SHA256 056591e4bd323dcb8ce1d3609cdff70dd9c74805202ad360fb3fc3e3446c5abb
MD5 74ef741218877ae75f143256bc2bad6d
BLAKE2b-256 d58b22d4db4423a5447eb7d000008d38ab882888d30e0e354741b6693c3202f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for iparq-0.1.1.tar.gz:

Publisher: python-publish.yml on MiguelElGallo/iparq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iparq-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: iparq-0.1.1-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

Hashes for iparq-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 290add2cfdcd8881f9919b6558101d1c76f35bde2ce210093d9a352ee0c56866
MD5 7eca3fc92d1f4546f227f957a927d97e
BLAKE2b-256 dc18a4c854a4fb2d8d3f56889425aa33e7f889615bca61d6abd66b2d12060dff

See more details on using hashes here.

Provenance

The following attestation bundles were made for iparq-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on MiguelElGallo/iparq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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