olefile
Python package to parse, read and write Microsoft OLE2 files (Structured Storage or Compound Document, Microsoft Office)
Install
olefile on PyPI
pip
pip install olefileuv
uv add olefilepoetry
poetry add olefilePackage facts
| License | BSD (permissive) |
| Python support | supports the current Python release (>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 986 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: olefile-0.47-py2.py3-none-any.whl
About olefile
from the package's own PyPI description — quoted content, verbatim
olefile
Test (image) Build Status AppVeyor (image) codecov (image) Documentation Status (image) PyPI (image) Say Thanks! (image)
olefile is a Python package to parse, read and write Microsoft OLE2 files (also called Structured Storage, Compound File Binary Format or Compound Document File Format), such as Microsoft Office 97-2003 documents, vbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix files, Outlook messages, StickyNotes, several...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
olefile parses, reads, and writes Microsoft OLE2 compound files (Structured Storage format), including legacy Office 97-2003 documents, Outlook messages, and other structured binary formats.
Low install friction with no runtime dependencies; distributed as a pure Python wheel. Maintenance is dormant (986 days since last release in Dec 2023), though the repository remains active with recent commits and the package is marked Production/Stable.
BSD permissive license allows commercial and private use with minimal restrictions; redistribution requires retaining copyright notice and disclaimer.
Usage
pip install olefile
import olefile
ole = olefile.OleFileIO('document.doc')
streams = ole.listdir()
ole.close()
Verdict: olefile is a stable, dependency-free library for working with legacy Microsoft compound file formats. It is suitable for production use in forensics, malware analysis, and document parsing, though development has slowed significantly since its last release in December 2023. No known security vulnerabilities.
Needs verification
- Whether the 986-day gap since v0.47 (Dec 2023) reflects intentional maintenance pause or abandonment risk
- Performance characteristics and scalability limits for large or malformed OLE files
- Compatibility of Python 2.7 support claim with current security and ecosystem standards
Similar packages
permissive · top 1,000 on PyPI
python-pptxpermissive · top 1,000 on PyPI
python-docxpermissive · top 1,000 on PyPI
pillowpermissive · top 100 on PyPI
msrestazurepermissive · top 1,000 on PyPI
thriftpermissive · top 1,000 on PyPI
mpmathpermissive · top 1,000 on PyPI
strictyamlpermissive · top 1,000 on PyPI
databricks-labs-blueprintunclear · top 1,000 on PyPI
gitdbpermissive · top 1,000 on PyPI