xlea

Schema-driven Excel parsing for Python.

xlea converts Excel rows into typed Python objects — with automatic column resolution, value validation, and graceful error handling. No hard-coded indexes. No brittle column slicing. Just a clean schema class and a one-liner to iterate your data.

from xlea import Schema, Column
import xlea

class Invoice(Schema):
    id: int = Column("Invoice ID")
    client: str = Column("Client Name", ignore_case=True)
    total: float = Column("Total (USD)")

for row in xlea.autoread("invoices.xlsx", schema=Invoice):
    print(row.id, row.client, row.total)

Navigation

Getting Started

Project