Skip to main content

A wrapper library that provides one API to read, manipulate and write data in different excel formats

Project description

Known constraints

Fonts, colors and charts are not supported.

Feature Highlights

  1. One API to handle multiple data sources:
    • physical file
    • memory file
    • SQLAlchemy table
    • Django Model
    • Python data stuctures: dictionary, records and array
  2. One application programming interface(API) to read and write data in various excel file formats.

Available Plugins

Plugins Supported file formats
pyexcel-io csv, csvz, tsv, tsvz
pyexcel-xls xls, xlsx(r), xlsm(r)
pyexcel-xlsx xlsx
pyexcel-ods ods (python 2.6, 2.7 only)
pyexcel-ods3 ods
pyexcel-text (write only)json, rst, mediawiki,latex, grid, pipe, orgtbl, plain simple


You can install it via pip:

$ pip install pyexcel

or clone it and install it:

$ git clone
$ cd pyexcel
$ python install

Installation of individual plugins , please refer to individual plugin page.


Suppose you want to process the following excel data :

Name Age
Adam 28
Beatrice 29
Ceri 30
Dean 26

Here are the example code:

>>> import pyexcel as pe
>>> import pyexcel.ext.xls # import it to handle xls file
>>> records = pe.get_records(url="")
>>> for record in records:
...     print("%s is aged at %d" % (record['Name'], record['Age']))
Adam is aged at 28
Beatrice is aged at 29
Ceri is aged at 30
Dean is aged at 26


Documentation is hosted at read the docs and pyhosted


New BSD License


All great work have done by odf, ezodf(2), xlrd, xlwt, tabulate and other individual developers. This library unites only the data access code.

Extension management code was reused from flask.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyexcel, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size (63.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page