compoundfiles
Library for parsing and reading OLE Compound Documents
What it is and what it does
compoundfiles is a pure-Python library for reading Microsoft's Compound File Binary (CFB) format, historically used in OLE Compound Documents, older Microsoft Office files, and various scientific applications like tomography and microscopy systems. The library emphasizes validation and performs numerous checks on opened files, issuing warnings for non-fatal errors through Python's standard warnings mechanism.
The package was last released in 2014 and has received no maintenance since. While it claims broad platform support and Python 2.7 and 3.2 compatibility, those claims are now over a decade old and unverified against current Python versions. The source-only distribution and lack of wheels add installation friction, and the abandoned status means no bug fixes or compatibility updates are forthcoming.
Use it for:
- Extract data from legacy Microsoft Office files when modern libraries are unavailable.
- Parse OLE Compound Documents in scientific imaging or tomography systems that still use the CFB format.
- Read Advanced Authoring Format (AAF) containers in media production workflows that depend on the CFB structure.
- Reverse-engineer or analyze historical binary file formats in archival or forensic contexts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Reads and parses Microsoft Compound File Binary format (CFB), OLE Compound Documents, and related legacy binary file formats used in older Office documents and scientific applications.
No. The package is abandoned with no maintenance since 2014, making it unsuitable for new projects. High install friction (source-only), unverified Python compatibility, and no active bug fixes or security updates. Only consider if you must read CFB files in a legacy system with no alternatives and can accept the risk of unmaintained code.
Install
compoundfiles on PyPI
pip
pip install compoundfilesuv
uv add compoundfilespoetry
poetry add compoundfilesInstalling compoundfiles
Before you install
High install friction due to source-only distribution (no wheels). Project is abandoned as of 2014, with no commits or maintenance activity for over a decade, making it unsuitable for new projects or modern Python environments.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making licensing a non-barrier for adoption.
Quickstart
pip install compoundfiles
import compoundfiles
with compoundfiles.CompoundFileReader('file.ole') as cfb:
# Read entries from the compound file
Project is abandoned; no Python version guarantee beyond historical claims of Python 2.7 and 3.2 compatibility. Compatibility with modern Python versions is unverified.
Verify before relying
- Whether the package actually works with Python versions released after 2014 or if it requires significant porting.
- Current state of the GitHub repository and whether it remains accessible or has been removed.
- Whether any forks or maintained alternatives exist for reading CFB/OLE formats in modern Python.
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 4,365 days since the last release |
| First released | |
| Downloads | 276,110/month — #8,168 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: compoundfiles-0.3.tar.gz
Keywords: microsoft, ole, compound, document
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
olefileolefile parses, reads, and writes Microsoft…
permissive · top 1,000 on PyPI
pyaaf2Read, write, and modify Advanced Authoring…
permissive · top 15,000 on PyPI
oletoolsoletools is a suite of Python tools to extract,…
permissive · top 5,000 on PyPI
docxCreates, reads, and writes Microsoft Office…
unclear · top 15,000 on PyPI
msoffcrypto-toolDecrypts and encrypts Microsoft Office files…
permissive · top 5,000 on PyPI
types-olefileProvides type annotations for the olefile…
permissive · top 15,000 on PyPI
docling-slimDocling Slim is a lightweight, modular SDK for…
permissive · top 5,000 on PyPI
xlrd3Reads data from Excel spreadsheet files (.xls…
permissive · top 15,000 on PyPI
spire-docSpire.Doc creates, reads, modifies, and…
unclear · top 15,000 on PyPI