Giter Site home page Giter Site logo

xlsx2csv's Introduction

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 \r\n\t 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>.

xlsx2csv's People

Contributors

del avatar dilshod avatar djmitche avatar dremora avatar emirhg avatar guileen avatar hank-cp avatar jaalto avatar outoftheboxx avatar stefantalpalaru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.