# 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:
```Python
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hariya99/mpxl2csv",
"name": "mpxl2csv",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6,<4.0",
"maintainer_email": "",
"keywords": "Excel,CSV,multiprocessing",
"author": "Harish Chauhan",
"author_email": "harish.chauhan99@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ca/3c/001e347ff272a6752c54b238847d6e3a21a4f7a4855b3a64d0b87da95313/mpxl2csv-0.1.1.tar.gz",
"platform": null,
"description": "# MPXL2CSV\nA 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. \n# Installing\n```\npip install mpxl2csv\n```\n# Sample Usage:\n```Python\nfrom mpxl2csv import Excel2Csv\n\nmp = Excel2Csv(num_processes=3, delimiter=\"|\")\nxl_path = os.path.join(os.getcwd(), \"sample_input\")\ncsv_path = os.path.join(os.getcwd(), \"sample_output\")\nmp.convert(xl_path, csv_path) \n\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Uses Python multiprocessing to convert multiple Excel files to CSV files",
"version": "0.1.1",
"split_keywords": [
"excel",
"csv",
"multiprocessing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac69d508cce3f87567d3fdf5110909a7ab3d4481bf29e4dbd1a2b7f827f5e27a",
"md5": "e15595e8ae1dc5d4caf228a12849c2bf",
"sha256": "a1ce5b62e6c4e10366d7101000564e4bce3af1e37592fbb5a750e391f363df9a"
},
"downloads": -1,
"filename": "mpxl2csv-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e15595e8ae1dc5d4caf228a12849c2bf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,<4.0",
"size": 4311,
"upload_time": "2023-04-27T20:43:54",
"upload_time_iso_8601": "2023-04-27T20:43:54.063498Z",
"url": "https://files.pythonhosted.org/packages/ac/69/d508cce3f87567d3fdf5110909a7ab3d4481bf29e4dbd1a2b7f827f5e27a/mpxl2csv-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca3c001e347ff272a6752c54b238847d6e3a21a4f7a4855b3a64d0b87da95313",
"md5": "4f78b9b41960f900d5eca05f19b51c49",
"sha256": "1d3e09c0be859c3d0c58365955e70822b565ac9426bab851f14dde8150f026fe"
},
"downloads": -1,
"filename": "mpxl2csv-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4f78b9b41960f900d5eca05f19b51c49",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6,<4.0",
"size": 2958,
"upload_time": "2023-04-27T20:43:57",
"upload_time_iso_8601": "2023-04-27T20:43:57.214075Z",
"url": "https://files.pythonhosted.org/packages/ca/3c/001e347ff272a6752c54b238847d6e3a21a4f7a4855b3a64d0b87da95313/mpxl2csv-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-27 20:43:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hariya99",
"github_project": "mpxl2csv",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mpxl2csv"
}