Skip to main content

Uses Python multiprocessing to convert multiple Excel files to CSV files

Project description

MPXL2CSV

A Python Multiprocessing library to convert Excel(xlsx) files to csv. Python based libraries are notoriously slow to process large Excel files. This library utilizes Python multiprocessing and openpyxl to process multiple Excel files in parallel so as to reduce the total time taken to convert them.

Installing

pip install mpxl2csv

Sample Usage:

from mpxl2csv import Excel2Csv

mp = Excel2Csv(num_processes=3, delimiter="|")
xl_path = os.path.join(os.getcwd(), "sample_input")
csv_path = os.path.join(os.getcwd(), "sample_output")
mp.convert(xl_path, csv_path) 

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

mpxl2csv-0.2.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

mpxl2csv-0.2.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

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