--- id: olefile version: "0.47" license: BSD license_treatment: permissive maintenance: dormant --- # olefile — Python package to parse, read and write Microsoft OLE2 files (Structured Storage or Compound Document, Microsoft Office) License: permissive · Maintenance: dormant · Popularity: top 1,000 on PyPI ## Install pip install olefile uv add olefile poetry add olefile ## Description olefile ======= [![Test](https://github.com/decalage2/olefile/actions/workflows/test.yml/badge.svg)](https://github.com/decalage2/olefile/actions) [![Build Status AppVeyor](https://ci.appveyor.com/api/projects/status/github/decalage2/olefile?svg=true)](https://ci.appveyor.com/project/decalage2/olefile) [![codecov](https://codecov.io/gh/decalage2/olefile/branch/main/graph/badge.svg)](https://codecov.io/gh/decalage2/olefile) [![Documentation Status](http://readthedocs.org/projects/olefile/badge/?version=latest)](http://olefile.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/olefile.svg)](https://pypi.org/project/olefile/) [![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/decalage2) [olefile](https://www.decalage.info/olefile) is a Python package to parse, read and write [Microsoft OLE2 files](http://en.wikipedia.org/wiki/Compound_File_Binary_Format) (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... ## AI interpretation — verify before relying 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. 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. [View on SkillFed](https://skillfed.io/packages/olefile) · [View on PyPI](https://pypi.org/project/olefile/)