Registry / data / parquet-metadata

parquet-metadata

JSON →
library0.0.1pypypiunverified

parquet-metadata is a Python-based command-line tool, version 0.0.1, designed to display metadata about a Parquet file. It provides insights into the file's structure, columns, row groups, and basic statistics. The project appears to be unmaintained since its last release in 2018, making it primarily a historical reference rather than a actively developed library for programmatic use.

pip install parquet-metadata
INSTALL
IMPORT
SIG · PARQUET-METADATA
P
parquet-metadata
datapythonv0.0.1
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 1.6s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

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

NotApplicable
This package is primarily a command-line tool.
from parquet_metadata import some_function
The 'parquet-metadata' package (v0.0.1) is not designed for direct programmatic import as a library. Its core functionality is exposed via a command-line script. Attempting to import functions directly from the underlying `parquet_metadata.py` script is an unstable pattern and not officially supported or guaranteed across versions.

The `parquet-metadata` package is intended for command-line use. This quickstart demonstrates how to invoke the `parquet-metadata` CLI tool from Python using `subprocess` to inspect a Parquet file's metadata. It first creates a dummy Parquet file for testing purposes.

import subprocess import os # Create a dummy Parquet file for demonstration (requires pyarrow) # In a real scenario, you would use an existing Parquet file. try: import pyarrow as pa import pyarrow.parquet as pq table = pa.table({'col1': [1, 2, 3], 'col2': ['a', 'b', 'c']}) dummy_file = 'dummy.parquet' pq.write_table(table, dummy_file) print(f"Created dummy Parquet file: {dummy_file}") # Run the parquet-metadata command-line tool command = ['parquet-metadata', dummy_file] result = subprocess.run(command, capture_output=True, text=True, check=True) print("\n--- Parquet Metadata Output ---") print(result.stdout) if result.stderr: print("--- Errors ---") print(result.stderr) # Clean up dummy file os.remove(dummy_file) print(f"Removed dummy Parquet file: {dummy_file}") except ImportError: print("Pyarrow not installed. Cannot create dummy parquet file for quickstart.") print("To run quickstart, install pyarrow: pip install pyarrow") print("You can still try 'parquet-metadata your_file.parquet' in your terminal.") except Exception as e: print(f"An error occurred: {e}")
parquet-metadata --version
Debug
Known issues
deprecatedThe `parquet-metadata` package (version 0.0.1) was last updated in 2018 and is no longer actively maintained. It lacks modern features and bug fixes found in newer Parquet introspection tools.
fix
Consider using actively maintained libraries like `parquet-pages` (for programmatic metadata access), `parquet-tools`, or `parq-cli` for up-to-date Parquet file analysis. E.g., `pip install parquet-pages`.
affects: <=0.0.1
gotchaThis package is a command-line utility and does not provide a stable Python API for programmatic interaction. Direct imports from its internal scripts are not recommended or supported.
fix
If programmatic access to Parquet metadata is required, use libraries explicitly designed for this purpose, such as `parquet-pages` which exposes Thrift structs for detailed metadata inspection. If you need to run the CLI tool, use `subprocess.run()` as shown in the quickstart.
affects: <=0.0.1
Upgrade
Version history
0.0.1latest on PyPI · released Sep 15, 2018
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Resources
parquet-metadata — pip install parquet-metadata · libregistry