Skip to main content

A Python library to read/write Excel 2010 xlsx/xlsm files

Project description

openpyxl

openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.

It was born from lack of existing library to read/write natively from Python the Office Open XML format.

All kudos to the PHPExcel team as openpyxl is based on PHPExcel http://www.phpexcel.net/

Mailing List

Official user list can be found on http://groups.google.com/group/openpyxl-users

Sample code:

from openpyxl import Workbook
wb = Workbook()

# grab the active worksheet
ws = wb.active

# Data can be assigned directly to cells
ws['A1'] = 42

# Rows can also be appended
ws.append([1, 2, 3])

# Python types will automatically be converted
import datetime
ws['A2'] = datetime.datetime.now()

# Save the file
wb.save("sample.xlsx")

Official documentation

The documentation is at: http://openpyxl.readthedocs.org

  • installation methods

  • code examples

  • instructions for contributing

Release notes: http://openpyxl.readthedocs.org/en/latest/changes.html

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyexcelios-2.3.5-py2.py3-none-any.whl (360.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyexcelios-2.3.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyexcelios-2.3.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 be29b45b1e29e526d588293b95282ba1d6554d424d15b5c1cf6fd8a2e5564eb5
MD5 aea99ddc8783cf7e21d867e9f5548b1c
BLAKE2b-256 adab7efd54b71a1325c77fd83b1be03513e159ee6e024f67c181eeced71275cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page