$npx skillfedfor your agent

xlwt

Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7, 3.3+

SkipPyPI Python ModulesReleased Aug 201712.1M downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — xlwt-1.3.0-py2.py3-none-any.whl
v1.3.0 · released 2017-08-22

No, unless you are maintaining legacy code that specifically requires XLS output and cannot be migrated. The package is abandoned and will not receive security updates or compatibility fixes. For new projects, use a maintained alternative that supports XLSX (the modern Excel standard). If you must generate XLS files, xlwt works but carries the risk of unpatched bugs and incompatibility with future Python versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Targets Excel 97–2003 format (.xls); modern Excel versions prefer .xlsx.
  • Abandoned since 2017; compatibility with current Python versions is not guaranteed.
  • Installation is frictionless—a pure-Python wheel with no runtime dependencies.

License · maintenance · safety

BSD (permissive) — BSD license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.

last release 2017-08-22 (3279 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,072,900 downloads/mo, #1,345 on PyPI

Verify before relying

pip install xlwt

import xlwt
from datetime import datetime

wb = xlwt.Workbook()
ws = wb.add_sheet('Sheet1')
ws.write(0, 0, 'Hello')
ws.write(1, 0, datetime.now())
wb.save('output.xls')
  • Current compatibility with Python 3.7+ (classifiers list up to 3.6; last release was 2017-08-22)
  • Whether the package works reliably on modern operating systems and Python distributions
  • Active alternatives or recommended successors for new projects
Same gist for agents: .md · .json

What it is and what it does

xlwt is a pure-Python library for writing Microsoft Excel spreadsheets in the XLS format (Excel 97–2003). It provides a straightforward API to create workbooks, add sheets, write cells with formatting, and save files—all without requiring external C libraries or system dependencies. The package includes styling support (fonts, colors, number formats) and formula generation.

The library has been in production/stable status since its initial release but has not been actively maintained since 2017. It is designed for legacy Excel compatibility and does not support the modern XLSX format. For projects targeting current Excel versions or requiring ongoing maintenance and updates, this package should be considered end-of-life.

Use it for

  • Generate legacy XLS reports from Python scripts in environments where Excel 97–2003 format is required or expected.
  • Export tabular data to XLS files with basic cell styling (fonts, colors, number formatting) without external dependencies.
  • Build batch spreadsheet generation tools for older enterprise systems that do not accept XLSX or other modern formats.
  • Create simple financial or business reports with formulas and formatted cells in the XLS format.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are maintaining legacy code that specifically requires XLS output and cannot be migrated.

The package is abandoned and will not receive security updates or compatibility fixes. For new projects, use a maintained alternative that supports XLSX (the modern Excel standard). If you must generate XLS files, xlwt works but carries the risk of unpatched bugs and incompatibility with future Python versions.

Install

xlwt on PyPI

Before you install

Installation is frictionless—a pure-Python wheel with no runtime dependencies. However, the package has been abandoned since 2017 and receives no maintenance; it will not be updated for modern Python versions or security issues.

Targets Excel 97–2003 format (.xls); modern Excel versions prefer .xlsx. Abandoned since 2017; compatibility with current Python versions is not guaranteed.

License in practice

BSD license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.

Quickstart

pip install xlwt

import xlwt
from datetime import datetime

wb = xlwt.Workbook()
ws = wb.add_sheet('Sheet1')
ws.write(0, 0, 'Hello')
ws.write(1, 0, datetime.now())
wb.save('output.xls')

Verify before relying

  • Current compatibility with Python 3.7+ (classifiers list up to 3.6; last release was 2017-08-22)
  • Whether the package works reliably on modern operating systems and Python distributions
  • Active alternatives or recommended successors for new projects

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,279 days since the last release
First released
Downloads12,072,900 / month, #1,345 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: DatabaseTopic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/LibrariesTopic :: Office/Business :: Financial :: SpreadsheetTopic :: Software Development :: Libraries :: Python Modules

Evidence: xlwt-1.3.0-py2.py3-none-any.whl

Tags

Capabilities
write excel files pythoncreate xls spreadsheetsgenerate excel 97-2003python excel writerxls file generationspreadsheet creation libraryexcel workbook python
Topics
legacy-formatabandoned
PyPI keywords
xlsexcelspreadsheetworkbookworksheetpyExcelerator

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “write excel files python”

  • xlwtGenerates Microsoft Excel 97–2003 XLS spreadsheet files from Python…
  • xlsxwriterXlsxWriter creates Excel 2007+ XLSX files from Python, supporting…
  • openpyxlopenpyxl reads and writes Excel 2010 xlsx/xlsm/xltx/xltm files…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also xlutils · xlwings · xlsxwriter · excelrd · PyExcelerate · spire-xls · XMind · xlrd · xlcalculator · xlrd3