petl-developers / petlx

Optional extensions for petl based on third party libraries.
MIT License
44 stars 9 forks source link

to/from xls #42

Closed alimanfoo closed 10 years ago

alimanfoo commented 10 years ago

Add support for working directly with Excel (XLS) files, probably via xlrd.

alimanfoo commented 10 years ago

It looks like the library xlrd supports extracting data from xls. From a brief look at the API it should be possible to provide wrapper functions for getting petl tables to/from xls files via xlrd. The logical thing to do would probably be add a petlx.xls module with functions fromxls and toxls, or refactor so that fromxls, fromxlsx, toxls, toxlsx all end up in a petlx.excel module.

alimanfoo commented 10 years ago

Implementation of fromxls provided in #44, TODO add documentation and minimal test cases.

alimanfoo commented 10 years ago

Added minimal documentation and test cases.