pyexcel - Let you focus on data, instead of file formats

Author:C.W.
Source code:http://github.com/chfw/pyexcel
Issues:http://github.com/chfw/pyexcel/issues
License:GPL v3
Version:0.0.7

Introduction

pyexcel is a wrapper library to read, manipulate and write data in different excel formats: csv, ods, xls, xlsx and xlsm. The data in excel files can be turned into array or dict with least code, and vice versa. And ready-made or custom filters and formatters can be applied. But it does not support fonts, colors and charts.

It was created due to the lack of uniform programming interface to access data in different excel formats. A developer needs to use different methods of different libraries to read the same data in different excel formats, hence the resulting code is cluttered and unmaintainable.

In addition, the library recognizes that Excel files are de-facto file format for information sharing in non-software centric organisations. Excel files are not only used for mathematical computation in financial institutions but also used for many othe purposes in an office work environment.

All great work have done by odf, xlrd and other individual developers. This library unites only the data access code.

Installation

You can install it via pip:

$ pip install pyexcel

Getting the source

Source code is hosted in github. You can get it using git client:

$ git clone http://github.com/chfw/pyexcel.git

Open Document Spreadsheet(ods) Support

In order to add ods support, please choose one of two packages: pyexcel-ods or pyexcel-ods3 . Please read individual installation instructions respectively. Here is the comparsion of two packages:

package python 2.6 python 2.7 python 3.3 python 3.4 lxml dependent
pyexcel-ods yes yes     no
pyexcel-ods3   yes yes yes yes

Plugin compatibility management

pyexcel ods ods3
v0.0.7    
v0.0.6 0.0.2 0.0.2
v0.0.5    
v0.0.4 0.0.1 0.0.1
v0.0.3    
v0.0.2    
v0.0.1 n/a n/a

Usage examples

API documentation

Indices and tables