Need help with pylightxl?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

PydPiper
133 Stars 13 Forks MIT License 220 Commits 1 Opened issues

Description

A light weight, zero dependency, minimal functionality excel read/writer python library

Services available

!
?

Need anything else?

Contributors list

pylightxl - A Light Weight Excel Reader/Writer

Documentation

A light weight, zero dependency (only standard libs used), to the point (no bells and whistles) Microsoft Excel reader/writer python 2.7.18 - 3+ library.

Please help us spread the word about pylightxl to the community by voting for pylightxl to be added to python-awesome list. Follow the LINK and upvote the pull request in the top right corner

Project featured on PythonBytes Podcast Episode #165


Supports:

  • Reader supports .xlsx and .xlsm file extensions.
  • Writer only supports .xlsx (no macros/buttons/graphs/formatting)

Limitations:

  • Does not support .xls (excel 97-2003 worksheet).
  • Does not support worksheet cell data more than 536,870,912 cells (32-bit list limitation).
  • Writer does not support anything other than writing values/formulas/strings.
  • Writing to existing workbooks will remove any macros/buttons/graphs/formatting!

Why pylightxl over pandas/openpyxl/xlrd

  • Zero non-standard library dependencies No compatibility/version control issues.

  • Light-weight single source code file that supports both Python3 and Python2.7.18. Single source file that can easily be copied directly into a project for true zero-dependency. Great for those that have installation/download restrictions. In addition the library's size and zero dependency makes this library pyinstaller compilation small and easy!

  • 100% test-driven development for highest reliability/maintainability with 100% coverage on all supported versions

  • API aimed to be user friendly and intuitive. Structure: database > worksheet > indexing example:

    db.ws('Sheet1').index(row=1,col=2)
    or
    db.ws('Sheet1').address(address='B1')

Setup

pylightxl is officially published on pypi.org, however one of the key features of pylightxl is that it is packed light in case the user has pip and/or download restrictions, see docs - installation

pip install pylightxl

pypi version 1.52

  • updated reading error'ed cells "#N/A"
  • updated workbook indexing bug from program generated workbooks that did not index from 1

See full history log of revisions: Here


Contact/Questions/Suggestions

If you have any questions or feedback, we would love to hear from you - send us a post directly on GitHub.

We try to keep an active lookout for users trying to solve Microsoft Excel related problems with python on Stack Overflow. Please help us build on the great community that python already is by helping others get up to speed with pylightxl!

From everyone in the pylightxl family, thank you for visiting!

logo

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.