openpyxl reaches 1.0 mark

Hello, this blog has moved to here :, the blog on WordPress will be kept not to break links, but will not be updated anymore, see you there !

After a few more efforts, I am pleased to announce the release of the first version of openpyxl.

The reader and the writer are working and tested for strings and numbers.

I have been able to read and write simple Excel 2007 xlsx files from Python and open them with Excel.

You can clone the repository using Mercurial:

hg clone

or download the release in zip format.

Edit: 1.0 release is really outdated, you might want to get a more recent version here.

The (sparse for now) documentation can be found on the wiki.

Reader usage (using the “empty_book.xlsx” file from the previous example)

from openpyxl.reader.excel import load_workbook

wb = load_workbook(filename = r'empty_book.xlsx')

sheet_ranges = wb.get_sheet_by_name(name = 'range names')

print sheet_ranges.cell('D18').value # should display D18

Code is published under the MIT licence, so you can use it for whatever use you need, and I’d be very happy if  you drop me an email if  you use it 🙂

If you don’t find it useful, spot a bug, or want to suggest an enhancement, you can do so by filling a ticket on the tracker.

Features that will be added in the next version are listed here, so if you need something in this list, please be patient or send me a message to tell me to hurry 😉

10 responses to “openpyxl reaches 1.0 mark

  1. Pingback: Reading xlsx files from Python | Codeus Blog

  2. Greetings all,

    I’m a student who is new to python and am having a tough time installing openpyxl. My computer is running windows xp 2002 and python 2.6. Can one of you fine people help me out with some easy install tips?

    Thank you in advance for your reply,

  3. Hey there,

    I’m going to try and use it for some professional data-analysis.

    Will let you know if I succeed.

      • Hey there Paul,

        Sorry about not replying earlier.

        I had no trouble with the installation and we have had a good experience using the library. We still use it to create excel files for interactive database reporting.

  4. Using this for an industrial application where I’m updating data in a system export from a large HMI application. Looks promising!

Leave a Reply to j Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s