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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file mpxl2csv-0.2.0.tar.gz
.
File metadata
- Download URL: mpxl2csv-0.2.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c88a8da40d58accc944565688f0d46847506cc4046a78ebbb3fe46646505d17 |
|
MD5 | 402592df618dfc59cbd6ea6510d86df0 |
|
BLAKE2b-256 | a9fabad9d9da44d5b2be1c60741bb62ff10d3bc240577a7ef6e1e6740b6df134 |
Provenance
File details
Details for the file mpxl2csv-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: mpxl2csv-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a4c19114e32a45a18a89bdb78ca6535375500b2c1452a25004b9ad203d0ae6 |
|
MD5 | 6778107667ad618d4acbd00195a31ef4 |
|
BLAKE2b-256 | ae009159add91834c6488b9f94e05a78ebd2110699152b1c6dbc21b1c1b607ef |