Skip to main content

xlsx to csv converter

Project description

xlsx to csv converter (http://github.com/dilshod/xlsx2csv)

Converts xslx files to csv format. Handles large XLSX files. Fast and easy to use.

Installation:

sudo easy_install xlsx2csv or pip install xlsx2csv

Usage:
xlsx2csv.py [-h] [-v] [-a] [-d DELIMITER] [-f DATEFORMAT] [-i] [-e]

[-p SHEETDELIMITER] [-s SHEETID] [–hyperlinks] [-I INCLUDE_SHEET_PATTERN] [-E EXCLUDE_SHEET_PATTERN] xlsxfile [outfile]

xlsxfile xlsx file path outfile output csv file path

optional arguments:
-h, --help

show this help message and exit

-v, --version

show program’s version number and exit

-a, --all

export all sheets

-d DELIMITER, --delimiter DELIMITER

delimiter - columns delimiter in csv, ‘tab’ or ‘x09’ for a tab (default: comma ‘,’)

-f DATEFORMAT, --dateformat DATEFORMAT

override date/time format (ex. %Y/%m/%d)

-i, --ignoreempty

skip empty lines

-e, --escape

Escape rnt characters

-p SHEETDELIMITER, --sheetdelimiter SHEETDELIMITER

sheet delimiter used to separate sheets, pass ‘’ if you do not need delimiter (default: ‘——–‘)

-s SHEETID, --sheet SHEETID

sheet number to convert

--hyperlinks

include hyperlinks

-I INCLUDE_SHEET_PATTERN, --include INCLUDE_SHEET_PATTERN

only include sheets named matching given pattern, only effects when -a option is enabled.

-E EXCLUDE_SHEET_PATTERN, --exclude EXCLUDE_SHEET_PATTERN

exclude sheets named matching given pattern, only effects when -a option is enabled.

Expat SAX parser used for xml parsing.

See alternatives:

Bash: http://kirk.webfinish.com/?p=91

Python: http://github.com/staale/python-xlsx http://github.com/leegao/pyXLSX

Ruby: http://roo.rubyforge.org/

Java: http://poi.apache.org/

All programs in this directory and subdirectories are published under license GNU GPL version 2 or (at your option) any later version. For more information, see COPYING or visit <http://www.gnu.org/copyleft/gpl.html>.

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

xlsx2csv-0.7.1.tar.gz (188.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xlsx2csv-0.7.1.macosx-10.10-intel.exe (78.7 kB view details)

Uploaded Source

File details

Details for the file xlsx2csv-0.7.1.tar.gz.

File metadata

  • Download URL: xlsx2csv-0.7.1.tar.gz
  • Upload date:
  • Size: 188.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xlsx2csv-0.7.1.tar.gz
Algorithm Hash digest
SHA256 147007dcbfd0af2a1c05cf605c86a11dc544127af838e33638b6624288f9c523
MD5 292de9270b4c163398de496698cbc43f
BLAKE2b-256 6d063ebb5897e21c91eb7a5efbba80b290bf03e1872dec307fec6ff664dd25c9

See more details on using hashes here.

File details

Details for the file xlsx2csv-0.7.1.macosx-10.10-intel.exe.

File metadata

File hashes

Hashes for xlsx2csv-0.7.1.macosx-10.10-intel.exe
Algorithm Hash digest
SHA256 14c7ac91d58e06b5246899ae09c37bb2e0d173c1bc0ef52661e2fa07fccd8ac5
MD5 fcd322354cbf39c63b830bbc09d0bce9
BLAKE2b-256 282f0f0e33d14bb888d03e56db442f7c6b707b1d000208d919edf9953b2260d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page