Skip to main content

Simple Parquet Viewer

A simple (and lightweight) visualization tool for Parquet files.

Installation

In order to install it, you just have to run the following command in the shell:

pip install simple-parquet-viewer

Alternatively you can install the distribution package available in the releases page.

Usage

To open the app, it is just necessary to call it from the shell (notice that path_to_file arg is optional):

spv [path_to_file]

Creating shortcut (Windows only)

In order to use the shortcut creation utility, the pywin32 package must be already installed. Otherwise, you will have to install it by running either pip install pywin32 or pip install simple-parquet-viewer[windows].

Since this is a GUI application, it would be easier to start it from a shortcut rather than the command line. Therefore, in order to make the shortcut creation easier, this application provides a convenience script for that purpose. By running following command, for instance, a shortcut for "Simple Parquet Viewer" must be created in the Start Menu:

spv-shortcut

NB.: Icons generated using this utility are not automatically removed when this package is uninstalled. Therefore, you must remove them manually afterwards.

Desktop shortcut

The spv-shortcut utility also supports a valid dir_path as first argument, allowing you to generate a shortcut in custom directories, such as "Desktop". The following example demonstrates how to create a desktop shortcut for this application:

spv-shortcut %USERPROFILE%\Desktop

In PowerShell:

spv-shortcut $env:USERPROFILE\Desktop

Development

There are some utilities which have made the development of this application a bit easier:

  • Icon generation: The application icons have been generated by using open source vectorized images, which can be found close to their "png/ico" versions at ./src/res/imgs/;
  • i18n script: This script makes creating and deploying translation files a bit easier by calling tools like pylupdate, linguist and lrelease under the hood;
  • package creation: The distribution package of this library is build with hatch (check pyproject.toml file for specs).

Generating icon

The usage of inkscape in order to create/modify application icons is strongly recommended, since it is free and open source (and anyone would be able to contribute), but any vectorized drawing tool can be used for this purpose.

In order to deploy the application icon, it was necessary to make use of imagemagick so as to convert the SVG file to a multi-sized icon. The following command has been used generate it:

magick convert ./src/res/imgs/app_icon.svg -define icon:auto-resize=256,128,48,32,16 -background none -fuzz 10% -transparent white  ./src/res/imgs/app_icon.ico

Translations

The usage of i18n script is quite straightforward: it is usually python ./scripts/i18n.py <COMMAND> <LANG_CODE>, where the command depends on the translation step:

  • generate: Used to generate a new translation file or update the strings of an existing one;
  • edit: Convenience method to open Qt Linguist (an editor for translation files);
  • release: Used when the translation is ready for deployment (builds a compiled translation file).

NB: It is necessary to have PyQt6 and qt6_applications so as to be able to run every command.

Package generation

In order to build this package, it is just necessary to run the following command in the sell:

python -m build

Metadata

Release files for simple-parquet-viewer 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-parquet-viewer 0.11.1
File Size Uploaded Provenance
simple_parquet_viewer-0.11.1.tar.gz 174.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-parquet-viewer 0.11.1
File Interpreter ABI Platform
simple_parquet_viewer-0.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 362.2 kB

Release files / simple_parquet_viewer-0.11.1.tar.gz

Download URL simple_parquet_viewer-0.11.1.tar.gz
Size 174.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9406cc8afdaf0d205773f85469c10ca6006e0bfce3835ddd54d0c7a0329d26fc
BLAKE2b-256 checksum
How to use checksums
c55b7fd13622fe3bbad92624a593d601e657b171de71ed2d96157cd2ccb01f45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / simple_parquet_viewer-0.11.1-py3-none-any.whl

Download URL simple_parquet_viewer-0.11.1-py3-none-any.whl
Size 187.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5e3227d4372a4e4f3fd1dcc043a4d4b6e1985f959dc1354bfa2a09d4d155d92
BLAKE2b-256 checksum
How to use checksums
dfe356a701b6e2c6a85f88053c49bd8a2b757e76433812b45ecc7c197bc7e122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for simple-parquet-viewer 0.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page