# Python Excel libraries

Python Excel libraries read and write spreadsheet files from code, most of them without Excel installed. These libraries automate the reports, data imports, and exports that teams exchange as Excel workbooks.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [openpyxl](#openpyxl) | 283.0M | Not on GitHub | Jun 2024 | MIT |
| [XlsxWriter](#xlsxwriter) | 95.4M | 4.0K | Oct 2026 | BSD-2-Clause |
| [xlrd](#xlrd) | 67.0M | 2.2K | Jun 2025 | BSD-3-Clause |
| [pyxlsb](#pyxlsb) | 8.6M | 96 | Oct 2022 | LGPL-3.0 |
| [python-calamine](#python-calamine) | 6.7M | 510 | Nov 2026 | MIT |
| [pyexcel-io](#pyexcel-io) | 1.4M | 58 | Jun 2026 | BSD-3-Clause |
| [xlwings](#xlwings) | 578.0K | 3.4K | Oct 2026 | BSD-3-Clause |
| [PyExcelerate](#pyexcelerate) | 400.7K | 559 | May 2025 | BSD-2-Clause |

Downloads: PyPI, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[openpyxl](#openpyxl) has the most installs, while [XlsxWriter](#xlsxwriter) has the most GitHub stars.

## Capabilities

| Library | Edits existing workbooks | Writes cell formatting | Adds native charts | Works with pandas | Output formats |
| --- | --- | --- | --- | --- | --- |
| [openpyxl](#openpyxl) | Built-in | Built-in | Built-in | Via plugin | XLSX, XLSM |
| [XlsxWriter](#xlsxwriter) | Unsupported | Built-in | Built-in | Via plugin | XLSX |
| [xlrd](#xlrd) | Unsupported | Unsupported | Unsupported | Built-in |  |
| [pyxlsb](#pyxlsb) | Unsupported | Unsupported | Unsupported | Via plugin | Unsupported |
| [python-calamine](#python-calamine) | Unsupported | Unsupported | Unsupported | Built-in |  |
| [pyexcel-io](#pyexcel-io) | Built-in | Unsupported | Unsupported |  | CSV |
| [xlwings](#xlwings) | Built-in | Built-in | Built-in | Built-in | XLSX, XLSM |
| [PyExcelerate](#pyexcelerate) | Unsupported | Built-in | Unsupported | Unsupported | XLSM |

## Libraries

### openpyxl

[Source](https://foss.heptapod.net/openpyxl/openpyxl) · [PyPI](https://pypi.org/project/openpyxl/) · [Docs](https://openpyxl.readthedocs.io)

openpyxl reads and writes Excel workbooks in the Office Open XML formats, `.xlsx`, `.xlsm`, `.xltx`, and `.xltm`, without Excel installed. `Workbook` creates a new file, and `ws.append` adds a row to a worksheet. Cells are read and set by coordinate, with Python values such as dates converted to Excel types automatically. Unlike [XlsxWriter](#xlsxwriter), openpyxl also opens existing workbooks and changes their sheets, cells, and formulas.

- Downloads / mo: 283.0M
- Last release: 3.1.5, Jun 2024
- License: MIT
- Capabilities: [From the openpyxl docs](https://openpyxl.readthedocs.io/en/latest/tutorial.html)

**Strengths**

- **Edits existing workbooks.** Opens a workbook so code can change its sheets, cells, and formulas.
- **Handles large files.** Read-only and write-only modes keep memory low, without styles.

**Watch out for**

- **Memory per cell.** Each cell takes one to two kilobytes. Read-only and write-only modes cut memory use on large sheets.
- **Can drop content on save.** Saving an opened workbook loses any part openpyxl doesn't read.
- **No XML attack guard by default.** Untrusted files need the `defusedxml` package installed, which openpyxl then uses to block billion laughs and quadratic blowup attacks.

```sh
pip install openpyxl
```

**frappe/frappe** (11.1K stars)

[frappe/frappe](https://github.com/frappe/frappe) reads the active sheet of an uploaded xlsx file into a list of rows with openpyxl's load_workbook.

```python
def read_xlsx_file_from_attached_file(file_url=None, fcontent=None, filepath=None, *, read_only=False):
    if file_url:
        _file = frappe.get_doc("File", {"file_url": file_url})
        # read through the File, so a file on another storage driver works too
        filename = BytesIO(_file.get_content())
    elif fcontent:
        filename = BytesIO(fcontent)
    elif filepath:
        filename = filepath
    else:
        return

    from openpyxl import load_workbook

    rows = []
    wb1 = load_workbook(filename=filename, data_only=True, read_only=read_only)
    ws1 = wb1.active
    for row in ws1.iter_rows():
        rows.append([cell.value for cell in row])
    if read_only:
        wb1.close()
    return rows
```

[xlsxutils.py · read_xlsx_file_from_attached_file()](https://github.com/frappe/frappe/blob/143a4adf727584e8d0c16f591c89657f3700732d/frappe/utils/xlsxutils.py#L660-L681) · pushed Nov 2026 · [More projects using openpyxl →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20openpyxl%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**jazzband/tablib** (4.8K stars)

[jazzband/tablib](https://github.com/jazzband/tablib) writes each dataset in a book to its own worksheet and saves the workbook as bytes with openpyxl.

```python
def export_book(cls, databook, freeze_panes=True, invalid_char_subst="-",
                escape=False, column_width=None):
    """Returns XLSX representation of DataBook.
    See export_set().
    """

    wb = Workbook()
    for sheet in wb.worksheets:
        wb.remove(sheet)
    for i, dset in enumerate(databook._datasets):
        ws = wb.create_sheet()
        ws.title = (
            safe_xlsx_sheet_title(dset.title, invalid_char_subst)
            if dset.title else f"Sheet{i}"
        )

        cls.dset_sheet(dset, ws, freeze_panes=freeze_panes, escape=escape)

        cls._adapt_column_width(ws, column_width)

    stream = BytesIO()
    wb.save(stream)
    return stream.getvalue()
```

[_xlsx.py · export_book()](https://github.com/jazzband/tablib/blob/b6a75dcbe01cc42b3fd45ae5005901e2639fa7a7/src/tablib/formats/_xlsx.py#L86-L108) · pushed Nov 2026 · [More projects using openpyxl →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20openpyxl%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from openpyxl import Workbook
wb = Workbook()

# grab the active worksheet
ws = wb.active

# Data can be assigned directly to cells
ws['A1'] = 42

# Rows can also be appended
ws.append([1, 2, 3])

# Save the file
wb.save("sample.xlsx")
```

From [the docs](https://openpyxl.readthedocs.io/en/stable/)

### XlsxWriter

[GitHub](https://github.com/jmcnamara/XlsxWriter) · [PyPI](https://pypi.org/project/xlsxwriter/) · [Docs](https://xlsxwriter.readthedocs.io)

XlsxWriter writes new Excel `.xlsx` files using only the Python standard library. A `Workbook` contains worksheets created with `add_worksheet`. The `write` method places text, numbers, formulas, or links into cells, with styles made by `add_format`. Charts, images, conditional formatting, data validation, and macros are supported, along with a memory optimization mode for large files. pandas and Polars can both use XlsxWriter to save DataFrames.

- Downloads / mo: 95.4M
- Stars: 4.0K
- Last release: 3.3.1, Oct 2026
- License: BSD-2-Clause
- Capabilities: [From the XlsxWriter docs](https://xlsxwriter.readthedocs.io/faq.html)

**Strengths**

- **Clean files for Excel.** Writes text, numbers, formulas, and links to sheets Excel opens cleanly.
- **Native charts and images.** Adds Excel charts, images, and conditional formatting.

**Watch out for**

- **New files only.** Can't open or edit an existing workbook.

```sh
pip install xlsxwriter
```

**frappe/frappe** (11.1K stars)

[frappe/frappe](https://github.com/frappe/frappe) writes rows to a new xlsx sheet with XlsxWriter in constant-memory mode, with a bold header row and cell formats.

```python
def make_xlsx(
    data: list[list[Any]],
    sheet_name: str,
    wb: xlsxwriter.Workbook | None = None,
    column_widths: list[int] | None = None,
    styles: dict | None = None,
) -> BytesIO | None:
    # ...
    if wb is None:
        xlsx_file = BytesIO()
        options = {"constant_memory": True}
        # ...
        wb = xlsxwriter.Workbook(xlsx_file, options)
        created_wb = True
    ws = wb.add_worksheet(get_sanitized_sheet_name(sheet_name))
    # ...
    if not styling_enabled:
        ws.set_row(0, cell_format=wb.add_format({"bold": True}))
    # ...
    write = ws.write
    write_string = ws.write_string
    for row_idx, row in enumerate(data):
        for col_idx, value in enumerate(row):
            # ...
            if is_formula_like:
                # force literal text so the cell isn't parsed as a formula
                write_string(row_idx, col_idx, value, cell_format)
            else:
                write(row_idx, col_idx, value, cell_format)
    # ...
    wb.close()
    xlsx_file.seek(0)
    return xlsx_file
```

[xlsxutils.py · make_xlsx()](https://github.com/frappe/frappe/blob/143a4adf727584e8d0c16f591c89657f3700732d/frappe/utils/xlsxutils.py#L482-L636) · pushed Nov 2026 · [More projects using XlsxWriter →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20xlsxwriter%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**pandas-dev/pandas** (50.5K stars)

[pandas-dev/pandas](https://github.com/pandas-dev/pandas) writes DataFrame cells to an xlsx worksheet with XlsxWriter, reusing formats and merging cells where needed.

```python
def _write_cells(
    self,
    cells,
    sheet_name: str | None = None,
    startrow: int = 0,
    startcol: int = 0,
    freeze_panes: tuple[int, int] | None = None,
    autofilter_range: str | None = None,
) -> None:
    sheet_name = self._get_sheet_name(sheet_name)
    wks = self.book.get_worksheet_by_name(sheet_name)
    if wks is None:
        wks = self.book.add_worksheet(sheet_name)
    style_dict = {"null": None}
    if validate_freeze_panes(freeze_panes):
        wks.freeze_panes(*(freeze_panes))
    for cell in cells:
        val, fmt = self._value_with_fmt(cell.val)
        # ...
        if stylekey in style_dict:
            style = style_dict[stylekey]
        else:
            style = self.book.add_format(_XlsxStyler.convert(cell.style, fmt))
            style_dict[stylekey] = style
        if cell.mergestart is not None and cell.mergeend is not None:
            wks.merge_range(
                startrow + cell.row,
                startcol + cell.col,
                startrow + cell.mergestart,
                startcol + cell.mergeend,
                val,
                style,
            )
        else:
            wks.write(startrow + cell.row, startcol + cell.col, val, style)
    if autofilter_range:
        wks.autofilter(autofilter_range)
```

[_xlsxwriter.py · _write_cells()](https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_xlsxwriter.py#L243-L290) · pushed Nov 2026 · [More projects using XlsxWriter →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20xlsxwriter%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import xlsxwriter

# Create an new Excel file and add a worksheet.
workbook = xlsxwriter.Workbook("demo.xlsx")
worksheet = workbook.add_worksheet()

# Add a bold format to use to highlight cells.
bold = workbook.add_format({"bold": True})

# Write some simple text.
worksheet.write("A1", "Hello")

# Text with formatting.
worksheet.write("A2", "World", bold)

workbook.close()

```

From [the README](https://github.com/jmcnamara/XlsxWriter/blob/main/README.rst)

### xlrd

[GitHub](https://github.com/python-excel/xlrd) · [PyPI](https://pypi.org/project/xlrd/) · [Docs](http://www.python-excel.org/)

xlrd reads data and formatting from Excel files in the older `.xls` format and no other format. `open_workbook` returns a book, `sheet_by_index` returns a sheet, and `cell_value` reads one cell. Formula results come back as values. Each sheet exposes cell comments through `cell_note_map` and hyperlinks through `hyperlink_map`. Newer formats need another library, such as [openpyxl](#openpyxl) for `.xlsx`.

- Downloads / mo: 67.0M
- Stars: 2.2K
- Last release: 2.0.2, Jun 2025
- License: BSD-3-Clause
- Capabilities: [From the xlrd docs](https://pypi.org/project/xlrd/)

**Strengths**

- **Reads old .xls files.** The standard reader for .xls, with no dependencies.
- **Built into pandas.** pandas.read_excel uses xlrd for .xls files automatically.

**Watch out for**

- **.xls files only.** Use openpyxl or python-calamine for .xlsx files.
- **Skips charts and macros.** Charts, macros, and pictures are ignored on read.
- **No password-protected files.** Locked .xls files can't be opened.

```sh
pip install xlrd
```

**jazzband/tablib** (4.8K stars)

[jazzband/tablib](https://github.com/jazzband/tablib) reads every sheet of an xls file into tablib datasets with xlrd's open_workbook.

```python
def import_book(cls, dbook, in_stream, headers=True):
    """Returns databook from XLS stream."""

    dbook.wipe()

    xls_book = xlrd.open_workbook(file_contents=in_stream.read())

    for sheet in xls_book.sheets():
        dset = tablib.Dataset()
        cls.import_sheet(dset, sheet, xls_book.datemode, headers)
        dbook.add_sheet(dset)
```

[_xls.py · import_book()](https://github.com/jazzband/tablib/blob/b6a75dcbe01cc42b3fd45ae5005901e2639fa7a7/src/tablib/formats/_xls.py#L133-L143) · pushed Nov 2026 · [More projects using xlrd →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20xlrd%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**pandas-dev/pandas** (50.5K stars)

[pandas-dev/pandas](https://github.com/pandas-dev/pandas) opens an xls workbook with xlrd from either a file path or an in-memory buffer.

```python
def load_workbook(self, filepath_or_buffer, engine_kwargs) -> Book:
    from xlrd import open_workbook

    if hasattr(filepath_or_buffer, "read"):
        data = filepath_or_buffer.read()
        return open_workbook(file_contents=data, **engine_kwargs)
    else:
        return open_workbook(filepath_or_buffer, **engine_kwargs)
```

[_xlrd.py · load_workbook()](https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_xlrd.py#L78-L85) · pushed Nov 2026 · [More projects using xlrd →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20xlrd%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import xlrd
book = xlrd.open_workbook("myfile.xls")
print("The number of worksheets is {0}".format(book.nsheets))
print("Worksheet name(s): {0}".format(book.sheet_names()))
sh = book.sheet_by_index(0)
print("{0} {1} {2}".format(sh.name, sh.nrows, sh.ncols))
print("Cell D30 is {0}".format(sh.cell_value(rowx=29, colx=3)))
for rx in range(sh.nrows):
    print(sh.row(rx))
```

From [the README](https://github.com/python-excel/xlrd/blob/master/README.rst)

### pyxlsb

[GitHub](https://github.com/willtrnr/pyxlsb) · [PyPI](https://pypi.org/project/pyxlsb/)

pyxlsb reads Excel binary workbooks, the `.xlsb` format. `open_workbook` opens a file, `get_sheet` picks a sheet by name or by position counting from one, and `rows` iterates over the sheet as lists of cells. Dates arrive as floats, which `convert_date` turns into `datetime` values. The README describes the library as limited but enough for basic data extraction.

- Downloads / mo: 8.6M
- Stars: 96
- Last release: 1.0.10, Oct 2022
- License: LGPL-3.0
- Capabilities: [From the pyxlsb docs](https://pypi.org/project/pyxlsb/)

**Strengths**

- **Reads big .xlsb files row by row.** Returns rows as it reads them, so large files stay manageable.
- **Built into pandas.** pandas.read_excel uses pyxlsb for .xlsb files automatically.

**Watch out for**

- **Reads rows only.** Can't write files or read formatting.
- **Errors come back as codes.** Cells like #DIV/0! return as hex codes to map back by hand.
- **Dates come back as numbers.** Each date needs convert_date() to become a datetime.

```sh
pip install pyxlsb
```

**pandas-dev/pandas** (50.5K stars)

[pandas-dev/pandas](https://github.com/pandas-dev/pandas) reads an xlsb sheet into a list of rows with pyxlsb, trimming trailing empty cells and padding short rows.

```python
def get_sheet_data(
    self,
    sheet: Worksheet,
    file_rows_needed: int | None = None,
) -> list[list[Scalar]]:
    data: list[list[Scalar]] = []
    previous_row_number = -1
    # When sparse=True the rows can have different lengths and empty rows are
    # not returned. The cells are namedtuples of row, col, value (r, c, v).
    for row in sheet.rows(sparse=True):
        row_number = row[0].r
        converted_row = [self._convert_cell(cell) for cell in row]
        while converted_row and converted_row[-1] == "":
            # trim trailing empty elements
            converted_row.pop()
        if converted_row:
            data.extend([[]] * (row_number - previous_row_number - 1))
            data.append(converted_row)
            previous_row_number = row_number
        if file_rows_needed is not None and len(data) >= file_rows_needed:
            break
    if data:
        # extend rows to max_width
        max_width = max(len(data_row) for data_row in data)
        if min(len(data_row) for data_row in data) < max_width:
            empty_cell: list[Scalar] = [""]
            data = [
                data_row + (max_width - len(data_row)) * empty_cell
                for data_row in data
            ]
    return data
```

[_pyxlsb.py · get_sheet_data()](https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_pyxlsb.py#L118-L148) · pushed Nov 2026 · [More projects using pyxlsb →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pyxlsb%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from pyxlsb import open_workbook
with open_workbook('Book1.xlsb') as wb:
    with wb.get_sheet(1) as sheet:
        for row in sheet.rows():
            print(row)
```

From [the README](https://github.com/willtrnr/pyxlsb/blob/7dca9403f61a71ca4ca53cad4330ce068cef4dbd/README.rst)

### python-calamine

[GitHub](https://github.com/dimastbk/python-calamine) · [PyPI](https://pypi.org/project/python-calamine/)

python-calamine is a Python binding for calamine, a Rust library for Excel and OpenDocument spreadsheets: `.xlsx`, `.xlsm`, `.xlsb`, `.xls`, and `.ods`. `CalamineWorkbook.from_path` opens a file, and a sheet's `to_python` method returns its cells as a list of rows. Blank rows and columns before the data are skipped unless `skip_empty_area` is false. pandas reads through python-calamine with `engine="calamine"`, so one engine covers formats that otherwise need [openpyxl](#openpyxl), [xlrd](#xlrd), and [pyxlsb](#pyxlsb).

- Downloads / mo: 6.7M
- Stars: 510
- Last release: 0.9.1, Nov 2026
- License: MIT
- Capabilities: [From the python-calamine docs](https://github.com/dimastbk/python-calamine/)

**Strengths**

- **Fastest reader.** Reads .xlsx, .xlsm, .xlsb, .xls, and .ods faster than the others here.
- **Works inside pandas.** pandas reads through it with engine="calamine".

**Watch out for**

- **Read-only.** Writing files needs another library, such as openpyxl.
- **Whole numbers become floats.** IDs and counts come back as floats, such as 0.0.

```sh
pip install python-calamine
```

**aws-samples/bedrock-claude-chatbot** (109 stars)

[aws-samples/bedrock-claude-chatbot](https://github.com/aws-samples/bedrock-claude-chatbot) reads every sheet of an Excel file from cloud storage with python-calamine and turns each one into delimited text.

```python
def calamaine_excel_engine(file,cutoff):
    # # Read from S3
    s3 = boto3.client('s3')
    match = re.match("s3://(.+?)/(.+)", file)
    if match:
        bucket_name = match.group(1)
        key = match.group(2)
        obj = s3.get_object(Bucket=bucket_name, Key=key)
        # Read Excel file from S3 into a buffer
        xlsx_buffer = io.BytesIO(obj['Body'].read())
        xlsx_buffer.seek(0)
        all_sheets_string = ""
        # Load the Excel file
        workbook = CalamineWorkbook.from_filelike(xlsx_buffer)
        # Iterate over each sheet in the workbook
        for sheet_name in workbook.sheet_names:
            # Get the sheet by name
            sheet = workbook.get_sheet_by_name(sheet_name)
            df = pd.DataFrame(sheet.to_python(skip_empty_area=False))
            df = df.map(strip_newline)
            preview_note = ""
            if cutoff and len(df) > cutoff:
                preview_note = (f"\n[PREVIEW: first {cutoff} of {len(df)} rows. The "
                                "data-analysis tool has access to the complete file.]\n")
                df = df.iloc[:cutoff]
            # print(df)
            tabb = df.to_csv(sep=CSV_SEPERATOR, index=False, header=0)
            all_sheets_string += f'<{sheet_name}>\n{tabb}{preview_note}\n</{sheet_name}>\n'
        return all_sheets_string
    else:
        raise Exception(f"{file} not formatted as an S3 path")
```

[bedrock-chat.py · calamaine_excel_engine()](https://github.com/aws-samples/bedrock-claude-chatbot/blob/eeb2fa35339081d34ea9caa4e4d39cf1c189770a/bedrock-chat.py#L545-L575) · pushed Aug 2026 · [More projects using python-calamine →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20python-calamine%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**pandas-dev/pandas** (50.5K stars)

[pandas-dev/pandas](https://github.com/pandas-dev/pandas) reads an Excel sheet into rows with python-calamine's to_python, turning whole floats into integers.

```python
def get_sheet_data(
    self, sheet: CalamineSheet, file_rows_needed: int | None = None
) -> list[list[Scalar | NaTType | time]]:
    def _convert_cell(value: _CellValue) -> Scalar | NaTType | time:
        if isinstance(value, float):
            # GH#54564 - is_integer() returns False for NaN/Inf,
            # so this safely avoids int() on non-finite values
            if value.is_integer():
                return int(value)
            return value
        elif isinstance(value, (datetime, timedelta)):
            # Return as-is to match openpyxl behavior (GH#59186)
            return value
        elif isinstance(value, date):
            # Convert date to datetime to match openpyxl behavior (GH#59186)
            return datetime(value.year, value.month, value.day)
        elif isinstance(value, time):
            return value

        return value

    rows: list[list[_CellValue]] = sheet.to_python(
        skip_empty_area=False, nrows=file_rows_needed
    )
    data = [[_convert_cell(cell) for cell in row] for row in rows]

    return data
```

[_calamine.py · get_sheet_data()](https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_calamine.py#L103-L129) · pushed Nov 2026 · [More projects using python-calamine →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20python-calamine%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from python_calamine import CalamineWorkbook

workbook = CalamineWorkbook.from_path("file.xlsx")
workbook.sheet_names
# ["Sheet1", "Sheet2"]

workbook.get_sheet_by_name("Sheet1").to_python()
# [
# ["1",  "2",  "3",  "4",  "5",  "6",  "7"],
# ["1",  "2",  "3",  "4",  "5",  "6",  "7"],
# ["1",  "2",  "3",  "4",  "5",  "6",  "7"],
# ]
```

From [the README](https://github.com/dimastbk/python-calamine/blob/master/README.md)

### pyexcel-io

[GitHub](https://github.com/pyexcel/pyexcel-io) · [PyPI](https://pypi.org/project/pyexcel-io/) · [Docs](http://io.pyexcel.org)

pyexcel-io reads and writes spreadsheet data through one pair of functions, `get_data` and `save_data`. The same functions move data into and out of Django and SQLAlchemy databases. CSV and TSV work without extras. Excel and OpenDocument formats each come from a plugin package, such as `pyexcel-xlsx`, built on [openpyxl](#openpyxl), or `pyexcel-xls`, built on [xlrd](#xlrd). When two installed plugins handle the same format, the `library` argument picks one per call.

- Downloads / mo: 1.4M
- Stars: 58
- Last release: 0.6.8, Jun 2026
- License: BSD-3-Clause
- Capabilities: [From the pyexcel-io docs](https://github.com/pyexcel/pyexcel-io/)

**Strengths**

- **One API for every format.** The same calls read and write CSV, xls, xlsx, and ods.
- **Loads into databases.** Moves sheet data into and out of Django and SQLAlchemy.

**Watch out for**

- **Values only.** No fonts, colors, charts, or password-protected files.
- **Plugin per format.** xls, xlsx, and ods each need a separate plugin package.

```sh
pip install pyexcel-io
```

**pyexcel/pyexcel** (1.3K stars)

[pyexcel/pyexcel](https://github.com/pyexcel/pyexcel) reads spreadsheet data with pyexcel-io, using iget_data to read on demand and get_data otherwise.

```python
def _parse_any(
    self,
    anything,
    on_demand=False,
    file_type=None,
    **keywords,
):
    if on_demand:
        sheets, reader = iget_data(
            anything,
            file_type=file_type,
            **keywords,
        )
        self._free_me_up_later(reader)
    else:
        sheets = get_data(anything, file_type=file_type, **keywords)
    return sheets
```

[excel.py · _parse_any()](https://github.com/pyexcel/pyexcel/blob/481c616e7e734e2731b0cd15c82de8f95d0e2cc4/pyexcel/plugins/parsers/excel.py#L36-L52) · pushed Sep 2026 · [More projects using pyexcel-io →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pyexcel-io%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from pyexcel_io import save_data
data = [[1, 2, 3], [4, 5, 6]]
save_data("your_file.csv", data)

from pyexcel_io import get_data
data = get_data("your_file.csv")
```

From [the docs](https://pyexcel-io.readthedocs.io/en/latest/plaincsv.html)

### xlwings

[GitHub](https://github.com/xlwings/xlwings) · [PyPI](https://pypi.org/project/xlwings/) · [Docs](https://www.xlwings.org)

xlwings controls a running copy of Excel from Python on Windows and macOS, so Excel has to be installed. `xw.Book` opens or connects to a workbook, `wb.sheets` returns a sheet, and assigning to a range's `value` writes cells. Converters move NumPy arrays and pandas DataFrames in both directions. In the other direction, macros written in Python replace VBA, and user-defined functions run in cells on Windows. Excel itself recalculates formulas and saves the file.

- Downloads / mo: 578.0K
- Stars: 3.4K
- Last release: 0.37.8, Oct 2026
- License: BSD-3-Clause
- Capabilities: [From the xlwings docs](https://docs.xlwings.org/en/0.31.6/api/book.html)

**Strengths**

- **DataFrames in and out of Excel.** Moves pandas DataFrames to Excel ranges and back.
- **Replaces VBA.** Writes Excel macros and custom functions in Python.
- **Formulas recalculate.** Excel itself saves the file, so formulas update.

**Watch out for**

- **Needs Excel installed.** Runs only on a desktop with Excel, so server jobs are fragile.
- **Some features are paid.** xlwings Server, Reports, and Reader are part of xlwings PRO, which needs a paid license for commercial use.

```sh
pip install xlwings
```

**fzumstein/python-for-excel** (784 stars)

[fzumstein/python-for-excel](https://github.com/fzumstein/python-for-excel) refreshes a dropdown's source range in the open workbook from a pandas DataFrame with xlwings.

```python
def refresh_dropdown() -> None:
    """Refreshes the dropdown on the Tracker tab with the content of
    the packages table.
    """
    # Excel objects
    book = xw.Book.caller()
    dropdown_sheet = book.sheets["Dropdown"]
    tracker_sheet = book.sheets["Tracker"]
    dropdown_content_cell = dropdown_sheet["dropdown_content"]

    # Clear the current value in the dropdown
    tracker_sheet["package_selection"].clear_contents()

    # Delete the content of the Excel table and repopulate it
    # with the values from the packages database table
    if dropdown_content_cell.value:
        dropdown_content_cell.delete()
    packages = database.get_packages()
    dropdown_content_cell.options(header=False, index=False).value = packages
```

[packagetracker.py · refresh_dropdown()](https://github.com/fzumstein/python-for-excel/blob/4b32f731c178cfd29e2c1cff6b53199d55aa550e/packagetracker/packagetracker.py#L205-L223) · pushed Jul 2026 · [More projects using xlwings →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20xlwings%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**fzumstein/python-for-excel** (784 stars)

[fzumstein/python-for-excel](https://github.com/fzumstein/python-for-excel) writes the latest release to a cell and inserts a Matplotlib chart into the open sheet with xlwings.

```python
def show_history() -> None:
    """Shows the latest release and plots the release history
    (number of releases per year)
    """
    # Excel objects
    book = xw.Book.caller()
    tracker_sheet = book.sheets["Tracker"]
    package_name = tracker_sheet["package_selection"].value
    feedback_cell = tracker_sheet["package_selection"].offset(column_offset=1)
    picture_cell = tracker_sheet["latest_release"].offset(row_offset=2)
    latest_release_cell = tracker_sheet["latest_release"]
    # ...
    # Clear output cells and picture
    feedback_cell.clear_contents()
    tracker_sheet["latest_release"].clear_contents()
    if "releases_per_year" in tracker_sheet.pictures:
        tracker_sheet.pictures["releases_per_year"].delete()
    # ...
    # Plot
    fig = create_releases_chart(releases, package_name)

    latest_date = releases.index.max()
    latest_version = releases.loc[latest_date, "version"]
    latest_release_cell.value = f"{latest_version} ({latest_date:%B %d, %Y})"

    tracker_sheet.pictures.add(
        fig, name="releases_per_year", top=picture_cell.top, left=picture_cell.left
    )
```

[packagetracker.py · show_history()](https://github.com/fzumstein/python-for-excel/blob/4b32f731c178cfd29e2c1cff6b53199d55aa550e/packagetracker/packagetracker.py#L159-L202) · pushed Jul 2026 · [More projects using xlwings →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20xlwings%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import xlwings as xw

wb = xw.Book()  # this will open a new workbook
sheet = wb.sheets['Sheet1']
sheet['A1'].value = 'Foo 1'
print(sheet['A1'].value)

```

From [the docs](https://docs.xlwings.org/en/stable/quickstart.html)

### PyExcelerate

[GitHub](https://github.com/kz26/PyExcelerate) · [PyPI](https://pypi.org/project/pyexcelerate/)

PyExcelerate writes `.xlsx` files with an emphasis on speed. `new_sheet` takes a two-dimensional list of values at once, and `range` writes a block of cells. Single cells, formulas, dates, merged cells, and styles are supported too, though each step away from bulk values runs slower. In the README's benchmark, bulk values write faster than with [XlsxWriter](#xlsxwriter) or [openpyxl](#openpyxl).

- Downloads / mo: 400.7K
- Stars: 559
- Last release: 0.13.0, May 2025
- License: BSD-2-Clause
- Capabilities: [From the PyExcelerate docs](https://github.com/kz26/PyExcelerate/blob/dev/README.md)

**Strengths**

- **Fast bulk writes.** Writes 1000 rows by 100 columns of values in 0.47 seconds.

**Watch out for**

- **Styles slow writes.** In the README benchmark, a styled sheet of 1000 rows by 100 columns takes 2.40 to 6.15 seconds, against 0.47 for plain values.
- **Writes only.** Reading files and conditional formatting need another library.

```sh
pip install pyexcelerate
```

**JacobBumgarner/VesselVio** (140 stars)

[JacobBumgarner/VesselVio](https://github.com/JacobBumgarner/VesselVio) writes results to an xlsx file with PyExcelerate and styles the header rows and columns.

```python
def create_results_file(results_file, data):
    wb = Workbook()
    ws = wb.new_sheet("Main Results", data=data)
    row_style = Style(
        font=Font(bold=True),
        alignment=Alignment(wrap_text=True, horizontal="center", vertical="center"),
        size=60,
    )
    # col_style = Style(font=Font(bold=True), alignment=Alignment(wrap_text=True, horizontal='fill', vertical='bottom'))
    col_style = Style(font=Font(bold=True))
    ws.set_col_style((3, 7, 9, 10, 15, 16, 37, 58), Style(size=12))
    ws.set_row_style((1, 2), row_style)
    ws.set_col_style((1, 2), col_style)
    wb.save(results_file)
```

[results_export.py · create_results_file()](https://github.com/JacobBumgarner/VesselVio/blob/db256edb97876ff9993cb58869cfe875ed1e1d59/library/results_export.py#L71-L84) · pushed Nov 2026 · [More projects using PyExcelerate →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pyexcelerate%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**rg3915/dicas-de-django** (229 stars)

[rg3915/dicas-de-django](https://github.com/rg3915/dicas-de-django) exports Django products to an xlsx file with PyExcelerate's Workbook and new_sheet.

```python
def export_xlsx(request):
    products = Product.objects.all()
    data = [(product.title, product.price) for product in products]
    data.insert(0, ('title', 'price'))

    wb = Workbook()
    wb.new_sheet("sheet name", data=data)
    wb.save("/tmp/products_out.xlsx")
    return redirect('product:product_list')
```

[views.py · export_xlsx()](https://github.com/rg3915/dicas-de-django/blob/7f9bcd80b0201a1d9c0af3909c51c9dc085ada8a/backend/product/views.py#L124-L132) · pushed Nov 2026 · [More projects using PyExcelerate →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pyexcelerate%20for%20reading%20and%20writing%20Excel%20spreadsheets%20%28xlsx%20files%29&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from pyexcelerate import Workbook

wb = Workbook()
ws = wb.new_sheet("test", data=[[1, 2], [3, 4]])
wb.save("output.xlsx")
```

From [the README](https://github.com/kz26/PyExcelerate/blob/dev/README.md)

## FAQ

### What is the best Python library for Excel?

It depends on the job: [openpyxl](#openpyxl) edits existing .xlsx workbooks and has 283.0M downloads a month, [XlsxWriter](#xlsxwriter) builds new formatted files, [python-calamine](#python-calamine) reads fastest, and [xlwings](#xlwings) drives Excel itself.

### How to read an Excel file in Python?

pandas.read_excel() reads a sheet into a DataFrame and picks a reader by file type: [openpyxl](#openpyxl) for .xlsx, [xlrd](#xlrd) for .xls, and [pyxlsb](#pyxlsb) for .xlsb. Pass engine="calamine" to read through [python-calamine](#python-calamine) instead, which is faster. pandas plans to make calamine the default .xlsx reader.

### Can openpyxl create pivot tables?

No. [openpyxl](#openpyxl) keeps the pivot tables in an existing file when it saves, and can change a pivot table's range or refresh setting, but it can't create a new one. [xlwings](#xlwings) can build one, because it drives a running copy of Excel.

### Which is better, openpyxl or XlsxWriter?

[openpyxl](#openpyxl) reads, edits, and writes .xlsx files. [XlsxWriter](#xlsxwriter) only writes new files, but it has the richer formatting options, native charts, and a constant_memory mode for very large exports. Use openpyxl to change a workbook that already exists, and XlsxWriter to build a report from scratch.

### What is the difference between openpyxl and pandas?

pandas shapes the data and openpyxl handles the file. pandas.read_excel() and DataFrame.to_excel() call [openpyxl](#openpyxl) or [XlsxWriter](#xlsxwriter) underneath. Use openpyxl directly for cell formatting, formulas, or editing a workbook in place.

### Can Python run inside Excel?

Yes. [xlwings](#xlwings) lets Excel call Python functions from cells and replaces VBA macros with Python code. It needs a desktop copy of Excel on Windows or macOS.

### What is openpyxl?

[openpyxl](#openpyxl) is a Python library that reads and writes Excel .xlsx and .xlsm files. It can open an existing workbook, change its sheets, cells, and formulas, and save it. pandas uses it as the default .xlsx reader.

## How this page was built

Data checked Nov 10, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "open source Python libraries for reading and writing Excel spreadsheets (xlsx files)",
    "numResults": 20,
    "type": "auto",
    "includeDomains": [
      "github.com"
    ]
  }
}
```

The other calls behind this page:

```
POST /search
Query: Python Excel library package
Within: github.com
```

```
POST /contents
Reads: https://foss.heptapod.net/openpyxl/openpyxl, https://openpyxl.readthedocs.io, https://pypi.org/project/openpyxl/
```

```
POST /answer
Query: Can the Python library openpyxl (openpyxl on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library openpyxl (openpyxl on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library openpyxl (openpyxl on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library openpyxl (openpyxl on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library openpyxl (openpyxl) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses openpyxl for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/sundial-org/awesome-openclaw-skills/blob/357e18def3dcf403123565d214d0d505aa993555/skills/excel/scripts/excel.py
```

```
POST /contents
Reads: https://github.com/jmcnamara/XlsxWriter, https://xlsxwriter.readthedocs.io, https://pypi.org/project/xlsxwriter/
```

```
POST /answer
Query: Can the Python library XlsxWriter (xlsxwriter on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library XlsxWriter (xlsxwriter on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library XlsxWriter (xlsxwriter on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library XlsxWriter (xlsxwriter on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library XlsxWriter (xlsxwriter) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses xlsxwriter for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/alibaba/rtp-llm/blob/842ef92511bd13bec1e5779add5d98d457063c13/rtp_llm/flexlb/tools/pv_request_replay/build_workbook.py
```

```
POST /contents
Reads: https://github.com/python-excel/xlrd, http://www.python-excel.org/, https://pypi.org/project/xlrd/
```

```
POST /answer
Query: Can the Python library xlrd (xlrd on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library xlrd (xlrd on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library xlrd (xlrd on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library xlrd (xlrd on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library xlrd (xlrd) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses xlrd for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/wireservice/csvkit/blob/e54cc79014ec82ee99bdcedcd229aeaeb9eab1bd/csvkit/utilities/in2csv.py
```

```
POST /contents
Reads: https://github.com/willtrnr/pyxlsb, https://pypi.org/project/pyxlsb/
```

```
POST /answer
Query: Can the Python library pyxlsb (pyxlsb on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pyxlsb (pyxlsb on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pyxlsb (pyxlsb on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pyxlsb (pyxlsb on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library pyxlsb (pyxlsb) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pyxlsb for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/dimastbk/python-calamine, https://pypi.org/project/python-calamine/
```

```
POST /answer
Query: Can the Python library python-calamine (python-calamine on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library python-calamine (python-calamine on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library python-calamine (python-calamine on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library python-calamine (python-calamine on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library python-calamine (python-calamine) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses python-calamine for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/yfedoseev/office_oxide/blob/642ea1889c1ffcdba5003370d6e448819e976b50/scripts/regression-sweep/refpanel.py
```

```
POST /contents
Reads: https://github.com/pyexcel/pyexcel-io, http://io.pyexcel.org, https://pypi.org/project/pyexcel-io/
```

```
POST /answer
Query: Can the Python library pyexcel-io (pyexcel-io on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pyexcel-io (pyexcel-io on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pyexcel-io (pyexcel-io on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library pyexcel-io (pyexcel-io on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library pyexcel-io (pyexcel-io) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pyexcel-io for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/pyexcel-webwares/django-excel/blob/d28d52b99d765b2c882f7c46a444022799f0991e/testResponse.py
```

```
POST /contents
Reads: https://github.com/xlwings/xlwings, https://www.xlwings.org, https://pypi.org/project/xlwings/
```

```
POST /answer
Query: Can the Python library xlwings (xlwings on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library xlwings (xlwings on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library xlwings (xlwings on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library xlwings (xlwings on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library xlwings (xlwings) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses xlwings for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/kz26/PyExcelerate, https://pypi.org/project/pyexcelerate/
```

```
POST /answer
Query: Can the Python library PyExcelerate (pyexcelerate on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library PyExcelerate (pyexcelerate on PyPI) write cell formatting such as fonts, fills, borders, and number formats to Excel files? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library PyExcelerate (pyexcelerate on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library PyExcelerate (pyexcelerate on PyPI) work with pandas, either as an engine for pandas read_excel or to_excel, or by reading into or writing from a pandas DataFrame? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library PyExcelerate (pyexcelerate) write or save spreadsheets as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses pyexcelerate for reading and writing Excel spreadsheets (xlsx files), application code
Within: github.com
```

Docs: https://exa.ai/docs/reference/search
