https://github.com/risadams/excel-shred
Utility for converting excel workbook with multiple sheets, to multiple json and/or csv data sets
https://github.com/risadams/excel-shred
cli csv excel json python
Last synced: about 1 year ago
JSON representation
Utility for converting excel workbook with multiple sheets, to multiple json and/or csv data sets
- Host: GitHub
- URL: https://github.com/risadams/excel-shred
- Owner: risadams
- License: mit
- Created: 2019-08-12T11:03:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-05T15:55:49.000Z (over 4 years ago)
- Last Synced: 2025-01-23T20:53:57.403Z (about 1 year ago)
- Topics: cli, csv, excel, json, python
- Language: Python
- Homepage:
- Size: 1.38 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# excel-shred
Utility for converting excel workbook with multiple sheets, to multiple json and or csv data sets
Pass in one or more paths to search for all Excel files.
Each located file will be parsed into a json data set, csv data set or both.
The new file(s) will be in a folder of the same name as the original file
```
Open an Excel workbook, and convert all sheets to json datasets
outdir: output directory for files :param format: the output format
input_dirs: one or more directory paths containing excel workbooks
Examples:
excel-shred input_dir_a [input_dir_b]
excel-shred -f csv input_dir_a [input_dir_b]
excel-shred -f csv -o .\output input_dir_a [input_dir_b]
Options:
-f, --format [json|csv|all]
-o, --outdir PATH
-h, --help Show this message and exit.
```
# Format Options
* all (default) --output both json and csv
* json --output only json format
* csv --output only csv format