Python Xlsx Edit Library

Started working on a library to edit xlsx files that does not break formatting (unlike openpyxl). I was surprised that there aren't any better libraries out there for python. Learnt the structure from python-docx and ppt from scanny, parts factory and using lxml to do surgical edits.
I will try to make it into a public library.

Research on Python Library:

Todos:


Licenses:

1. Permissive (MIT, BSD, Apache-2.0)

Do anything — including use in closed/commercial products — as long as they keep your copyright notice. No obligation to share changes, no obligation to pay.

2. Copyleft / reciprocal (LGPL, GPL, AGPL)

Free to use, but derivatives must also be open-sourced under the same license.

3. Source-available (BSL, FSL, SSPL, PolyForm)

The source is public, but the license restricts commercial/production/competitive use. ⚠️ These are NOT "open source" by the official (OSI) definition.

CLA (Contributor License Agreement)

is a short agreement an outside contributor signs before you merge their pull request. It grants you the rights to their contribution.

I think I'll choose open source Apache-2.0 with CLA for the license with donations.


## Preparing for PyPI:

pyproject.toml

single central config file for your Python project (defined by PEP 517/518/621).

Trove classifiers: PyPI uses them for search/filtering (Python versions, Dev Status, OS, topic)

py.typed marker: indicates that the package is type-hinted.

twine

Twine is a tool for publishing packages to PyPI.

Optional TestPyPI rehearsal

Make sure all APIs have a good naming, changing later will be a pain.

## Releasing to PyPI


I successfully released the package to PyPI xlsxedit


I am also making a website for the library

As I might be making more libraries, I need a way to manage them all in one place.
One app, many subdomains, routed by the Host header — plus a landing subdomain that lists all my libraries.