All Projects → alexprengere → csv2xls

alexprengere / csv2xls

Licence: Apache-2.0 license
Put together some CSV files into a single Excel file, in different sheets.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to csv2xls

J
❌ Multi-format spreadsheet CLI (now merged in http://github.com/sheetjs/js-xlsx )
Stars: ✭ 343 (+2350%)
Mutual labels:  csv, excel, xls
dbd
dbd is a database prototyping tool that enables data analysts and engineers to quickly load and transform data in SQL databases.
Stars: ✭ 30 (+114.29%)
Mutual labels:  csv, excel, xls
Docto
Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV or PDF
Stars: ✭ 220 (+1471.43%)
Mutual labels:  csv, excel, xls
Myexcel
MyExcel, a new way to operate excel!
Stars: ✭ 1,198 (+8457.14%)
Mutual labels:  csv, excel, xls
Tableexport
The simple, easy-to-implement library to export HTML tables to xlsx, xls, csv, and txt files.
Stars: ✭ 781 (+5478.57%)
Mutual labels:  csv, excel, xls
Sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
Stars: ✭ 28,479 (+203321.43%)
Mutual labels:  csv, excel, xls
exoffice
Library to parse common excel formats (xls, xlsx, csv)
Stars: ✭ 31 (+121.43%)
Mutual labels:  csv, excel, xls
Rows
A common, beautiful interface to tabular data, no matter the format
Stars: ✭ 739 (+5178.57%)
Mutual labels:  csv, excel, xls
Pyexcel
Single API for reading, manipulating and writing data in csv, ods, xls, xlsx and xlsm files
Stars: ✭ 902 (+6342.86%)
Mutual labels:  csv, excel, xls
eec
A fast and lower memory excel write/read tool.一个非POI底层,支持流式处理的高效且超低内存的Excel读写工具
Stars: ✭ 93 (+564.29%)
Mutual labels:  csv, excel, xls
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (+1650%)
Mutual labels:  csv, excel
Django Data Wizard
🧙⚙️ Import structured data (e.g. Excel, CSV, XML, JSON) into one or more Django models via an interactive web-based wizard
Stars: ✭ 227 (+1521.43%)
Mutual labels:  csv, excel
Portphp
Data import/export framework for PHP
Stars: ✭ 225 (+1507.14%)
Mutual labels:  csv, excel
Sylvan.Data.Excel
The fastest .NET library for reading Excel data files.
Stars: ✭ 65 (+364.29%)
Mutual labels:  excel, xls
json2xls
{"generate excel by json data": "根据json数据生成Excel表格"}
Stars: ✭ 30 (+114.29%)
Mutual labels:  excel, xls
sheet2dict
Simple XLSX and CSV to dictionary converter
Stars: ✭ 206 (+1371.43%)
Mutual labels:  csv, excel
xls2db
Export table data from excel to mysql database, implemented with python.
Stars: ✭ 33 (+135.71%)
Mutual labels:  excel, xls
xltpl
A python module to generate xls/x files from a xls/x template.
Stars: ✭ 46 (+228.57%)
Mutual labels:  excel, xls
Flutter sheet localization
Generate Flutter localization from a simple online Google Sheets.
Stars: ✭ 212 (+1414.29%)
Mutual labels:  csv, excel
laravel-xlswriter
an excel export/import tool for laravel based on php-xlswriter
Stars: ✭ 54 (+285.71%)
Mutual labels:  excel, xls

csv2xls

Put together some CSV files into a single Excel file, in different sheets.

Installation

You can install directly after cloning:

$ python setup.py install --user

Or use the Python package:

$ pip install --user csv2xls

Dependency

Outside the standard library, the xlwt package is needed, and should be automatically installed with setuptools. Otherwise:

$ pip install --user xlwt

Example

$ csv2xls examples/sheet_alpha.csv examples/sheet_beta.csv -o output.xls
Processing       examples/sheet_alpha.csv -> output.xls/alpha
Processing        examples/sheet_beta.csv -> output.xls/beta

Usage

$ csv2xls -h
usage: csv2xls [-h] [-o OUTPUT] [-c] [-d DELIMITER] [-q QUOTECHAR] [-n]
               [-D FORMAT] [-k]
               files [files ...]

Put together some CSV files into a single Excel file. Basic types are inferred
automatically.

positional arguments:
  files

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Define name for output Excel file. Default is
                        "output.xls".
  -c, --clean           Delete input files afterwards, if successful.
  -d DELIMITER, --delimiter DELIMITER
                        Change row delimiter. Default is ",".
  -q QUOTECHAR, --quotechar QUOTECHAR
                        Change quoting character. Default way of quoting is
                        "that is, quoted".
  -n, --no-type-inference
                        Do not try to infer int/float/date when writing. This
                        mode is faster and preserves input data.
  -D FORMAT, --date-format FORMAT
                        Change date format used during date type inference.
                        Default is "%Y-%m-%d".
  -k, --keep-prefix     Keep common prefix when building sheet names. Default
                        is to remove the common prefix of input file names.

Example: csv2xls examples/sheet_alpha.csv examples/sheet_beta.csv

Tests

To run the tests, you must install xls2txt:

$ git clone https://github.com/hroptatyr/xls2txt.git
$ cd xls2txt
$ make
$ sudo make install

Then run:

$ ./tests.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].