{
  "id": "task_libraries:excel/python",
  "path": "/exapedia/python-excel-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python Excel libraries",
  "answer": [
    {
      "t": "text",
      "text": "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."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python Excel libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#openpyxl",
                  "label": [
                    {
                      "t": "text",
                      "text": "openpyxl"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F1"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F4"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F2"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#xlsxwriter",
                  "label": [
                    {
                      "t": "text",
                      "text": "XlsxWriter"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F25"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F26"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F29"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F27"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#xlrd",
                  "label": [
                    {
                      "t": "text",
                      "text": "xlrd"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F47"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F48"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F51"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F49"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyxlsb",
                  "label": [
                    {
                      "t": "text",
                      "text": "pyxlsb"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F75"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-calamine",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F93"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F98"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyexcel-io",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F117"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F118"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F119"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F122"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F120"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#xlwings",
                  "label": [
                    {
                      "t": "text",
                      "text": "xlwings"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyexcelerate",
                  "label": [
                    {
                      "t": "text",
                      "text": "PyExcelerate"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most installs, while "
        },
        {
          "t": "link",
          "href": "#xlsxwriter",
          "label": [
            {
              "t": "text",
              "text": "XlsxWriter"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most GitHub stars."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Edits existing workbooks",
            "Writes cell formatting",
            "Adds native charts",
            "Works with pandas",
            "Output formats"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#openpyxl",
                  "label": [
                    {
                      "t": "text",
                      "text": "openpyxl"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F5"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F7"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F8"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F9"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#xlsxwriter",
                  "label": [
                    {
                      "t": "text",
                      "text": "XlsxWriter"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F30"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F31"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F33"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#xlrd",
                  "label": [
                    {
                      "t": "text",
                      "text": "xlrd"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F290"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F52"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F53"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F54"
                }
              ],
              []
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyxlsb",
                  "label": [
                    {
                      "t": "text",
                      "text": "pyxlsb"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F76"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F77"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F78"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F79"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F80"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-calamine",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F93"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F291"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F99"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F292"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F100"
                }
              ],
              []
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyexcel-io",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F117"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F123"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ],
              [],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#xlwings",
                  "label": [
                    {
                      "t": "text",
                      "text": "xlwings"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyexcelerate",
                  "label": [
                    {
                      "t": "text",
                      "text": "PyExcelerate"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F293"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F294"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "openpyxl",
          "name": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ],
          "links": [
            {
              "label": "Source",
              "href": "https://foss.heptapod.net/openpyxl/openpyxl"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/openpyxl/"
            },
            {
              "label": "Docs",
              "href": "https://openpyxl.readthedocs.io"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "openpyxl reads and writes Excel workbooks in the Office Open XML formats, "
            },
            {
              "t": "code",
              "text": ".xlsx"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": ".xlsm"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": ".xltx"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": ".xltm"
            },
            {
              "t": "text",
              "text": ", without Excel installed. "
            },
            {
              "t": "code",
              "text": "Workbook"
            },
            {
              "t": "text",
              "text": " creates a new file, and "
            },
            {
              "t": "code",
              "text": "ws.append"
            },
            {
              "t": "text",
              "text": " 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 "
            },
            {
              "t": "link",
              "href": "#xlsxwriter",
              "label": [
                {
                  "t": "text",
                  "text": "XlsxWriter"
                }
              ]
            },
            {
              "t": "text",
              "text": ", openpyxl also opens existing workbooks and changes their sheets, cells, and formulas."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F1"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F3"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F2"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://openpyxl.readthedocs.io/en/latest/tutorial.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "openpyxl"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F23"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F24"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "No XML attack guard by default"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Untrusted files need the "
                },
                {
                  "t": "code",
                  "text": "defusedxml"
                },
                {
                  "t": "text",
                  "text": " package installed, which openpyxl then uses to block billion laughs and quadratic blowup attacks."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/frappe/frappe",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads the active sheet of an uploaded xlsx file into a list of rows with openpyxl's load_workbook."
                }
              ],
              "language": "python",
              "code": "def read_xlsx_file_from_attached_file(file_url=None, fcontent=None, filepath=None, *, read_only=False):\n    if file_url:\n        _file = frappe.get_doc(\"File\", {\"file_url\": file_url})\n        # read through the File, so a file on another storage driver works too\n        filename = BytesIO(_file.get_content())\n    elif fcontent:\n        filename = BytesIO(fcontent)\n    elif filepath:\n        filename = filepath\n    else:\n        return\n\n    from openpyxl import load_workbook\n\n    rows = []\n    wb1 = load_workbook(filename=filename, data_only=True, read_only=read_only)\n    ws1 = wb1.active\n    for row in ws1.iter_rows():\n        rows.append([cell.value for cell in row])\n    if read_only:\n        wb1.close()\n    return rows",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/frappe/frappe/blob/143a4adf727584e8d0c16f591c89657f3700732d/frappe/utils/xlsxutils.py#L660-L681",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "openpyxl"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jazzband/tablib",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "writes each dataset in a book to its own worksheet and saves the workbook as bytes with openpyxl."
                }
              ],
              "language": "python",
              "code": "def export_book(cls, databook, freeze_panes=True, invalid_char_subst=\"-\",\n                escape=False, column_width=None):\n    \"\"\"Returns XLSX representation of DataBook.\n    See export_set().\n    \"\"\"\n\n    wb = Workbook()\n    for sheet in wb.worksheets:\n        wb.remove(sheet)\n    for i, dset in enumerate(databook._datasets):\n        ws = wb.create_sheet()\n        ws.title = (\n            safe_xlsx_sheet_title(dset.title, invalid_char_subst)\n            if dset.title else f\"Sheet{i}\"\n        )\n\n        cls.dset_sheet(dset, ws, freeze_panes=freeze_panes, escape=escape)\n\n        cls._adapt_column_width(ws, column_width)\n\n    stream = BytesIO()\n    wb.save(stream)\n    return stream.getvalue()",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jazzband/tablib/blob/b6a75dcbe01cc42b3fd45ae5005901e2639fa7a7/src/tablib/formats/_xlsx.py#L86-L108",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F212"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "openpyxl"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from openpyxl import Workbook\nwb = Workbook()\n\n# grab the active worksheet\nws = wb.active\n\n# Data can be assigned directly to cells\nws['A1'] = 42\n\n# Rows can also be appended\nws.append([1, 2, 3])\n\n# Save the file\nwb.save(\"sample.xlsx\")",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://openpyxl.readthedocs.io/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "xlsxwriter",
          "name": [
            {
              "t": "text",
              "text": "XlsxWriter"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jmcnamara/XlsxWriter"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/xlsxwriter/"
            },
            {
              "label": "Docs",
              "href": "https://xlsxwriter.readthedocs.io"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "XlsxWriter writes new Excel "
            },
            {
              "t": "code",
              "text": ".xlsx"
            },
            {
              "t": "text",
              "text": " files using only the Python standard library. A "
            },
            {
              "t": "code",
              "text": "Workbook"
            },
            {
              "t": "text",
              "text": " contains worksheets created with "
            },
            {
              "t": "code",
              "text": "add_worksheet"
            },
            {
              "t": "text",
              "text": ". The "
            },
            {
              "t": "code",
              "text": "write"
            },
            {
              "t": "text",
              "text": " method places text, numbers, formulas, or links into cells, with styles made by "
            },
            {
              "t": "code",
              "text": "add_format"
            },
            {
              "t": "text",
              "text": ". 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F25"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F26"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F28"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F27"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://xlsxwriter.readthedocs.io/faq.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "XlsxWriter"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/frappe/frappe",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F214"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "writes rows to a new xlsx sheet with XlsxWriter in constant-memory mode, with a bold header row and cell formats."
                }
              ],
              "language": "python",
              "code": "def make_xlsx(\n    data: list[list[Any]],\n    sheet_name: str,\n    wb: xlsxwriter.Workbook | None = None,\n    column_widths: list[int] | None = None,\n    styles: dict | None = None,\n) -> BytesIO | None:\n    # ...\n    if wb is None:\n        xlsx_file = BytesIO()\n        options = {\"constant_memory\": True}\n        # ...\n        wb = xlsxwriter.Workbook(xlsx_file, options)\n        created_wb = True\n    ws = wb.add_worksheet(get_sanitized_sheet_name(sheet_name))\n    # ...\n    if not styling_enabled:\n        ws.set_row(0, cell_format=wb.add_format({\"bold\": True}))\n    # ...\n    write = ws.write\n    write_string = ws.write_string\n    for row_idx, row in enumerate(data):\n        for col_idx, value in enumerate(row):\n            # ...\n            if is_formula_like:\n                # force literal text so the cell isn't parsed as a formula\n                write_string(row_idx, col_idx, value, cell_format)\n            else:\n                write(row_idx, col_idx, value, cell_format)\n    # ...\n    wb.close()\n    xlsx_file.seek(0)\n    return xlsx_file",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/frappe/frappe/blob/143a4adf727584e8d0c16f591c89657f3700732d/frappe/utils/xlsxutils.py#L482-L636",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "XlsxWriter"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "writes DataFrame cells to an xlsx worksheet with XlsxWriter, reusing formats and merging cells where needed."
                }
              ],
              "language": "python",
              "code": "def _write_cells(\n    self,\n    cells,\n    sheet_name: str | None = None,\n    startrow: int = 0,\n    startcol: int = 0,\n    freeze_panes: tuple[int, int] | None = None,\n    autofilter_range: str | None = None,\n) -> None:\n    sheet_name = self._get_sheet_name(sheet_name)\n    wks = self.book.get_worksheet_by_name(sheet_name)\n    if wks is None:\n        wks = self.book.add_worksheet(sheet_name)\n    style_dict = {\"null\": None}\n    if validate_freeze_panes(freeze_panes):\n        wks.freeze_panes(*(freeze_panes))\n    for cell in cells:\n        val, fmt = self._value_with_fmt(cell.val)\n        # ...\n        if stylekey in style_dict:\n            style = style_dict[stylekey]\n        else:\n            style = self.book.add_format(_XlsxStyler.convert(cell.style, fmt))\n            style_dict[stylekey] = style\n        if cell.mergestart is not None and cell.mergeend is not None:\n            wks.merge_range(\n                startrow + cell.row,\n                startcol + cell.col,\n                startrow + cell.mergestart,\n                startcol + cell.mergeend,\n                val,\n                style,\n            )\n        else:\n            wks.write(startrow + cell.row, startcol + cell.col, val, style)\n    if autofilter_range:\n        wks.autofilter(autofilter_range)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_xlsxwriter.py#L243-L290",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "XlsxWriter"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import xlsxwriter\n\n# Create an new Excel file and add a worksheet.\nworkbook = xlsxwriter.Workbook(\"demo.xlsx\")\nworksheet = workbook.add_worksheet()\n\n# Add a bold format to use to highlight cells.\nbold = workbook.add_format({\"bold\": True})\n\n# Write some simple text.\nworksheet.write(\"A1\", \"Hello\")\n\n# Text with formatting.\nworksheet.write(\"A2\", \"World\", bold)\n\nworkbook.close()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/jmcnamara/XlsxWriter/blob/main/README.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "xlrd",
          "name": [
            {
              "t": "text",
              "text": "xlrd"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/python-excel/xlrd"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/xlrd/"
            },
            {
              "label": "Docs",
              "href": "http://www.python-excel.org/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "xlrd reads data and formatting from Excel files in the older "
            },
            {
              "t": "code",
              "text": ".xls"
            },
            {
              "t": "text",
              "text": " format and no other format. "
            },
            {
              "t": "code",
              "text": "open_workbook"
            },
            {
              "t": "text",
              "text": " returns a book, "
            },
            {
              "t": "code",
              "text": "sheet_by_index"
            },
            {
              "t": "text",
              "text": " returns a sheet, and "
            },
            {
              "t": "code",
              "text": "cell_value"
            },
            {
              "t": "text",
              "text": " reads one cell. Formula results come back as values. Each sheet exposes cell comments through "
            },
            {
              "t": "code",
              "text": "cell_note_map"
            },
            {
              "t": "text",
              "text": " and hyperlinks through "
            },
            {
              "t": "code",
              "text": "hyperlink_map"
            },
            {
              "t": "text",
              "text": ". Newer formats need another library, such as "
            },
            {
              "t": "link",
              "href": "#openpyxl",
              "label": [
                {
                  "t": "text",
                  "text": "openpyxl"
                }
              ]
            },
            {
              "t": "text",
              "text": " for "
            },
            {
              "t": "code",
              "text": ".xlsx"
            },
            {
              "t": "text",
              "text": "."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F47"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F48"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F50"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F49"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/xlrd/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "xlrd"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jazzband/tablib",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads every sheet of an xls file into tablib datasets with xlrd's open_workbook."
                }
              ],
              "language": "python",
              "code": "def import_book(cls, dbook, in_stream, headers=True):\n    \"\"\"Returns databook from XLS stream.\"\"\"\n\n    dbook.wipe()\n\n    xls_book = xlrd.open_workbook(file_contents=in_stream.read())\n\n    for sheet in xls_book.sheets():\n        dset = tablib.Dataset()\n        cls.import_sheet(dset, sheet, xls_book.datemode, headers)\n        dbook.add_sheet(dset)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jazzband/tablib/blob/b6a75dcbe01cc42b3fd45ae5005901e2639fa7a7/src/tablib/formats/_xls.py#L133-L143",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F229"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "xlrd"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F231"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "opens an xls workbook with xlrd from either a file path or an in-memory buffer."
                }
              ],
              "language": "python",
              "code": "def load_workbook(self, filepath_or_buffer, engine_kwargs) -> Book:\n    from xlrd import open_workbook\n\n    if hasattr(filepath_or_buffer, \"read\"):\n        data = filepath_or_buffer.read()\n        return open_workbook(file_contents=data, **engine_kwargs)\n    else:\n        return open_workbook(filepath_or_buffer, **engine_kwargs)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_xlrd.py#L78-L85",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "xlrd"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import xlrd\nbook = xlrd.open_workbook(\"myfile.xls\")\nprint(\"The number of worksheets is {0}\".format(book.nsheets))\nprint(\"Worksheet name(s): {0}\".format(book.sheet_names()))\nsh = book.sheet_by_index(0)\nprint(\"{0} {1} {2}\".format(sh.name, sh.nrows, sh.ncols))\nprint(\"Cell D30 is {0}\".format(sh.cell_value(rowx=29, colx=3)))\nfor rx in range(sh.nrows):\n    print(sh.row(rx))",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/python-excel/xlrd/blob/master/README.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F56"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyxlsb",
          "name": [
            {
              "t": "text",
              "text": "pyxlsb"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/willtrnr/pyxlsb"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyxlsb/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "pyxlsb reads Excel binary workbooks, the "
            },
            {
              "t": "code",
              "text": ".xlsb"
            },
            {
              "t": "text",
              "text": " format. "
            },
            {
              "t": "code",
              "text": "open_workbook"
            },
            {
              "t": "text",
              "text": " opens a file, "
            },
            {
              "t": "code",
              "text": "get_sheet"
            },
            {
              "t": "text",
              "text": " picks a sheet by name or by position counting from one, and "
            },
            {
              "t": "code",
              "text": "rows"
            },
            {
              "t": "text",
              "text": " iterates over the sheet as lists of cells. Dates arrive as floats, which "
            },
            {
              "t": "code",
              "text": "convert_date"
            },
            {
              "t": "text",
              "text": " turns into "
            },
            {
              "t": "code",
              "text": "datetime"
            },
            {
              "t": "text",
              "text": " values. The README describes the library as limited but enough for basic data extraction."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F74"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/pyxlsb/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "pyxlsb"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads an xlsb sheet into a list of rows with pyxlsb, trimming trailing empty cells and padding short rows."
                }
              ],
              "language": "python",
              "code": "def get_sheet_data(\n    self,\n    sheet: Worksheet,\n    file_rows_needed: int | None = None,\n) -> list[list[Scalar]]:\n    data: list[list[Scalar]] = []\n    previous_row_number = -1\n    # When sparse=True the rows can have different lengths and empty rows are\n    # not returned. The cells are namedtuples of row, col, value (r, c, v).\n    for row in sheet.rows(sparse=True):\n        row_number = row[0].r\n        converted_row = [self._convert_cell(cell) for cell in row]\n        while converted_row and converted_row[-1] == \"\":\n            # trim trailing empty elements\n            converted_row.pop()\n        if converted_row:\n            data.extend([[]] * (row_number - previous_row_number - 1))\n            data.append(converted_row)\n            previous_row_number = row_number\n        if file_rows_needed is not None and len(data) >= file_rows_needed:\n            break\n    if data:\n        # extend rows to max_width\n        max_width = max(len(data_row) for data_row in data)\n        if min(len(data_row) for data_row in data) < max_width:\n            empty_cell: list[Scalar] = [\"\"]\n            data = [\n                data_row + (max_width - len(data_row)) * empty_cell\n                for data_row in data\n            ]\n    return data",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_pyxlsb.py#L118-L148",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "pyxlsb"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pyxlsb import open_workbook\nwith open_workbook('Book1.xlsb') as wb:\n    with wb.get_sheet(1) as sheet:\n        for row in sheet.rows():\n            print(row)",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/willtrnr/pyxlsb/blob/7dca9403f61a71ca4ca53cad4330ce068cef4dbd/README.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F81"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "python-calamine",
          "name": [
            {
              "t": "fact",
              "fact": "F93"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/dimastbk/python-calamine"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/python-calamine/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "python-calamine is a Python binding for calamine, a Rust library for Excel and OpenDocument spreadsheets: "
            },
            {
              "t": "code",
              "text": ".xlsx"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": ".xlsm"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": ".xlsb"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": ".xls"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": ".ods"
            },
            {
              "t": "text",
              "text": ". "
            },
            {
              "t": "code",
              "text": "CalamineWorkbook.from_path"
            },
            {
              "t": "text",
              "text": " opens a file, and a sheet's "
            },
            {
              "t": "code",
              "text": "to_python"
            },
            {
              "t": "text",
              "text": " method returns its cells as a list of rows. Blank rows and columns before the data are skipped unless "
            },
            {
              "t": "code",
              "text": "skip_empty_area"
            },
            {
              "t": "text",
              "text": " is false. pandas reads through python-calamine with "
            },
            {
              "t": "code",
              "text": "engine=\"calamine\""
            },
            {
              "t": "text",
              "text": ", so one engine covers formats that otherwise need "
            },
            {
              "t": "link",
              "href": "#openpyxl",
              "label": [
                {
                  "t": "text",
                  "text": "openpyxl"
                }
              ]
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "link",
              "href": "#xlrd",
              "label": [
                {
                  "t": "text",
                  "text": "xlrd"
                }
              ]
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "link",
              "href": "#pyxlsb",
              "label": [
                {
                  "t": "text",
                  "text": "pyxlsb"
                }
              ]
            },
            {
              "t": "text",
              "text": "."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F97"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/dimastbk/python-calamine/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F93"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F104"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F105"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F108"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/aws-samples/bedrock-claude-chatbot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F249"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads every sheet of an Excel file from cloud storage with python-calamine and turns each one into delimited text."
                }
              ],
              "language": "python",
              "code": "def calamaine_excel_engine(file,cutoff):\n    # # Read from S3\n    s3 = boto3.client('s3')\n    match = re.match(\"s3://(.+?)/(.+)\", file)\n    if match:\n        bucket_name = match.group(1)\n        key = match.group(2)\n        obj = s3.get_object(Bucket=bucket_name, Key=key)\n        # Read Excel file from S3 into a buffer\n        xlsx_buffer = io.BytesIO(obj['Body'].read())\n        xlsx_buffer.seek(0)\n        all_sheets_string = \"\"\n        # Load the Excel file\n        workbook = CalamineWorkbook.from_filelike(xlsx_buffer)\n        # Iterate over each sheet in the workbook\n        for sheet_name in workbook.sheet_names:\n            # Get the sheet by name\n            sheet = workbook.get_sheet_by_name(sheet_name)\n            df = pd.DataFrame(sheet.to_python(skip_empty_area=False))\n            df = df.map(strip_newline)\n            preview_note = \"\"\n            if cutoff and len(df) > cutoff:\n                preview_note = (f\"\\n[PREVIEW: first {cutoff} of {len(df)} rows. The \"\n                                \"data-analysis tool has access to the complete file.]\\n\")\n                df = df.iloc[:cutoff]\n            # print(df)\n            tabb = df.to_csv(sep=CSV_SEPERATOR, index=False, header=0)\n            all_sheets_string += f'<{sheet_name}>\\n{tabb}{preview_note}\\n</{sheet_name}>\\n'\n        return all_sheets_string\n    else:\n        raise Exception(f\"{file} not formatted as an S3 path\")",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/aws-samples/bedrock-claude-chatbot/blob/eeb2fa35339081d34ea9caa4e4d39cf1c189770a/bedrock-chat.py#L545-L575",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F93"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads an Excel sheet into rows with python-calamine's to_python, turning whole floats into integers."
                }
              ],
              "language": "python",
              "code": "def get_sheet_data(\n    self, sheet: CalamineSheet, file_rows_needed: int | None = None\n) -> list[list[Scalar | NaTType | time]]:\n    def _convert_cell(value: _CellValue) -> Scalar | NaTType | time:\n        if isinstance(value, float):\n            # GH#54564 - is_integer() returns False for NaN/Inf,\n            # so this safely avoids int() on non-finite values\n            if value.is_integer():\n                return int(value)\n            return value\n        elif isinstance(value, (datetime, timedelta)):\n            # Return as-is to match openpyxl behavior (GH#59186)\n            return value\n        elif isinstance(value, date):\n            # Convert date to datetime to match openpyxl behavior (GH#59186)\n            return datetime(value.year, value.month, value.day)\n        elif isinstance(value, time):\n            return value\n\n        return value\n\n    rows: list[list[_CellValue]] = sheet.to_python(\n        skip_empty_area=False, nrows=file_rows_needed\n    )\n    data = [[_convert_cell(cell) for cell in row] for row in rows]\n\n    return data",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pandas-dev/pandas/blob/0e93a6884748a269ead954a6acc731fe9c080993/pandas/io/excel/_calamine.py#L103-L129",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F93"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from python_calamine import CalamineWorkbook\n\nworkbook = CalamineWorkbook.from_path(\"file.xlsx\")\nworkbook.sheet_names\n# [\"Sheet1\", \"Sheet2\"]\n\nworkbook.get_sheet_by_name(\"Sheet1\").to_python()\n# [\n# [\"1\",  \"2\",  \"3\",  \"4\",  \"5\",  \"6\",  \"7\"],\n# [\"1\",  \"2\",  \"3\",  \"4\",  \"5\",  \"6\",  \"7\"],\n# [\"1\",  \"2\",  \"3\",  \"4\",  \"5\",  \"6\",  \"7\"],\n# ]",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/dimastbk/python-calamine/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F102"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyexcel-io",
          "name": [
            {
              "t": "fact",
              "fact": "F117"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pyexcel/pyexcel-io"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyexcel-io/"
            },
            {
              "label": "Docs",
              "href": "http://io.pyexcel.org"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "pyexcel-io reads and writes spreadsheet data through one pair of functions, "
            },
            {
              "t": "code",
              "text": "get_data"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "save_data"
            },
            {
              "t": "text",
              "text": ". 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 "
            },
            {
              "t": "code",
              "text": "pyexcel-xlsx"
            },
            {
              "t": "text",
              "text": ", built on "
            },
            {
              "t": "link",
              "href": "#openpyxl",
              "label": [
                {
                  "t": "text",
                  "text": "openpyxl"
                }
              ]
            },
            {
              "t": "text",
              "text": ", or "
            },
            {
              "t": "code",
              "text": "pyexcel-xls"
            },
            {
              "t": "text",
              "text": ", built on "
            },
            {
              "t": "link",
              "href": "#xlrd",
              "label": [
                {
                  "t": "text",
                  "text": "xlrd"
                }
              ]
            },
            {
              "t": "text",
              "text": ". When two installed plugins handle the same format, the "
            },
            {
              "t": "code",
              "text": "library"
            },
            {
              "t": "text",
              "text": " argument picks one per call."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F118"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F119"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F121"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F120"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/pyexcel/pyexcel-io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F117"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pyexcel/pyexcel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F261"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "reads spreadsheet data with pyexcel-io, using iget_data to read on demand and get_data otherwise."
                }
              ],
              "language": "python",
              "code": "def _parse_any(\n    self,\n    anything,\n    on_demand=False,\n    file_type=None,\n    **keywords,\n):\n    if on_demand:\n        sheets, reader = iget_data(\n            anything,\n            file_type=file_type,\n            **keywords,\n        )\n        self._free_me_up_later(reader)\n    else:\n        sheets = get_data(anything, file_type=file_type, **keywords)\n    return sheets",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pyexcel/pyexcel/blob/481c616e7e734e2731b0cd15c82de8f95d0e2cc4/pyexcel/plugins/parsers/excel.py#L36-L52",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F264"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F117"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pyexcel_io import save_data\ndata = [[1, 2, 3], [4, 5, 6]]\nsave_data(\"your_file.csv\", data)\n\nfrom pyexcel_io import get_data\ndata = get_data(\"your_file.csv\")",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pyexcel-io.readthedocs.io/en/latest/plaincsv.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F127"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "xlwings",
          "name": [
            {
              "t": "text",
              "text": "xlwings"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/xlwings/xlwings"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/xlwings/"
            },
            {
              "label": "Docs",
              "href": "https://www.xlwings.org"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "xlwings controls a running copy of Excel from Python on Windows and macOS, so Excel has to be installed. "
            },
            {
              "t": "code",
              "text": "xw.Book"
            },
            {
              "t": "text",
              "text": " opens or connects to a workbook, "
            },
            {
              "t": "code",
              "text": "wb.sheets"
            },
            {
              "t": "text",
              "text": " returns a sheet, and assigning to a range's "
            },
            {
              "t": "code",
              "text": "value"
            },
            {
              "t": "text",
              "text": " 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.xlwings.org/en/0.31.6/api/book.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "xlwings"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Some features are paid"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "xlwings Server, Reports, and Reader are part of xlwings PRO, which needs a paid license for commercial use."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/fzumstein/python-for-excel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F268"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "refreshes a dropdown's source range in the open workbook from a pandas DataFrame with xlwings."
                }
              ],
              "language": "python",
              "code": "def refresh_dropdown() -> None:\n    \"\"\"Refreshes the dropdown on the Tracker tab with the content of\n    the packages table.\n    \"\"\"\n    # Excel objects\n    book = xw.Book.caller()\n    dropdown_sheet = book.sheets[\"Dropdown\"]\n    tracker_sheet = book.sheets[\"Tracker\"]\n    dropdown_content_cell = dropdown_sheet[\"dropdown_content\"]\n\n    # Clear the current value in the dropdown\n    tracker_sheet[\"package_selection\"].clear_contents()\n\n    # Delete the content of the Excel table and repopulate it\n    # with the values from the packages database table\n    if dropdown_content_cell.value:\n        dropdown_content_cell.delete()\n    packages = database.get_packages()\n    dropdown_content_cell.options(header=False, index=False).value = packages",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/fzumstein/python-for-excel/blob/4b32f731c178cfd29e2c1cff6b53199d55aa550e/packagetracker/packagetracker.py#L205-L223",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F271"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "xlwings"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/fzumstein/python-for-excel",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F273"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "writes the latest release to a cell and inserts a Matplotlib chart into the open sheet with xlwings."
                }
              ],
              "language": "python",
              "code": "def show_history() -> None:\n    \"\"\"Shows the latest release and plots the release history\n    (number of releases per year)\n    \"\"\"\n    # Excel objects\n    book = xw.Book.caller()\n    tracker_sheet = book.sheets[\"Tracker\"]\n    package_name = tracker_sheet[\"package_selection\"].value\n    feedback_cell = tracker_sheet[\"package_selection\"].offset(column_offset=1)\n    picture_cell = tracker_sheet[\"latest_release\"].offset(row_offset=2)\n    latest_release_cell = tracker_sheet[\"latest_release\"]\n    # ...\n    # Clear output cells and picture\n    feedback_cell.clear_contents()\n    tracker_sheet[\"latest_release\"].clear_contents()\n    if \"releases_per_year\" in tracker_sheet.pictures:\n        tracker_sheet.pictures[\"releases_per_year\"].delete()\n    # ...\n    # Plot\n    fig = create_releases_chart(releases, package_name)\n\n    latest_date = releases.index.max()\n    latest_version = releases.loc[latest_date, \"version\"]\n    latest_release_cell.value = f\"{latest_version} ({latest_date:%B %d, %Y})\"\n\n    tracker_sheet.pictures.add(\n        fig, name=\"releases_per_year\", top=picture_cell.top, left=picture_cell.left\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/fzumstein/python-for-excel/blob/4b32f731c178cfd29e2c1cff6b53199d55aa550e/packagetracker/packagetracker.py#L159-L202",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F276"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "xlwings"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import xlwings as xw\n\nwb = xw.Book()  # this will open a new workbook\nsheet = wb.sheets['Sheet1']\nsheet['A1'].value = 'Foo 1'\nprint(sheet['A1'].value)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.xlwings.org/en/stable/quickstart.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyexcelerate",
          "name": [
            {
              "t": "text",
              "text": "PyExcelerate"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/kz26/PyExcelerate"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyexcelerate/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "PyExcelerate writes "
            },
            {
              "t": "code",
              "text": ".xlsx"
            },
            {
              "t": "text",
              "text": " files with an emphasis on speed. "
            },
            {
              "t": "code",
              "text": "new_sheet"
            },
            {
              "t": "text",
              "text": " takes a two-dimensional list of values at once, and "
            },
            {
              "t": "code",
              "text": "range"
            },
            {
              "t": "text",
              "text": " 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 "
            },
            {
              "t": "link",
              "href": "#xlsxwriter",
              "label": [
                {
                  "t": "text",
                  "text": "XlsxWriter"
                }
              ]
            },
            {
              "t": "text",
              "text": " or "
            },
            {
              "t": "link",
              "href": "#openpyxl",
              "label": [
                {
                  "t": "text",
                  "text": "openpyxl"
                }
              ]
            },
            {
              "t": "text",
              "text": "."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/kz26/PyExcelerate/blob/dev/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "PyExcelerate"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/JacobBumgarner/VesselVio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F278"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "writes results to an xlsx file with PyExcelerate and styles the header rows and columns."
                }
              ],
              "language": "python",
              "code": "def create_results_file(results_file, data):\n    wb = Workbook()\n    ws = wb.new_sheet(\"Main Results\", data=data)\n    row_style = Style(\n        font=Font(bold=True),\n        alignment=Alignment(wrap_text=True, horizontal=\"center\", vertical=\"center\"),\n        size=60,\n    )\n    # col_style = Style(font=Font(bold=True), alignment=Alignment(wrap_text=True, horizontal='fill', vertical='bottom'))\n    col_style = Style(font=Font(bold=True))\n    ws.set_col_style((3, 7, 9, 10, 15, 16, 37, 58), Style(size=12))\n    ws.set_row_style((1, 2), row_style)\n    ws.set_col_style((1, 2), col_style)\n    wb.save(results_file)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/JacobBumgarner/VesselVio/blob/db256edb97876ff9993cb58869cfe875ed1e1d59/library/results_export.py#L71-L84",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F281"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F280"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "PyExcelerate"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F283"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F284"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/rg3915/dicas-de-django",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F283"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "exports Django products to an xlsx file with PyExcelerate's Workbook and new_sheet."
                }
              ],
              "language": "python",
              "code": "def export_xlsx(request):\n    products = Product.objects.all()\n    data = [(product.title, product.price) for product in products]\n    data.insert(0, ('title', 'price'))\n\n    wb = Workbook()\n    wb.new_sheet(\"sheet name\", data=data)\n    wb.save(\"/tmp/products_out.xlsx\")\n    return redirect('product:product_list')",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/rg3915/dicas-de-django/blob/7f9bcd80b0201a1d9c0af3909c51c9dc085ada8a/backend/product/views.py#L124-L132",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F286"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F285"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "PyExcelerate"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pyexcelerate import Workbook\n\nwb = Workbook()\nws = wb.new_sheet(\"test\", data=[[1, 2], [3, 4]])\nwb.save(\"output.xlsx\")",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/kz26/PyExcelerate/blob/dev/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "What is the best Python library for Excel?",
      "a": [
        {
          "t": "text",
          "text": "It depends on the job: "
        },
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " edits existing .xlsx workbooks and has "
        },
        {
          "t": "fact",
          "fact": "F1"
        },
        {
          "t": "text",
          "text": " downloads a month, "
        },
        {
          "t": "link",
          "href": "#xlsxwriter",
          "label": [
            {
              "t": "text",
              "text": "XlsxWriter"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds new formatted files, "
        },
        {
          "t": "link",
          "href": "#python-calamine",
          "label": [
            {
              "t": "text",
              "text": "python-calamine"
            }
          ]
        },
        {
          "t": "text",
          "text": " reads fastest, and "
        },
        {
          "t": "link",
          "href": "#xlwings",
          "label": [
            {
              "t": "text",
              "text": "xlwings"
            }
          ]
        },
        {
          "t": "text",
          "text": " drives Excel itself."
        }
      ]
    },
    {
      "q": "How to read an Excel file in Python?",
      "a": [
        {
          "t": "text",
          "text": "pandas.read_excel() reads a sheet into a DataFrame and picks a reader by file type: "
        },
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " for .xlsx, "
        },
        {
          "t": "link",
          "href": "#xlrd",
          "label": [
            {
              "t": "text",
              "text": "xlrd"
            }
          ]
        },
        {
          "t": "text",
          "text": " for .xls, and "
        },
        {
          "t": "link",
          "href": "#pyxlsb",
          "label": [
            {
              "t": "text",
              "text": "pyxlsb"
            }
          ]
        },
        {
          "t": "text",
          "text": " for .xlsb. Pass engine=\"calamine\" to read through "
        },
        {
          "t": "link",
          "href": "#python-calamine",
          "label": [
            {
              "t": "text",
              "text": "python-calamine"
            }
          ]
        },
        {
          "t": "text",
          "text": " instead, which is faster. pandas plans to make calamine the default .xlsx reader."
        }
      ]
    },
    {
      "q": "Can openpyxl create pivot tables?",
      "a": [
        {
          "t": "text",
          "text": "No. "
        },
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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. "
        },
        {
          "t": "link",
          "href": "#xlwings",
          "label": [
            {
              "t": "text",
              "text": "xlwings"
            }
          ]
        },
        {
          "t": "text",
          "text": " can build one, because it drives a running copy of Excel."
        }
      ]
    },
    {
      "q": "Which is better, openpyxl or XlsxWriter?",
      "a": [
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " reads, edits, and writes .xlsx files. "
        },
        {
          "t": "link",
          "href": "#xlsxwriter",
          "label": [
            {
              "t": "text",
              "text": "XlsxWriter"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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."
        }
      ]
    },
    {
      "q": "What is the difference between openpyxl and pandas?",
      "a": [
        {
          "t": "text",
          "text": "pandas shapes the data and openpyxl handles the file. pandas.read_excel() and DataFrame.to_excel() call "
        },
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " or "
        },
        {
          "t": "link",
          "href": "#xlsxwriter",
          "label": [
            {
              "t": "text",
              "text": "XlsxWriter"
            }
          ]
        },
        {
          "t": "text",
          "text": " underneath. Use openpyxl directly for cell formatting, formulas, or editing a workbook in place."
        }
      ]
    },
    {
      "q": "Can Python run inside Excel?",
      "a": [
        {
          "t": "text",
          "text": "Yes. "
        },
        {
          "t": "link",
          "href": "#xlwings",
          "label": [
            {
              "t": "text",
              "text": "xlwings"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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."
        }
      ]
    },
    {
      "q": "What is openpyxl?",
      "a": [
        {
          "t": "link",
          "href": "#openpyxl",
          "label": [
            {
              "t": "text",
              "text": "openpyxl"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Monthly downloads, openpyxl",
      "display": "283.0M",
      "asOf": "2026-11-10"
    },
    "F2": {
      "label": "License, openpyxl",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F3": {
      "label": "Latest release, openpyxl",
      "display": "3.1.5, Jun 2024",
      "asOf": "2024-06-28"
    },
    "F4": {
      "label": "Latest release date, openpyxl",
      "display": "Jun 2024",
      "asOf": "2024-06-28"
    },
    "F5": {
      "label": "Edits existing workbooks, openpyxl",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F6": {
      "label": "Writes cell formatting, openpyxl",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F7": {
      "label": "Adds native charts, openpyxl",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F8": {
      "label": "Works with pandas, openpyxl",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F9": {
      "label": "Output formats, openpyxl",
      "display": "XLSX, XLSM",
      "asOf": "2026-11-10"
    },
    "F10": {
      "label": "Recommended for, openpyxl",
      "display": "editing existing workbooks",
      "asOf": "2026-11-10"
    },
    "F11": {
      "label": "Install, openpyxl",
      "display": "pip install openpyxl",
      "asOf": "2026-11-10"
    },
    "F12": {
      "label": "What it is, openpyxl",
      "display": "openpyxl reads and writes Excel .xlsx and .xlsm files, and can open an existing workbook, change it, and save it.",
      "asOf": "2026-11-10"
    },
    "F13": {
      "label": "Strength lead, openpyxl",
      "display": "Edits existing workbooks",
      "asOf": "2026-11-10"
    },
    "F14": {
      "label": "Strength, openpyxl",
      "display": "Opens a workbook so code can change its sheets, cells, and formulas.",
      "asOf": "2026-11-10"
    },
    "F15": {
      "label": "Strength lead, openpyxl",
      "display": "Comprehensive feature coverage",
      "asOf": "2026-11-10"
    },
    "F16": {
      "label": "Strength, openpyxl",
      "display": "It covers creating, reading, writing, appending, and organizing Excel data, including formulas, styles, conditional formatting, images, and charts.",
      "asOf": "2026-11-10"
    },
    "F17": {
      "label": "Strength lead, openpyxl",
      "display": "Handles large files",
      "asOf": "2026-11-10"
    },
    "F18": {
      "label": "Strength, openpyxl",
      "display": "Read-only and write-only modes keep memory low, without styles.",
      "asOf": "2026-11-10"
    },
    "F19": {
      "label": "Caution lead, openpyxl",
      "display": "Memory per cell",
      "asOf": "2026-11-10"
    },
    "F20": {
      "label": "Caution, openpyxl",
      "display": "Each cell takes one to two kilobytes. Read-only and write-only modes cut memory use on large sheets.",
      "asOf": "2026-11-10"
    },
    "F21": {
      "label": "Caution lead, openpyxl",
      "display": "Version-specific content",
      "asOf": "2026-11-10"
    },
    "F22": {
      "label": "Caution, openpyxl",
      "display": "Some code snippets and features may target older openpyxl versions and might differ in newer releases.",
      "asOf": "2026-11-10"
    },
    "F23": {
      "label": "Caution lead, openpyxl",
      "display": "Can drop content on save",
      "asOf": "2026-11-10"
    },
    "F24": {
      "label": "Caution, openpyxl",
      "display": "Saving an opened workbook loses any part openpyxl doesn't read.",
      "asOf": "2026-11-10"
    },
    "F25": {
      "label": "Monthly downloads, xlsxwriter",
      "display": "95.4M",
      "asOf": "2026-11-10"
    },
    "F26": {
      "label": "GitHub stars, jmcnamara/XlsxWriter",
      "display": "4.0K",
      "asOf": "2026-11-10"
    },
    "F27": {
      "label": "License, jmcnamara/XlsxWriter",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-10"
    },
    "F28": {
      "label": "Latest release, xlsxwriter",
      "display": "3.3.1, Oct 2026",
      "asOf": "2026-10-28"
    },
    "F29": {
      "label": "Latest release date, xlsxwriter",
      "display": "Oct 2026",
      "asOf": "2026-10-28"
    },
    "F30": {
      "label": "Edits existing workbooks, xlsxwriter",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F31": {
      "label": "Writes cell formatting, xlsxwriter",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F32": {
      "label": "Adds native charts, xlsxwriter",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F33": {
      "label": "Works with pandas, xlsxwriter",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F34": {
      "label": "Output formats, xlsxwriter",
      "display": "XLSX",
      "asOf": "2026-11-10"
    },
    "F35": {
      "label": "Recommended for, xlsxwriter",
      "display": "creating formatted new XLSX exports",
      "asOf": "2026-11-10"
    },
    "F36": {
      "label": "Install, xlsxwriter",
      "display": "pip install xlsxwriter",
      "asOf": "2026-11-10"
    },
    "F37": {
      "label": "What it is, xlsxwriter",
      "display": "XlsxWriter creates new Excel .xlsx files from Python, with text, numbers, formulas, formatting, and charts.",
      "asOf": "2026-11-10"
    },
    "F38": {
      "label": "Strength lead, xlsxwriter",
      "display": "Clean files for Excel",
      "asOf": "2026-11-10"
    },
    "F39": {
      "label": "Strength, xlsxwriter",
      "display": "Writes text, numbers, formulas, and links to sheets Excel opens cleanly.",
      "asOf": "2026-11-10"
    },
    "F40": {
      "label": "Strength lead, xlsxwriter",
      "display": "Python compatibility",
      "asOf": "2026-11-10"
    },
    "F41": {
      "label": "Strength, xlsxwriter",
      "display": "Supports Python 3.8+ and PyPy3; uses standard libraries only.",
      "asOf": "2026-11-10"
    },
    "F42": {
      "label": "Strength lead, xlsxwriter",
      "display": "Native charts and images",
      "asOf": "2026-11-10"
    },
    "F43": {
      "label": "Strength, xlsxwriter",
      "display": "Adds Excel charts, images, and conditional formatting.",
      "asOf": "2026-11-10"
    },
    "F44": {
      "label": "Caution lead, xlsxwriter",
      "display": "New files only",
      "asOf": "2026-11-10"
    },
    "F45": {
      "label": "Caution, xlsxwriter",
      "display": "Can't open or edit an existing workbook.",
      "asOf": "2026-11-10"
    },
    "F46": {
      "label": "Quickstart, xlsxwriter",
      "display": "import xlsxwriter\n\n# Create an new Excel file and add a worksheet.\nworkbook = xlsxwriter.Workbook(\"demo.xlsx\")\nworksheet = workbook.add_worksheet()",
      "asOf": "2026-11-10"
    },
    "F47": {
      "label": "Monthly downloads, xlrd",
      "display": "67.0M",
      "asOf": "2026-11-10"
    },
    "F48": {
      "label": "GitHub stars, python-excel/xlrd",
      "display": "2.2K",
      "asOf": "2026-11-10"
    },
    "F49": {
      "label": "License, python-excel/xlrd",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F50": {
      "label": "Latest release, xlrd",
      "display": "2.0.2, Jun 2025",
      "asOf": "2025-06-14"
    },
    "F51": {
      "label": "Latest release date, xlrd",
      "display": "Jun 2025",
      "asOf": "2025-06-14"
    },
    "F52": {
      "label": "Writes cell formatting, xlrd",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F53": {
      "label": "Adds native charts, xlrd",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F54": {
      "label": "Works with pandas, xlrd",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F55": {
      "label": "Recommended for, xlrd",
      "display": "extracting values from legacy XLS files",
      "asOf": "2026-11-10"
    },
    "F56": {
      "label": "Install, xlrd",
      "display": "pip install xlrd",
      "asOf": "2026-11-10"
    },
    "F57": {
      "label": "What it is, xlrd",
      "display": "xlrd reads data and formatting from legacy Excel .xls files.",
      "asOf": "2026-11-10"
    },
    "F58": {
      "label": "Strength lead, xlrd",
      "display": "Reads old .xls files",
      "asOf": "2026-11-10"
    },
    "F59": {
      "label": "Strength, xlrd",
      "display": "The standard reader for .xls, with no dependencies.",
      "asOf": "2026-11-10"
    },
    "F60": {
      "label": "Strength lead, xlrd",
      "display": "Cross-library options",
      "asOf": "2026-11-10"
    },
    "F61": {
      "label": "Strength, xlrd",
      "display": "Pandas can be used to read Excel files with appropriate engines (xlrd for older, openpyxl for newer).",
      "asOf": "2026-11-10"
    },
    "F62": {
      "label": "Strength lead, xlrd",
      "display": "Focused on .xls",
      "asOf": "2026-11-10"
    },
    "F63": {
      "label": "Strength, xlrd",
      "display": "Reads only the legacy Excel .xls format, simplifying support and stability for that format.",
      "asOf": "2026-11-10"
    },
    "F64": {
      "label": "Caution lead, xlrd",
      "display": ".xls files only",
      "asOf": "2026-11-10"
    },
    "F65": {
      "label": "Caution, xlrd",
      "display": "Use openpyxl or python-calamine for .xlsx files.",
      "asOf": "2026-11-10"
    },
    "F66": {
      "label": "Caution lead, xlrd",
      "display": "Skips charts and macros",
      "asOf": "2026-11-10"
    },
    "F67": {
      "label": "Caution, xlrd",
      "display": "Charts, macros, and pictures are ignored on read.",
      "asOf": "2026-11-10"
    },
    "F68": {
      "label": "Caution lead, xlrd",
      "display": "No password-protected files",
      "asOf": "2026-11-10"
    },
    "F69": {
      "label": "Caution, xlrd",
      "display": "Locked .xls files can't be opened.",
      "asOf": "2026-11-10"
    },
    "F70": {
      "label": "Quickstart, xlrd",
      "display": "import xlrd\nbook = xlrd.open_workbook(\"myfile.xls\")\nprint(\"The number of worksheets is {0}\".format(book.nsheets))\nprint(\"Worksheet name(s): {0}\".format(book.sheet_names()))\nsh = book.sheet_by_index(0)\nprint(\"{0} {1} {2}\".format(sh.name, sh.nrows, sh.ncols))\nprint(\"Cell D30 is {0}\".format(sh.cell_value(rowx=29, colx=3)))\nfor rx in range(sh.nrows):\n    print(sh.row(rx))",
      "asOf": "2026-11-10"
    },
    "F71": {
      "label": "Monthly downloads, pyxlsb",
      "display": "8.6M",
      "asOf": "2026-11-10"
    },
    "F72": {
      "label": "GitHub stars, willtrnr/pyxlsb",
      "display": "96",
      "asOf": "2026-11-10"
    },
    "F73": {
      "label": "License, willtrnr/pyxlsb",
      "display": "LGPL-3.0",
      "asOf": "2026-11-10"
    },
    "F74": {
      "label": "Latest release, pyxlsb",
      "display": "1.0.10, Oct 2022",
      "asOf": "2022-10-14"
    },
    "F75": {
      "label": "Latest release date, pyxlsb",
      "display": "Oct 2022",
      "asOf": "2022-10-14"
    },
    "F76": {
      "label": "Edits existing workbooks, pyxlsb",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F77": {
      "label": "Writes cell formatting, pyxlsb",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F78": {
      "label": "Adds native charts, pyxlsb",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F79": {
      "label": "Works with pandas, pyxlsb",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F80": {
      "label": "Output formats, pyxlsb",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F81": {
      "label": "Install, pyxlsb",
      "display": "pip install pyxlsb",
      "asOf": "2026-11-10"
    },
    "F82": {
      "label": "What it is, pyxlsb",
      "display": "pyxlsb reads Excel binary workbooks (.xlsb) and returns each sheet row by row.",
      "asOf": "2026-11-10"
    },
    "F83": {
      "label": "Strength lead, pyxlsb",
      "display": "Incremental improvements with pyxlsb2",
      "asOf": "2026-11-10"
    },
    "F84": {
      "label": "Strength, pyxlsb",
      "display": "There is also some limited functionality for formatting dates to convert them to datetime objects.",
      "asOf": "2026-11-10"
    },
    "F85": {
      "label": "Strength lead, pyxlsb",
      "display": "Reads big .xlsb files row by row",
      "asOf": "2026-11-10"
    },
    "F86": {
      "label": "Strength, pyxlsb",
      "display": "Returns rows as it reads them, so large files stay manageable.",
      "asOf": "2026-11-10"
    },
    "F87": {
      "label": "Strength lead, pyxlsb",
      "display": "Date handling",
      "asOf": "2026-11-10"
    },
    "F88": {
      "label": "Strength, pyxlsb",
      "display": "Dates are stored as floats and must be converted with convert_date to datetime.",
      "asOf": "2026-11-10"
    },
    "F89": {
      "label": "Caution lead, pyxlsb",
      "display": "Reads rows only",
      "asOf": "2026-11-10"
    },
    "F90": {
      "label": "Caution, pyxlsb",
      "display": "Can't write files or read formatting.",
      "asOf": "2026-11-10"
    },
    "F91": {
      "label": "Caution lead, pyxlsb",
      "display": "Errors come back as codes",
      "asOf": "2026-11-10"
    },
    "F92": {
      "label": "Caution, pyxlsb",
      "display": "Cells like #DIV/0! return as hex codes to map back by hand.",
      "asOf": "2026-11-10"
    },
    "F93": {
      "label": "Name, dimastbk/python-calamine",
      "display": "python-calamine",
      "asOf": "2026-11-10"
    },
    "F94": {
      "label": "Monthly downloads, python-calamine",
      "display": "6.7M",
      "asOf": "2026-11-10"
    },
    "F95": {
      "label": "GitHub stars, dimastbk/python-calamine",
      "display": "510",
      "asOf": "2026-11-10"
    },
    "F96": {
      "label": "License, dimastbk/python-calamine",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F97": {
      "label": "Latest release, python-calamine",
      "display": "0.9.1, Nov 2026",
      "asOf": "2026-11-03"
    },
    "F98": {
      "label": "Latest release date, python-calamine",
      "display": "Nov 2026",
      "asOf": "2026-11-03"
    },
    "F99": {
      "label": "Writes cell formatting, python-calamine",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F100": {
      "label": "Works with pandas, python-calamine",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F101": {
      "label": "Recommended for, python-calamine",
      "display": "speeding up pandas excel reads",
      "asOf": "2026-11-10"
    },
    "F102": {
      "label": "Install, python-calamine",
      "display": "pip install python-calamine",
      "asOf": "2026-11-10"
    },
    "F103": {
      "label": "What it is, python-calamine",
      "display": "python-calamine wraps the Rust calamine library to read .xlsx, .xlsm, .xlsb, .xls, and .ods files from Python.",
      "asOf": "2026-11-10"
    },
    "F104": {
      "label": "Strength lead, python-calamine",
      "display": "Fastest reader",
      "asOf": "2026-11-10"
    },
    "F105": {
      "label": "Strength, python-calamine",
      "display": "Reads .xlsx, .xlsm, .xlsb, .xls, and .ods faster than the others here.",
      "asOf": "2026-11-10"
    },
    "F106": {
      "label": "Strength lead, python-calamine",
      "display": "Rust-based parsing",
      "asOf": "2026-11-10"
    },
    "F107": {
      "label": "Strength, python-calamine",
      "display": "Calamine is described as a Rust-based parser that can be used through Python, offering streaming and memory characteristics.",
      "asOf": "2026-11-10"
    },
    "F108": {
      "label": "Strength lead, python-calamine",
      "display": "Works inside pandas",
      "asOf": "2026-11-10"
    },
    "F109": {
      "label": "Strength, python-calamine",
      "display": "pandas reads through it with engine=\"calamine\".",
      "asOf": "2026-11-10"
    },
    "F110": {
      "label": "Caution lead, python-calamine",
      "display": "Dates as floats",
      "asOf": "2026-11-10"
    },
    "F111": {
      "label": "Caution, python-calamine",
      "display": "Dates are returned as floats and may require conversion to datetime by the user.",
      "asOf": "2026-11-10"
    },
    "F112": {
      "label": "Caution lead, python-calamine",
      "display": "Digest-only ingestion",
      "asOf": "2026-11-10"
    },
    "F113": {
      "label": "Caution, python-calamine",
      "display": "It is intended for ingestion speed; for formatting or advanced Excel features, use openpyxl or related tools.",
      "asOf": "2026-11-10"
    },
    "F114": {
      "label": "Caution lead, python-calamine",
      "display": "Engine compatibility",
      "asOf": "2026-11-10"
    },
    "F115": {
      "label": "Caution, python-calamine",
      "display": "Using engine strings requires reasonably recent pandas and the python-calamine package; installation names differ from engine strings.",
      "asOf": "2026-11-10"
    },
    "F116": {
      "label": "Quickstart, python-calamine",
      "display": "from python_calamine import CalamineWorkbook\n\nworkbook = CalamineWorkbook.from_path(\"file.xlsx\")\nworkbook.sheet_names\n# [\"Sheet1\", \"Sheet2\"]\n\nworkbook.get_sheet_by_name(\"Sheet1\").to_python()\n# [\n# [\"1\",  \"2\",  \"3\",  \"4\",  \"5\",  \"6\",  \"7\"],\n# [\"1\",  \"2\",  \"3\",  \"4\",  \"5\",  \"6\",  \"7\"],\n# [\"1\",  \"2\",  \"3\",  \"4\",  \"5\",  \"6\",  \"7\"],\n# ]",
      "asOf": "2026-11-10"
    },
    "F117": {
      "label": "Name, pyexcel/pyexcel-io",
      "display": "pyexcel-io",
      "asOf": "2026-11-10"
    },
    "F118": {
      "label": "Monthly downloads, pyexcel-io",
      "display": "1.4M",
      "asOf": "2026-11-10"
    },
    "F119": {
      "label": "GitHub stars, pyexcel/pyexcel-io",
      "display": "58",
      "asOf": "2026-11-10"
    },
    "F120": {
      "label": "License, pyexcel/pyexcel-io",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F121": {
      "label": "Latest release, pyexcel-io",
      "display": "0.6.8, Jun 2026",
      "asOf": "2026-06-28"
    },
    "F122": {
      "label": "Latest release date, pyexcel-io",
      "display": "Jun 2026",
      "asOf": "2026-06-28"
    },
    "F123": {
      "label": "Edits existing workbooks, pyexcel-io",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F124": {
      "label": "Writes cell formatting, pyexcel-io",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F125": {
      "label": "Adds native charts, pyexcel-io",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F126": {
      "label": "Output formats, pyexcel-io",
      "display": "CSV",
      "asOf": "2026-11-10"
    },
    "F127": {
      "label": "Install, pyexcel-io",
      "display": "pip install pyexcel-io",
      "asOf": "2026-11-10"
    },
    "F128": {
      "label": "What it is, pyexcel-io",
      "display": "pyexcel-io reads and writes spreadsheet data through one API across csv, xls, xlsx, and ods, and moves it into and out of databases.",
      "asOf": "2026-11-10"
    },
    "F129": {
      "label": "Strength lead, pyexcel-io",
      "display": "One API for every format",
      "asOf": "2026-11-10"
    },
    "F130": {
      "label": "Strength, pyexcel-io",
      "display": "The same calls read and write CSV, xls, xlsx, and ods.",
      "asOf": "2026-11-10"
    },
    "F131": {
      "label": "Strength lead, pyexcel-io",
      "display": "Format coverage",
      "asOf": "2026-11-10"
    },
    "F132": {
      "label": "Strength, pyexcel-io",
      "display": "Supports multiple Excel formats via extensions and plugins.",
      "asOf": "2026-11-10"
    },
    "F133": {
      "label": "Strength lead, pyexcel-io",
      "display": "Loads into databases",
      "asOf": "2026-11-10"
    },
    "F134": {
      "label": "Strength, pyexcel-io",
      "display": "Moves sheet data into and out of Django and SQLAlchemy.",
      "asOf": "2026-11-10"
    },
    "F135": {
      "label": "Caution lead, pyexcel-io",
      "display": "Values only",
      "asOf": "2026-11-10"
    },
    "F136": {
      "label": "Caution, pyexcel-io",
      "display": "No fonts, colors, charts, or password-protected files.",
      "asOf": "2026-11-10"
    },
    "F137": {
      "label": "Caution lead, pyexcel-io",
      "display": "Python versions",
      "asOf": "2026-11-10"
    },
    "F138": {
      "label": "Caution, pyexcel-io",
      "display": "Since 2020, all pyexcel-io plugins have dropped support for Python versions lower than 3.6.",
      "asOf": "2026-11-10"
    },
    "F139": {
      "label": "Caution lead, pyexcel-io",
      "display": "Package loading sequence",
      "asOf": "2026-11-10"
    },
    "F140": {
      "label": "Caution, pyexcel-io",
      "display": "Dotted arrow means the package or module is loaded later.",
      "asOf": "2026-11-10"
    },
    "F141": {
      "label": "Monthly downloads, xlwings",
      "display": "578.0K",
      "asOf": "2026-11-10"
    },
    "F142": {
      "label": "GitHub stars, xlwings/xlwings",
      "display": "3.4K",
      "asOf": "2026-11-10"
    },
    "F143": {
      "label": "License, xlwings/xlwings",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F144": {
      "label": "Latest release, xlwings",
      "display": "0.37.8, Oct 2026",
      "asOf": "2026-10-23"
    },
    "F145": {
      "label": "Latest release date, xlwings",
      "display": "Oct 2026",
      "asOf": "2026-10-23"
    },
    "F146": {
      "label": "Edits existing workbooks, xlwings",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F147": {
      "label": "Writes cell formatting, xlwings",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F148": {
      "label": "Adds native charts, xlwings",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F149": {
      "label": "Works with pandas, xlwings",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F150": {
      "label": "Output formats, xlwings",
      "display": "XLSX, XLSM",
      "asOf": "2026-11-10"
    },
    "F151": {
      "label": "Recommended for, xlwings",
      "display": "driving a live excel app",
      "asOf": "2026-11-10"
    },
    "F152": {
      "label": "Install, xlwings",
      "display": "pip install xlwings",
      "asOf": "2026-11-10"
    },
    "F153": {
      "label": "What it is, xlwings",
      "display": "xlwings controls a running Excel application from Python to read and write ranges, and lets Excel call Python functions.",
      "asOf": "2026-11-10"
    },
    "F154": {
      "label": "Strength lead, xlwings",
      "display": "DataFrames in and out of Excel",
      "asOf": "2026-11-10"
    },
    "F155": {
      "label": "Strength, xlwings",
      "display": "Moves pandas DataFrames to Excel ranges and back.",
      "asOf": "2026-11-10"
    },
    "F156": {
      "label": "Strength lead, xlwings",
      "display": "Cross-platform support",
      "asOf": "2026-11-10"
    },
    "F157": {
      "label": "Strength, xlwings",
      "display": "Works with Windows, macOS, and Excel on the web.",
      "asOf": "2026-11-10"
    },
    "F158": {
      "label": "Strength lead, xlwings",
      "display": "Replaces VBA",
      "asOf": "2026-11-10"
    },
    "F159": {
      "label": "Strength, xlwings",
      "display": "Writes Excel macros and custom functions in Python.",
      "asOf": "2026-11-10"
    },
    "F160": {
      "label": "Caution lead, xlwings",
      "display": "Needs Excel installed",
      "asOf": "2026-11-10"
    },
    "F161": {
      "label": "Caution, xlwings",
      "display": "Runs only on a desktop with Excel, so server jobs are fragile.",
      "asOf": "2026-11-10"
    },
    "F162": {
      "label": "Caution lead, xlwings",
      "display": "Dependent on excel state",
      "asOf": "2026-11-10"
    },
    "F163": {
      "label": "Caution, xlwings",
      "display": "Outputs may require Excel to be open and recalculation to occur to refresh formulas and connections; otherwise results may not be up to date.",
      "asOf": "2026-11-10"
    },
    "F164": {
      "label": "Caution lead, xlwings",
      "display": "Python installation",
      "asOf": "2026-11-10"
    },
    "F165": {
      "label": "Caution, xlwings",
      "display": "xlwings Lite removes local Python requirement for some use cases; in general Python is involved for full functionality.",
      "asOf": "2026-11-10"
    },
    "F166": {
      "label": "Quickstart, xlwings",
      "display": "from multiprocessing import Pool\nimport xlwings as xw\n\ndef write_to_workbook(cell):\n    xw.Book('Book1.xlsx').sheets[0].range(cell).value = cell\n    print(cell)\n\nif __name__ == '__main__':\n    with Pool(4) as p:\n        p.map(write_to_workbook,\n              ['A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8', 'A9', 'A10'])",
      "asOf": "2026-11-10"
    },
    "F167": {
      "label": "Monthly downloads, pyexcelerate",
      "display": "400.7K",
      "asOf": "2026-11-10"
    },
    "F168": {
      "label": "GitHub stars, kz26/PyExcelerate",
      "display": "559",
      "asOf": "2026-11-10"
    },
    "F169": {
      "label": "License, kz26/PyExcelerate",
      "display": "BSD-2-Clause",
      "asOf": "2026-11-10"
    },
    "F170": {
      "label": "Latest release, pyexcelerate",
      "display": "0.13.0, May 2025",
      "asOf": "2025-05-23"
    },
    "F171": {
      "label": "Latest release date, pyexcelerate",
      "display": "May 2025",
      "asOf": "2025-05-23"
    },
    "F172": {
      "label": "Writes cell formatting, pyexcelerate",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F173": {
      "label": "Works with pandas, pyexcelerate",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F174": {
      "label": "Output formats, pyexcelerate",
      "display": "XLSM",
      "asOf": "2026-11-10"
    },
    "F175": {
      "label": "Recommended for, pyexcelerate",
      "display": "batch writes in excel",
      "asOf": "2026-11-10"
    },
    "F176": {
      "label": "Install, pyexcelerate",
      "display": "pip install pyexcelerate",
      "asOf": "2026-11-10"
    },
    "F177": {
      "label": "What it is, pyexcelerate",
      "display": "PyExcelerate writes XLSX files fast, especially when a whole sheet of data goes in at once.",
      "asOf": "2026-11-10"
    },
    "F178": {
      "label": "Strength lead, pyexcelerate",
      "display": "Fast bulk writes",
      "asOf": "2026-11-10"
    },
    "F179": {
      "label": "Strength, pyexcelerate",
      "display": "Writes 1000 rows by 100 columns of values in 0.47 seconds.",
      "asOf": "2026-11-10"
    },
    "F180": {
      "label": "Strength lead, pyexcelerate",
      "display": "High-speed writes",
      "asOf": "2026-11-10"
    },
    "F181": {
      "label": "Strength, pyexcelerate",
      "display": "PyExcelerate is a Python library for writing Excel-compatible XLSX spreadsheet files, with an emphasis on speed.",
      "asOf": "2026-11-10"
    },
    "F182": {
      "label": "Strength lead, pyexcelerate",
      "display": "Pure python wheel",
      "asOf": "2026-11-10"
    },
    "F183": {
      "label": "Strength, pyexcelerate",
      "display": "Pure-Python wheel available for quick installation.",
      "asOf": "2026-11-10"
    },
    "F184": {
      "label": "Caution lead, pyexcelerate",
      "display": "Styles slow writes",
      "asOf": "2026-11-10"
    },
    "F185": {
      "label": "Caution, pyexcelerate",
      "display": "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.",
      "asOf": "2026-11-10"
    },
    "F186": {
      "label": "Caution lead, pyexcelerate",
      "display": "Writes only",
      "asOf": "2026-11-10"
    },
    "F187": {
      "label": "Caution, pyexcelerate",
      "display": "Reading files and conditional formatting need another library.",
      "asOf": "2026-11-10"
    },
    "F188": {
      "label": "Caution lead, pyexcelerate",
      "display": "Platform, version",
      "asOf": "2026-11-10"
    },
    "F189": {
      "label": "Caution, pyexcelerate",
      "display": "Supported on Python 2.7, 3.4, 3.5, 3.6, 3.7, and 3.8.",
      "asOf": "2026-11-10"
    },
    "F190": {
      "label": "Quickstart, pyexcelerate",
      "display": "from pyexcelerate import Workbook\n\nwb = Workbook()\nws = wb.new_sheet(\"test\", data=[[1, 2], [3, 4]])\nwb.save(\"output.xlsx\")",
      "asOf": "2026-11-10"
    },
    "F191": {
      "label": "Need, openpyxl",
      "display": "Editing existing workbooks",
      "asOf": "2026-11-10"
    },
    "F192": {
      "label": "Why, openpyxl",
      "display": "formatting, charts",
      "asOf": "2026-11-10"
    },
    "F193": {
      "label": "Need, xlwings",
      "display": "Editing existing workbooks",
      "asOf": "2026-11-10"
    },
    "F194": {
      "label": "Why, xlwings",
      "display": "automation",
      "asOf": "2026-11-10"
    },
    "F195": {
      "label": "Need, xlsxwriter",
      "display": "pandas DataFrames",
      "asOf": "2026-11-10"
    },
    "F196": {
      "label": "Why, xlsxwriter",
      "display": "write speed",
      "asOf": "2026-11-10"
    },
    "F197": {
      "label": "Need, openpyxl",
      "display": "pandas DataFrames",
      "asOf": "2026-11-10"
    },
    "F198": {
      "label": "Why, openpyxl",
      "display": "pure Python",
      "asOf": "2026-11-10"
    },
    "F199": {
      "label": "Need, xlwings",
      "display": "Formatted reports",
      "asOf": "2026-11-10"
    },
    "F200": {
      "label": "Why, xlwings",
      "display": "product features",
      "asOf": "2026-11-10"
    },
    "F201": {
      "label": "Need, xlsxwriter",
      "display": "Formatted reports",
      "asOf": "2026-11-10"
    },
    "F202": {
      "label": "Why, xlsxwriter",
      "display": "advanced formatting",
      "asOf": "2026-11-10"
    },
    "F203": {
      "label": "Code, frappe/frappe",
      "display": "def read_xlsx_file_from_attached_file(file_url=None, fcontent=None, filepath=None, *, read_only=False):\n    if file_url:\n        _file = frappe.get_doc(\"File\", {\"file_url\": file_url})\n        # read through the File, so a file on another storage driver works too\n        filename = BytesIO(_file.get_content())\n    elif fcontent:\n        filename = BytesIO(fcontent)\n    elif filepath:\n        filename = filepath\n    else:\n        return\n\n    from openpyxl import load_workbook\n\n    rows = []\n    wb1 = load_workbook(filename=filename, data_only=True, read_only=read_only)\n    ws1 = wb1.active\n    for row in ws1.iter_rows():\n        rows.append([cell.value for cell in row])\n    if read_only:\n        wb1.close()\n    return rows",
      "asOf": "2026-11-10"
    },
    "F204": {
      "label": "Repository, frappe/frappe",
      "display": "frappe/frappe",
      "asOf": "2026-11-10"
    },
    "F205": {
      "label": "GitHub stars, frappe/frappe",
      "display": "11.1K",
      "asOf": "2026-11-10"
    },
    "F206": {
      "label": "Last push, frappe/frappe",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F207": {
      "label": "File, frappe/frappe",
      "display": "xlsxutils.py · read_xlsx_file_from_attached_file()",
      "asOf": "2026-11-10"
    },
    "F208": {
      "label": "Code, jazzband/tablib",
      "display": "def export_book(cls, databook, freeze_panes=True, invalid_char_subst=\"-\",\n                escape=False, column_width=None):\n    \"\"\"Returns XLSX representation of DataBook.\n    See export_set().\n    \"\"\"\n\n    wb = Workbook()\n    for sheet in wb.worksheets:\n        wb.remove(sheet)\n    for i, dset in enumerate(databook._datasets):\n        ws = wb.create_sheet()\n        ws.title = (\n            safe_xlsx_sheet_title(dset.title, invalid_char_subst)\n            if dset.title else f\"Sheet{i}\"\n        )\n\n        cls.dset_sheet(dset, ws, freeze_panes=freeze_panes, escape=escape)\n\n        cls._adapt_column_width(ws, column_width)\n\n    stream = BytesIO()\n    wb.save(stream)\n    return stream.getvalue()",
      "asOf": "2026-11-10"
    },
    "F209": {
      "label": "Repository, jazzband/tablib",
      "display": "jazzband/tablib",
      "asOf": "2026-11-10"
    },
    "F210": {
      "label": "GitHub stars, jazzband/tablib",
      "display": "4.8K",
      "asOf": "2026-11-10"
    },
    "F211": {
      "label": "Last push, jazzband/tablib",
      "display": "Nov 2026",
      "asOf": "2026-11-02"
    },
    "F212": {
      "label": "File, jazzband/tablib",
      "display": "_xlsx.py · export_book()",
      "asOf": "2026-11-10"
    },
    "F213": {
      "label": "Code, frappe/frappe",
      "display": "def make_xlsx(\n    data: list[list[Any]],\n    sheet_name: str,\n    wb: xlsxwriter.Workbook | None = None,\n    column_widths: list[int] | None = None,\n    styles: dict | None = None,\n) -> BytesIO | None:\n    # ...\n    if wb is None:\n        xlsx_file = BytesIO()\n        options = {\"constant_memory\": True}\n        # ...\n        wb = xlsxwriter.Workbook(xlsx_file, options)\n        created_wb = True\n    ws = wb.add_worksheet(get_sanitized_sheet_name(sheet_name))\n    # ...\n    if not styling_enabled:\n        ws.set_row(0, cell_format=wb.add_format({\"bold\": True}))\n    # ...\n    write = ws.write\n    write_string = ws.write_string\n    for row_idx, row in enumerate(data):\n        for col_idx, value in enumerate(row):\n            # ...\n            if is_formula_like:\n                # force literal text so the cell isn't parsed as a formula\n                write_string(row_idx, col_idx, value, cell_format)\n            else:\n                write(row_idx, col_idx, value, cell_format)\n    # ...\n    wb.close()\n    xlsx_file.seek(0)\n    return xlsx_file",
      "asOf": "2026-11-10"
    },
    "F214": {
      "label": "Repository, frappe/frappe",
      "display": "frappe/frappe",
      "asOf": "2026-11-10"
    },
    "F215": {
      "label": "GitHub stars, frappe/frappe",
      "display": "11.1K",
      "asOf": "2026-11-10"
    },
    "F216": {
      "label": "Last push, frappe/frappe",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F217": {
      "label": "File, frappe/frappe",
      "display": "xlsxutils.py · make_xlsx()",
      "asOf": "2026-11-10"
    },
    "F218": {
      "label": "Code, pandas-dev/pandas",
      "display": "def _write_cells(\n    self,\n    cells,\n    sheet_name: str | None = None,\n    startrow: int = 0,\n    startcol: int = 0,\n    freeze_panes: tuple[int, int] | None = None,\n    autofilter_range: str | None = None,\n) -> None:\n    sheet_name = self._get_sheet_name(sheet_name)\n    wks = self.book.get_worksheet_by_name(sheet_name)\n    if wks is None:\n        wks = self.book.add_worksheet(sheet_name)\n    style_dict = {\"null\": None}\n    if validate_freeze_panes(freeze_panes):\n        wks.freeze_panes(*(freeze_panes))\n    for cell in cells:\n        val, fmt = self._value_with_fmt(cell.val)\n        # ...\n        if stylekey in style_dict:\n            style = style_dict[stylekey]\n        else:\n            style = self.book.add_format(_XlsxStyler.convert(cell.style, fmt))\n            style_dict[stylekey] = style\n        if cell.mergestart is not None and cell.mergeend is not None:\n            wks.merge_range(\n                startrow + cell.row,\n                startcol + cell.col,\n                startrow + cell.mergestart,\n                startcol + cell.mergeend,\n                val,\n                style,\n            )\n        else:\n            wks.write(startrow + cell.row, startcol + cell.col, val, style)\n    if autofilter_range:\n        wks.autofilter(autofilter_range)",
      "asOf": "2026-11-10"
    },
    "F219": {
      "label": "Repository, pandas-dev/pandas",
      "display": "pandas-dev/pandas",
      "asOf": "2026-11-10"
    },
    "F220": {
      "label": "GitHub stars, pandas-dev/pandas",
      "display": "50.5K",
      "asOf": "2026-11-10"
    },
    "F221": {
      "label": "Last push, pandas-dev/pandas",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F222": {
      "label": "File, pandas-dev/pandas",
      "display": "_xlsxwriter.py · _write_cells()",
      "asOf": "2026-11-10"
    },
    "F223": {
      "label": "Strength lead, xlrd",
      "display": "Built into pandas",
      "asOf": "2026-11-10"
    },
    "F224": {
      "label": "Strength, xlrd",
      "display": "pandas.read_excel uses xlrd for .xls files automatically.",
      "asOf": "2026-11-10"
    },
    "F225": {
      "label": "Code, jazzband/tablib",
      "display": "def import_book(cls, dbook, in_stream, headers=True):\n    \"\"\"Returns databook from XLS stream.\"\"\"\n\n    dbook.wipe()\n\n    xls_book = xlrd.open_workbook(file_contents=in_stream.read())\n\n    for sheet in xls_book.sheets():\n        dset = tablib.Dataset()\n        cls.import_sheet(dset, sheet, xls_book.datemode, headers)\n        dbook.add_sheet(dset)",
      "asOf": "2026-11-10"
    },
    "F226": {
      "label": "Repository, jazzband/tablib",
      "display": "jazzband/tablib",
      "asOf": "2026-11-10"
    },
    "F227": {
      "label": "GitHub stars, jazzband/tablib",
      "display": "4.8K",
      "asOf": "2026-11-10"
    },
    "F228": {
      "label": "Last push, jazzband/tablib",
      "display": "Nov 2026",
      "asOf": "2026-11-02"
    },
    "F229": {
      "label": "File, jazzband/tablib",
      "display": "_xls.py · import_book()",
      "asOf": "2026-11-10"
    },
    "F230": {
      "label": "Code, pandas-dev/pandas",
      "display": "def load_workbook(self, filepath_or_buffer, engine_kwargs) -> Book:\n    from xlrd import open_workbook\n\n    if hasattr(filepath_or_buffer, \"read\"):\n        data = filepath_or_buffer.read()\n        return open_workbook(file_contents=data, **engine_kwargs)\n    else:\n        return open_workbook(filepath_or_buffer, **engine_kwargs)",
      "asOf": "2026-11-10"
    },
    "F231": {
      "label": "Repository, pandas-dev/pandas",
      "display": "pandas-dev/pandas",
      "asOf": "2026-11-10"
    },
    "F232": {
      "label": "GitHub stars, pandas-dev/pandas",
      "display": "50.5K",
      "asOf": "2026-11-10"
    },
    "F233": {
      "label": "Last push, pandas-dev/pandas",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F234": {
      "label": "File, pandas-dev/pandas",
      "display": "_xlrd.py · load_workbook()",
      "asOf": "2026-11-10"
    },
    "F235": {
      "label": "Strength lead, pyxlsb",
      "display": "Built into pandas",
      "asOf": "2026-11-10"
    },
    "F236": {
      "label": "Strength, pyxlsb",
      "display": "pandas.read_excel uses pyxlsb for .xlsb files automatically.",
      "asOf": "2026-11-10"
    },
    "F237": {
      "label": "Caution lead, pyxlsb",
      "display": "Dates come back as numbers",
      "asOf": "2026-11-10"
    },
    "F238": {
      "label": "Caution, pyxlsb",
      "display": "Each date needs convert_date() to become a datetime.",
      "asOf": "2026-11-10"
    },
    "F239": {
      "label": "Code, pandas-dev/pandas",
      "display": "def get_sheet_data(\n    self,\n    sheet: Worksheet,\n    file_rows_needed: int | None = None,\n) -> list[list[Scalar]]:\n    data: list[list[Scalar]] = []\n    previous_row_number = -1\n    # When sparse=True the rows can have different lengths and empty rows are\n    # not returned. The cells are namedtuples of row, col, value (r, c, v).\n    for row in sheet.rows(sparse=True):\n        row_number = row[0].r\n        converted_row = [self._convert_cell(cell) for cell in row]\n        while converted_row and converted_row[-1] == \"\":\n            # trim trailing empty elements\n            converted_row.pop()\n        if converted_row:\n            data.extend([[]] * (row_number - previous_row_number - 1))\n            data.append(converted_row)\n            previous_row_number = row_number\n        if file_rows_needed is not None and len(data) >= file_rows_needed:\n            break\n    if data:\n        # extend rows to max_width\n        max_width = max(len(data_row) for data_row in data)\n        if min(len(data_row) for data_row in data) < max_width:\n            empty_cell: list[Scalar] = [\"\"]\n            data = [\n                data_row + (max_width - len(data_row)) * empty_cell\n                for data_row in data\n            ]\n    return data",
      "asOf": "2026-11-10"
    },
    "F240": {
      "label": "Repository, pandas-dev/pandas",
      "display": "pandas-dev/pandas",
      "asOf": "2026-11-10"
    },
    "F241": {
      "label": "GitHub stars, pandas-dev/pandas",
      "display": "50.5K",
      "asOf": "2026-11-10"
    },
    "F242": {
      "label": "Last push, pandas-dev/pandas",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F243": {
      "label": "File, pandas-dev/pandas",
      "display": "_pyxlsb.py · get_sheet_data()",
      "asOf": "2026-11-10"
    },
    "F244": {
      "label": "Caution lead, python-calamine",
      "display": "Read-only",
      "asOf": "2026-11-10"
    },
    "F245": {
      "label": "Caution, python-calamine",
      "display": "Writing files needs another library, such as openpyxl.",
      "asOf": "2026-11-10"
    },
    "F246": {
      "label": "Caution lead, python-calamine",
      "display": "Whole numbers become floats",
      "asOf": "2026-11-10"
    },
    "F247": {
      "label": "Caution, python-calamine",
      "display": "IDs and counts come back as floats, such as 0.0.",
      "asOf": "2026-11-10"
    },
    "F248": {
      "label": "Code, aws-samples/bedrock-claude-chatbot",
      "display": "def calamaine_excel_engine(file,cutoff):\n    # # Read from S3\n    s3 = boto3.client('s3')\n    match = re.match(\"s3://(.+?)/(.+)\", file)\n    if match:\n        bucket_name = match.group(1)\n        key = match.group(2)\n        obj = s3.get_object(Bucket=bucket_name, Key=key)\n        # Read Excel file from S3 into a buffer\n        xlsx_buffer = io.BytesIO(obj['Body'].read())\n        xlsx_buffer.seek(0)\n        all_sheets_string = \"\"\n        # Load the Excel file\n        workbook = CalamineWorkbook.from_filelike(xlsx_buffer)\n        # Iterate over each sheet in the workbook\n        for sheet_name in workbook.sheet_names:\n            # Get the sheet by name\n            sheet = workbook.get_sheet_by_name(sheet_name)\n            df = pd.DataFrame(sheet.to_python(skip_empty_area=False))\n            df = df.map(strip_newline)\n            preview_note = \"\"\n            if cutoff and len(df) > cutoff:\n                preview_note = (f\"\\n[PREVIEW: first {cutoff} of {len(df)} rows. The \"\n                                \"data-analysis tool has access to the complete file.]\\n\")\n                df = df.iloc[:cutoff]\n            # print(df)\n            tabb = df.to_csv(sep=CSV_SEPERATOR, index=False, header=0)\n            all_sheets_string += f'<{sheet_name}>\\n{tabb}{preview_note}\\n</{sheet_name}>\\n'\n        return all_sheets_string\n    else:\n        raise Exception(f\"{file} not formatted as an S3 path\")",
      "asOf": "2026-11-10"
    },
    "F249": {
      "label": "Repository, aws-samples/bedrock-claude-chatbot",
      "display": "aws-samples/bedrock-claude-chatbot",
      "asOf": "2026-11-10"
    },
    "F250": {
      "label": "GitHub stars, aws-samples/bedrock-claude-chatbot",
      "display": "109",
      "asOf": "2026-11-10"
    },
    "F251": {
      "label": "Last push, aws-samples/bedrock-claude-chatbot",
      "display": "Aug 2026",
      "asOf": "2026-08-18"
    },
    "F252": {
      "label": "File, aws-samples/bedrock-claude-chatbot",
      "display": "bedrock-chat.py · calamaine_excel_engine()",
      "asOf": "2026-11-10"
    },
    "F253": {
      "label": "Code, pandas-dev/pandas",
      "display": "def get_sheet_data(\n    self, sheet: CalamineSheet, file_rows_needed: int | None = None\n) -> list[list[Scalar | NaTType | time]]:\n    def _convert_cell(value: _CellValue) -> Scalar | NaTType | time:\n        if isinstance(value, float):\n            # GH#54564 - is_integer() returns False for NaN/Inf,\n            # so this safely avoids int() on non-finite values\n            if value.is_integer():\n                return int(value)\n            return value\n        elif isinstance(value, (datetime, timedelta)):\n            # Return as-is to match openpyxl behavior (GH#59186)\n            return value\n        elif isinstance(value, date):\n            # Convert date to datetime to match openpyxl behavior (GH#59186)\n            return datetime(value.year, value.month, value.day)\n        elif isinstance(value, time):\n            return value\n\n        return value\n\n    rows: list[list[_CellValue]] = sheet.to_python(\n        skip_empty_area=False, nrows=file_rows_needed\n    )\n    data = [[_convert_cell(cell) for cell in row] for row in rows]\n\n    return data",
      "asOf": "2026-11-10"
    },
    "F254": {
      "label": "Repository, pandas-dev/pandas",
      "display": "pandas-dev/pandas",
      "asOf": "2026-11-10"
    },
    "F255": {
      "label": "GitHub stars, pandas-dev/pandas",
      "display": "50.5K",
      "asOf": "2026-11-10"
    },
    "F256": {
      "label": "Last push, pandas-dev/pandas",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F257": {
      "label": "File, pandas-dev/pandas",
      "display": "_calamine.py · get_sheet_data()",
      "asOf": "2026-11-10"
    },
    "F258": {
      "label": "Caution lead, pyexcel-io",
      "display": "Plugin per format",
      "asOf": "2026-11-10"
    },
    "F259": {
      "label": "Caution, pyexcel-io",
      "display": "xls, xlsx, and ods each need a separate plugin package.",
      "asOf": "2026-11-10"
    },
    "F260": {
      "label": "Code, pyexcel/pyexcel",
      "display": "def _parse_any(\n    self,\n    anything,\n    on_demand=False,\n    file_type=None,\n    **keywords,\n):\n    if on_demand:\n        sheets, reader = iget_data(\n            anything,\n            file_type=file_type,\n            **keywords,\n        )\n        self._free_me_up_later(reader)\n    else:\n        sheets = get_data(anything, file_type=file_type, **keywords)\n    return sheets",
      "asOf": "2026-11-10"
    },
    "F261": {
      "label": "Repository, pyexcel/pyexcel",
      "display": "pyexcel/pyexcel",
      "asOf": "2026-11-10"
    },
    "F262": {
      "label": "GitHub stars, pyexcel/pyexcel",
      "display": "1.3K",
      "asOf": "2026-11-10"
    },
    "F263": {
      "label": "Last push, pyexcel/pyexcel",
      "display": "Sep 2026",
      "asOf": "2026-09-13"
    },
    "F264": {
      "label": "File, pyexcel/pyexcel",
      "display": "excel.py · _parse_any()",
      "asOf": "2026-11-10"
    },
    "F265": {
      "label": "Strength lead, xlwings",
      "display": "Formulas recalculate",
      "asOf": "2026-11-10"
    },
    "F266": {
      "label": "Strength, xlwings",
      "display": "Excel itself saves the file, so formulas update.",
      "asOf": "2026-11-10"
    },
    "F267": {
      "label": "Code, fzumstein/python-for-excel",
      "display": "def refresh_dropdown() -> None:\n    \"\"\"Refreshes the dropdown on the Tracker tab with the content of\n    the packages table.\n    \"\"\"\n    # Excel objects\n    book = xw.Book.caller()\n    dropdown_sheet = book.sheets[\"Dropdown\"]\n    tracker_sheet = book.sheets[\"Tracker\"]\n    dropdown_content_cell = dropdown_sheet[\"dropdown_content\"]\n\n    # Clear the current value in the dropdown\n    tracker_sheet[\"package_selection\"].clear_contents()\n\n    # Delete the content of the Excel table and repopulate it\n    # with the values from the packages database table\n    if dropdown_content_cell.value:\n        dropdown_content_cell.delete()\n    packages = database.get_packages()\n    dropdown_content_cell.options(header=False, index=False).value = packages",
      "asOf": "2026-11-10"
    },
    "F268": {
      "label": "Repository, fzumstein/python-for-excel",
      "display": "fzumstein/python-for-excel",
      "asOf": "2026-11-10"
    },
    "F269": {
      "label": "GitHub stars, fzumstein/python-for-excel",
      "display": "784",
      "asOf": "2026-11-10"
    },
    "F270": {
      "label": "Last push, fzumstein/python-for-excel",
      "display": "Jul 2026",
      "asOf": "2026-07-01"
    },
    "F271": {
      "label": "File, fzumstein/python-for-excel",
      "display": "packagetracker.py · refresh_dropdown()",
      "asOf": "2026-11-10"
    },
    "F272": {
      "label": "Code, fzumstein/python-for-excel",
      "display": "def show_history() -> None:\n    \"\"\"Shows the latest release and plots the release history\n    (number of releases per year)\n    \"\"\"\n    # Excel objects\n    book = xw.Book.caller()\n    tracker_sheet = book.sheets[\"Tracker\"]\n    package_name = tracker_sheet[\"package_selection\"].value\n    feedback_cell = tracker_sheet[\"package_selection\"].offset(column_offset=1)\n    picture_cell = tracker_sheet[\"latest_release\"].offset(row_offset=2)\n    latest_release_cell = tracker_sheet[\"latest_release\"]\n    # ...\n    # Clear output cells and picture\n    feedback_cell.clear_contents()\n    tracker_sheet[\"latest_release\"].clear_contents()\n    if \"releases_per_year\" in tracker_sheet.pictures:\n        tracker_sheet.pictures[\"releases_per_year\"].delete()\n    # ...\n    # Plot\n    fig = create_releases_chart(releases, package_name)\n\n    latest_date = releases.index.max()\n    latest_version = releases.loc[latest_date, \"version\"]\n    latest_release_cell.value = f\"{latest_version} ({latest_date:%B %d, %Y})\"\n\n    tracker_sheet.pictures.add(\n        fig, name=\"releases_per_year\", top=picture_cell.top, left=picture_cell.left\n    )",
      "asOf": "2026-11-10"
    },
    "F273": {
      "label": "Repository, fzumstein/python-for-excel",
      "display": "fzumstein/python-for-excel",
      "asOf": "2026-11-10"
    },
    "F274": {
      "label": "GitHub stars, fzumstein/python-for-excel",
      "display": "784",
      "asOf": "2026-11-10"
    },
    "F275": {
      "label": "Last push, fzumstein/python-for-excel",
      "display": "Jul 2026",
      "asOf": "2026-07-01"
    },
    "F276": {
      "label": "File, fzumstein/python-for-excel",
      "display": "packagetracker.py · show_history()",
      "asOf": "2026-11-10"
    },
    "F277": {
      "label": "Code, JacobBumgarner/VesselVio",
      "display": "def create_results_file(results_file, data):\n    wb = Workbook()\n    ws = wb.new_sheet(\"Main Results\", data=data)\n    row_style = Style(\n        font=Font(bold=True),\n        alignment=Alignment(wrap_text=True, horizontal=\"center\", vertical=\"center\"),\n        size=60,\n    )\n    # col_style = Style(font=Font(bold=True), alignment=Alignment(wrap_text=True, horizontal='fill', vertical='bottom'))\n    col_style = Style(font=Font(bold=True))\n    ws.set_col_style((3, 7, 9, 10, 15, 16, 37, 58), Style(size=12))\n    ws.set_row_style((1, 2), row_style)\n    ws.set_col_style((1, 2), col_style)\n    wb.save(results_file)",
      "asOf": "2026-11-10"
    },
    "F278": {
      "label": "Repository, JacobBumgarner/VesselVio",
      "display": "JacobBumgarner/VesselVio",
      "asOf": "2026-11-10"
    },
    "F279": {
      "label": "GitHub stars, JacobBumgarner/VesselVio",
      "display": "140",
      "asOf": "2026-11-10"
    },
    "F280": {
      "label": "Last push, JacobBumgarner/VesselVio",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F281": {
      "label": "File, JacobBumgarner/VesselVio",
      "display": "results_export.py · create_results_file()",
      "asOf": "2026-11-10"
    },
    "F282": {
      "label": "Code, rg3915/dicas-de-django",
      "display": "def export_xlsx(request):\n    products = Product.objects.all()\n    data = [(product.title, product.price) for product in products]\n    data.insert(0, ('title', 'price'))\n\n    wb = Workbook()\n    wb.new_sheet(\"sheet name\", data=data)\n    wb.save(\"/tmp/products_out.xlsx\")\n    return redirect('product:product_list')",
      "asOf": "2026-11-10"
    },
    "F283": {
      "label": "Repository, rg3915/dicas-de-django",
      "display": "rg3915/dicas-de-django",
      "asOf": "2026-11-10"
    },
    "F284": {
      "label": "GitHub stars, rg3915/dicas-de-django",
      "display": "229",
      "asOf": "2026-11-10"
    },
    "F285": {
      "label": "Last push, rg3915/dicas-de-django",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F286": {
      "label": "File, rg3915/dicas-de-django",
      "display": "views.py · export_xlsx()",
      "asOf": "2026-11-10"
    },
    "F287": {
      "label": "Quickstart, openpyxl",
      "display": "from openpyxl import Workbook\nwb = Workbook()\n\n# grab the active worksheet\nws = wb.active\n\n# Data can be assigned directly to cells\nws['A1'] = 42\n\n# Rows can also be appended\nws.append([1, 2, 3])\n\n# Save the file\nwb.save(\"sample.xlsx\")",
      "asOf": "2026-11-10"
    },
    "F288": {
      "label": "Quickstart, pyxlsb",
      "display": "from pyxlsb import open_workbook\nwith open_workbook('Book1.xlsb') as wb:\n    with wb.get_sheet(1) as sheet:\n        for row in sheet.rows():\n            print(row)",
      "asOf": "2026-11-10"
    },
    "F289": {
      "label": "Quickstart, pyexcel-io",
      "display": "from pyexcel_io import save_data\ndata = [[1, 2, 3], [4, 5, 6]]\nsave_data(\"your_file.csv\", data)\n\nfrom pyexcel_io import get_data\ndata = get_data(\"your_file.csv\")",
      "asOf": "2026-11-10"
    },
    "F290": {
      "label": "Edits existing workbooks, xlrd",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F291": {
      "label": "Edits existing workbooks, python-calamine",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F292": {
      "label": "Adds native charts, python-calamine",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F293": {
      "label": "Edits existing workbooks, PyExcelerate",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F294": {
      "label": "Adds native charts, PyExcelerate",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    }
  },
  "dataCheckedAt": "2026-11-10",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "open source Python libraries for reading and writing Excel spreadsheets (xlsx files)",
        "numResults": 20,
        "type": "auto",
        "includeDomains": [
          "github.com"
        ]
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": [
      {
        "endpoint": "/search",
        "body": {
          "query": "Python Excel library package",
          "numResults": 20,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://foss.heptapod.net/openpyxl/openpyxl",
            "https://openpyxl.readthedocs.io",
            "https://pypi.org/project/openpyxl/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about openpyxl, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what openpyxl does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of openpyxl that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of openpyxl that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says openpyxl handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library openpyxl (openpyxl on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library openpyxl (openpyxl on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library openpyxl (openpyxl) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses openpyxl for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/sundial-org/awesome-openclaw-skills/blob/357e18def3dcf403123565d214d0d505aa993555/skills/excel/scripts/excel.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function cmd_delete_cols() in this file, which uses the openpyxl library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What cmd_delete_cols() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the openpyxl calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/jmcnamara/XlsxWriter",
            "https://xlsxwriter.readthedocs.io",
            "https://pypi.org/project/xlsxwriter/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about XlsxWriter, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what XlsxWriter does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of XlsxWriter that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of XlsxWriter that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says XlsxWriter handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library XlsxWriter (xlsxwriter on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library XlsxWriter (xlsxwriter on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library XlsxWriter (xlsxwriter) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses xlsxwriter for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/alibaba/rtp-llm/blob/842ef92511bd13bec1e5779add5d98d457063c13/rtp_llm/flexlb/tools/pv_request_replay/build_workbook.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function build_workbook() in this file, which uses the XlsxWriter library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What build_workbook() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the XlsxWriter calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/python-excel/xlrd",
            "http://www.python-excel.org/",
            "https://pypi.org/project/xlrd/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about xlrd, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what xlrd does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of xlrd that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of xlrd that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says xlrd handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library xlrd (xlrd on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library xlrd (xlrd on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library xlrd (xlrd) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses xlrd for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/wireservice/csvkit/blob/e54cc79014ec82ee99bdcedcd229aeaeb9eab1bd/csvkit/utilities/in2csv.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function sheet_names() in this file, which uses the xlrd library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What sheet_names() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the xlrd calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/willtrnr/pyxlsb",
            "https://pypi.org/project/pyxlsb/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about pyxlsb, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what pyxlsb does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of pyxlsb that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of pyxlsb that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says pyxlsb handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pyxlsb (pyxlsb on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pyxlsb (pyxlsb on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library pyxlsb (pyxlsb) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pyxlsb for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/dimastbk/python-calamine",
            "https://pypi.org/project/python-calamine/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about python-calamine, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what python-calamine does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of python-calamine that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of python-calamine that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says python-calamine handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library python-calamine (python-calamine on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library python-calamine (python-calamine) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses python-calamine for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/yfedoseev/office_oxide/blob/642ea1889c1ffcdba5003370d6e448819e976b50/scripts/regression-sweep/refpanel.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function t_calamine() in this file, which uses the python-calamine library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What t_calamine() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the python-calamine calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/pyexcel/pyexcel-io",
            "http://io.pyexcel.org",
            "https://pypi.org/project/pyexcel-io/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about pyexcel-io, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what pyexcel-io does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of pyexcel-io that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of pyexcel-io that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says pyexcel-io handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library pyexcel-io (pyexcel-io on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library pyexcel-io (pyexcel-io) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pyexcel-io for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/pyexcel-webwares/django-excel/blob/d28d52b99d765b2c882f7c46a444022799f0991e/testResponse.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _download_and_verify_file_name() in this file, which uses the pyexcel-io library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _download_and_verify_file_name() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the pyexcel-io calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/xlwings/xlwings",
            "https://www.xlwings.org",
            "https://pypi.org/project/xlwings/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about xlwings, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what xlwings does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of xlwings that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of xlwings that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says xlwings handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library xlwings (xlwings on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library xlwings (xlwings on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library xlwings (xlwings) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses xlwings for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/kz26/PyExcelerate",
            "https://pypi.org/project/pyexcelerate/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about PyExcelerate, a Python Excel library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what PyExcelerate does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of PyExcelerate that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of PyExcelerate that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says PyExcelerate handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Formatted reports",
                          "Reading large files",
                          "Editing existing workbooks",
                          "Old xls files",
                          "pandas DataFrames",
                          "Charts in workbooks",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Formatted reports; Reading large files; Editing existing workbooks; Old xls files; pandas DataFrames; Charts in workbooks."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library PyExcelerate (pyexcelerate on PyPI) open an existing Excel workbook, change it, and save it? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library PyExcelerate (pyexcelerate on PyPI) create native Excel charts inside a workbook? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "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.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library PyExcelerate (pyexcelerate) write or save spreadsheets as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses pyexcelerate for reading and writing Excel spreadsheets (xlsx files), application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      }
    ]
  }
}
