Skip to main content

Parquet from and to CSV format converter

Project description

Parquet_CSV

CI | PyPI

A Parquet to and from CSV converter that is based on Apache Arrow for its speed and memory efficiency.

How to install

pip install parquet_csv

Use pip3 if both Python2 and Python3 are installed. This application only works with Python3.

How to use

Converting Parquet

parquet_to_csv converts parquet files to csv files. By default it prints to the standard output, but can be directed via pipe or -o flag to write to a file.

Usage: parquet_to_csv.py [OPTIONS] INPUT_FILE

Options:
  -o, --output-path FILE  [default: (standard output)]
  --header / --no-header
  --verbose BOOLEAN
  --help                  Show this message and exit.

Selecting columns, gzip-ing output

Following UNIX principle, you should be using xsv for selecting columns from the csv or do other transformations: just pipe the output to xsv and you're all set.

Similarly if you'd want the file to be compressed, pipe the result to gzip and direct to a local file ending in .csv.gz.

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

parquet_csv-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

parquet_csv-0.2.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file parquet_csv-0.2.0.tar.gz.

File metadata

  • Download URL: parquet_csv-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Darwin/20.5.0

File hashes

Hashes for parquet_csv-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c4dc2c12cc66e270bdb779a6bc3d779260e1478458c058fb3e0c50b18cc8e229
MD5 5e4d4a4e1a44f9b83fa95a24a825e18d
BLAKE2b-256 a793a5cef319ce8ccc0232fd75e2fc3f5cfab0108f3db1b193859ca4e154585c

See more details on using hashes here.

File details

Details for the file parquet_csv-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: parquet_csv-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Darwin/20.5.0

File hashes

Hashes for parquet_csv-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2a4d23dad444e8ea16ecee0138a6bef5cc085beb5afd2ff590566afad769b50
MD5 31948dc0ec90d4b41ba9374f92644229
BLAKE2b-256 77f7e2c88a52afd6b1d2dc041212ef6039a1f0f664afc721f2af53aa2e25c6ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page