Skip to main content

A light weight excel read/writer for python27 and python3 with no dependencies

Project description

logo

pylightxl - A Light Weight Excel Reader/Writer

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

Sample - see docs - quick start guide for more examples: Example Code


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!

In-work version 1.5

  • additional database indexing features
  • performance

pypi version 1.4


  • new-feature: write new excel file from pylightxl.Database
  • new-feature: write to existing excel file from pylightxl.Database
  • new-feature: db.update_index(row, col, val) for user defined cell values
  • new-feature: db.update_address(address, val) for user defined cell values
  • bug fix for reading user defined sheets
  • bug fix for mis-alignment of reading user defined sheets and xml files

Why pylightxl over pandas/openpyxl

  • (compatibility +1, small lib +1) pylightxl has no external dependencies (only uses python built-in standard libs).
  • (compatibility +1) pylightxl was written to be compatible for python 2.7-3+ under one single pylightxl version. It does not impose rules on users to switch versions.
  • (small lib +1) pylightxl was written to simply read/write, thereby making the library small without any bells or whistles which makes it easy to compile with PyInstaller and other packagers
  • (user friendly +1) pylightxl was written to be as pythonic and easy to use as possible. Core developers actively survey Stack Overflow questions on working with excel files to tailor the API for most common problems.
  • (see xlrd before pylightxl) Note that the xlrd library is very similar in values to pylightxl, but with much more functionality! Please take a look at xlrd to see if it is a good fit for your project. So why pick pylightxl over xlrd that has much more to offer? Currently, xlrd does not have any active developers. Pylightxl is a new library aimed to help solve current excel data issues (as surveyed by Stack Overflow), please submit your suggestions to help improve this library together.

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


Contact/Questions/Suggestions

If you have any questions or feedback, we would love to hear from you - send us an realpydpiper@gmail.com or 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

Project details


Download files

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

Source Distribution

pylightxl-1.41.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

pylightxl-1.41-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file pylightxl-1.41.tar.gz.

File metadata

  • Download URL: pylightxl-1.41.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.2

File hashes

Hashes for pylightxl-1.41.tar.gz
Algorithm Hash digest
SHA256 50023049f8b78155b6954c703c4c053c8c0f2c2784562ce271928ae52952836f
MD5 2e0c7d946783359001074139808016ae
BLAKE2b-256 30810061fc76683cad8fcd3e8bf3ce8cf1697db43fe25de28a5dd6de7abbe402

See more details on using hashes here.

File details

Details for the file pylightxl-1.41-py3-none-any.whl.

File metadata

  • Download URL: pylightxl-1.41-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.2

File hashes

Hashes for pylightxl-1.41-py3-none-any.whl
Algorithm Hash digest
SHA256 b3314863f2ab27d8018e3d2eeb4ffbe194288e0a4b55aeebab59aefba440eb78
MD5 9c94d25225c0bc99f956133072c7c08c
BLAKE2b-256 5beecf19d43c7147a18855c476756fd12a64473fe6cce0841a49500653ae3149

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