Skip to main content

a tool to convert parquet file(s) to excel file in rust

Project description

parquet_to_excel

A tool to convert parquet file to excel file in rust with constant memory, both a single parquet file and a folder of parquet files are supported. You can also use python or rust to call it. The python package name is parquet_to_excel too. you can install it by pip install parquet_to_excel. If you could not install this package correctly, you can try to install rust and maturin (pip install maturin) first. Then you can try again.

Functions

  1. parquet_file_to_xlsx: convert a single parquet file to an excel file
  2. parquet_files_to_xlsx: convert a folder of parquet files to an excel file

A Python Example

from parquet_to_excel import parquet_file_to_xlsx, parquet_files_to_xlsx

# the last three arguments are optional
parquet_file_to_xlsx(r"data\result\qid=160\a.parquet", r"out1.xlsx", "data", "", {"ddbm": "地点编码"})
parquet_files_to_xlsx(r"data\result\qid=160", r"out2.xlsx", "", "scfs", {"ddbm": "地点编码"})

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_to_excel-0.2.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

parquet_to_excel-0.2.0-cp312-cp312-win_amd64.whl (6.3 MB view details)

Uploaded CPython 3.12Windows x86-64

File details

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

File metadata

  • Download URL: parquet_to_excel-0.2.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.1

File hashes

Hashes for parquet_to_excel-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5297d98707786f2ad34a8b07e541f8e39a86d75618804d4a677faa598c1f00c1
MD5 cab24c5010d3ecd8a476831a3b5c7735
BLAKE2b-256 0907e1a9360959f7f40990cc660bbdf997f0ceb6659c49b730deec9a58ec6ad8

See more details on using hashes here.

File details

Details for the file parquet_to_excel-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for parquet_to_excel-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aa5276b35bbf2f82194ae266e89e9cb96900f388e359805de7821ee57f49c4ea
MD5 357cca39c333ab47c7305f741dee34a9
BLAKE2b-256 eca7a8a947d0a1fc0dcccc4d65210aa05ca1372677ced4ccbc7f97c439df2365

See more details on using hashes here.

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