antiword
Spew anything out as text to stdout
What it is and what it does
Antiword is a thin Python wrapper around LibreOffice's command-line text conversion tool. It invokes `libreoffice --convert-to txt` to convert documents to plain text, capturing the output and cleaning up temporary files automatically. The package has no runtime dependencies beyond requiring LibreOffice itself to be available on the system.
The package is designed as a convenience layer for developers who need to extract text from documents programmatically. Since its single release in October 2021, it has received no updates or maintenance. It requires Python 3.9+ and is suitable only for environments where LibreOffice is already installed or can be reliably provisioned.
Use it for:
- Extract text from Word documents or other office formats in a Python script
- Batch convert document collections to plain text for text processing pipelines
- Build document indexing or search systems that need text extraction from office files
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Wraps LibreOffice's text conversion to convert documents to plain text output via a Python interface.
No. The package is abandoned with no updates since 2021-10-19, making it a maintenance liability. For active document-to-text conversion, use maintained alternatives. If you must wrap LibreOffice, consider writing a small inline helper rather than depending on unmaintained code.
Install
antiword on PyPI
pip
pip install antiworduv
uv add antiwordpoetry
poetry add antiwordInstalling antiword
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2021-10-19 with no commits since. Requires Python 3.9+ and depends on LibreOffice being installed on the system.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions.
Quickstart
pip install antiword
import antiword
text_output = antiword.convert(document_path)
LibreOffice must be installed and available on the system PATH for the package to function.
Verify before relying
- Whether LibreOffice must be pre-installed or if the package handles installation
- Which document formats are supported beyond what LibreOffice can convert
- Performance characteristics and memory usage for large documents
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,760 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,568/month — #14,615 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: antiword-0.1.0-py3-none-any.whl
Tags
More Text Processing packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyparsingpyparsing provides a library for building text…
permissive · top 1,000 on PyPI
docutilsDocutils converts plaintext documentation in…
unclear · top 1,000 on PyPI
RapidFuzzRapidFuzz provides fast fuzzy string matching…
permissive · top 1,000 on PyPI
tinycss2tinycss2 parses CSS strings into token and…
permissive · top 1,000 on PyPI
llama-parseLlamaParse parses complex documents (PDFs,…
permissive · top 1,000 on PyPI
unoserverUnoserver runs LibreOffice as a persistent…
permissive · top 15,000 on PyPI
strip-markdownConverts markdown text to plain text, removing…
permissive · top 15,000 on PyPI
pyphenPyphen hyphenates text in multiple languages…
copyleft · top 1,000 on PyPI
html-textExtracts plain text from HTML while filtering…
permissive · top 5,000 on PyPI
textractExtracts text from documents in multiple…
permissive · top 15,000 on PyPI
pdftextExtracts plain text or structured blocks,…
permissive · top 15,000 on PyPI
pyandocPyandoc wraps Pandoc to convert between…
permissive · top 5,000 on PyPI
doclingDocling parses diverse document formats—PDF,…
permissive · top 5,000 on PyPI
liteparseLiteParse provides Python bindings for fast,…
permissive · top 15,000 on PyPI
mdit-plainConverts markdown documents to plain text by…
permissive · top 15,000 on PyPI