A light weight excel read/writer for python27 and python3 with no dependencies
pylightxl - A Light Weight Excel Reader/Writer
DocumentationPlease 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
The project is associated with Tidelift. Please consider supporting open-source contributions by using the packages with Tidelift's subscription today!
Project featured on PythonBytes Podcast Episode #165
Reader
.xlsx
, .xlsm
) and .csv
filesDatabase
Writer
Although every effort was made to support a variety of users, the following limitations should be read carefully:
Does not support .xls
files (Microsoft Excel 2003 and older files)
Writer does not support anything other than cell data (no graphs, images, macros, formatting)
Does not support worksheet cell data more than 536,870,912 cells (32-bit list limitation), please use 64-bit if more data storage is required.
Zero non-standard library dependencies!
Python2.7.18 to Python3+ support for life!
Light-weight single source code file
pyinstaller
or other exe
wrappers failing to build or building to very large
packages? Pylightxl will not cause any build errors and will not add to your build size since it has zero
dependencies and a small lib size.100% test-driven development for highest reliability/maintainability that aims for 100% coverage on all supported versions
API aimed to be user friendly and intuitive and well documented. Structure: database > worksheet > indexing
db.ws('Sheet1').index(row=1,col=2)
or db.ws('Sheet1').address(address='B1')
db.ws('Sheet1').row(1)
or db.ws('Sheet1').col(1)
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
<definedName>
tag would case pylightxl to add duplicate of the same worksheet, see issue #72io.StringIO
support to readcsv
See full history log of revisions: Here
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!