Uses Python multiprocessing to convert multiple Excel files to CSV files
Project description
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.
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.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file mpxl2csv-0.1.0.tar.gz
.
File metadata
- Download URL: mpxl2csv-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c5f03fcda593a7b300d1a715a10a51108421b0fae4d080a249932fd011610b |
|
MD5 | 8c7e7c25214a0553633c4f35a0bec827 |
|
BLAKE2b-256 | 4db2c4a212dc51c8bf126cb77caf9950fbac9887ea57a751266d18f46da32040 |
File details
Details for the file mpxl2csv-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: mpxl2csv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 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 | 017dddb6365996ff04b7c435c2f16e206cf6b12d40efee52eb05774419acdc11 |
|
MD5 | 6dab55d4a9f065c91fd8ef9a8f6f6add |
|
BLAKE2b-256 | 1a4b0d1299fb172176d1909ae380c71ac0a017b88363af8835f30d1ba4405308 |