8000 GitHub - suhongrui/xlsx-dr: XLSX dirty reader, supports reading xlsx images and shows their position in the sheets
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from tarvitz/xlsx-dr

XLSX dirty reader, supports reading xlsx images and shows their position in the sheets

Notifications You must be signed in to change notification settings

suhongrui/xlsx-dr

 
 

Repository files navigation

XLSX dirty reader

For general installation you would probably need virtual environment with pip installed:

user@localhost$ virtualenv --no-site-packages venv
user@localhost$ source venv/bin/activate
user@localhost$ pip install -r requirements/base.txt

optional

user@localhost$ pip install -r requirements/docs.txt
  • lxml-3.3.0+
  • openpyxl-1.8.2 +
  • sphinx (for docs)

Simply run

user@localhost$ python setup.py test

Or you could run tests via python -m unittest module or via run_tests.sh script

user@localhost$ ./run_tests.sh tests.XlsxReader

Using tox you can achieve fast and simple test runs.

user@localhost$ tox

You can parse Xlsx (MS Excel 2007 format) files and get data in standard python dictionary format or json (simplejson required)

from xlsx.reader import XlsxReader
reader = XlsxReader('file.xlsx')
data = reader.get_data(sheet_name='Sheet1')
img_data = reader.get_images()

that's all folks

About

XLSX dirty reader, supports reading xlsx images and shows their position in the sheets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.2%
  • Makefile 3.5%
  • Shell 0.3%
0