{
 "kind": "tool",
 "slug": "olefile",
 "path": "tools/olefile/",
 "name": "olefile",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Parse and read Microsoft OLE2 files and legacy Office document formats.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install olefile"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/decalage2/olefile"
  },
  {
   "label": "Website",
   "href": "https://www.decalage.info/python/olefileio"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/decalage2/olefile"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 10, 2026",
   "note": "Latest GitHub release Dec 4, 2023. ",
   "src": "https://github.com/decalage2/olefile"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "3 projects",
   "status": "info",
   "sub": "#128 of 281 in its category",
   "note": "Dependency in 3 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What olefile does",
   "parts": [
    {
     "t": "prose",
     "text": "Parse and read Microsoft OLE2 files and legacy Office document formats."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "olefile popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1500 overall"
      },
      {
       "n": "11.7M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "277",
       "l": "GitHub stars"
      },
      {
       "n": "3",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How olefile is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "olefile is a dependency in 3 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 153 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is openpyxl (86 projects).",
      "Projects that use it most often also use Pillow (97.4%), cryptography (96.7%), NumPy (96.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 97.4% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 96.7% of its projects",
       "v": "cryptography",
       "path": "tools/cryptography/"
      },
      {
       "l": "In 96.7% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 95.4% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 95.4% of its projects",
       "v": "lxml",
       "path": "tools/lxml/"
      },
      {
       "l": "In 95.4% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 94.8% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      },
      {
       "l": "In 94.8% of its projects",
       "v": "MarkupSafe",
       "path": "tools/markupsafe/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about olefile",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Files, images and media",
       "path": "tools/files-media/",
       "items": [
        {
         "text": "Sharp",
         "path": "tools/sharp/"
        },
        {
         "text": "Pillow",
         "path": "tools/pillow/"
        },
        {
         "text": "Nodemailer",
         "path": "tools/nodemailer/"
        },
        {
         "text": "jsPDF",
         "path": "tools/jspdf/"
        },
        {
         "text": "SheetJS",
         "path": "tools/xlsx/"
        },
        {
         "text": "qrcode (JavaScript)",
         "path": "tools/qrcode-npm/"
        },
        {
         "text": "JSZip",
         "path": "tools/jszip/"
        },
        {
         "text": "PDF.js",
         "path": "tools/pdfjs-dist/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "olefile",
       "me": true,
       "facts": [
        "BSD",
        "Gid 54",
        "11.7M/wk"
       ]
      },
      {
       "name": "openpyxl",
       "why": "Python library for reading and writing Excel 2010 XLSX/XLSM files.",
       "path": "tools/openpyxl/",
       "facts": [
        "MIT",
        "Gid 76",
        "89.4M/wk"
       ]
      },
      {
       "name": "PyPDF",
       "why": "Pure-Python library for reading, merging, splitting and transforming PDF files.",
       "path": "tools/pypdf/",
       "facts": [
        "BSD-3-Clause",
        "Gid 78",
        "52.8M/wk"
       ]
      },
      {
       "name": "python-docx",
       "why": "Python library for creating, reading and updating Microsoft Word .docx files.",
       "path": "tools/python-docx/",
       "facts": [
        "MIT",
        "Gid 73",
        "34.1M/wk"
       ]
      },
      {
       "name": "PyMuPDF",
       "why": "High-performance library for PDF extraction, conversion and manipulation.",
       "path": "tools/pymupdf/",
       "facts": [
        "Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License",
        "Gid 79",
        "43.7M/wk"
       ]
      },
      {
       "name": "PyPDF2",
       "why": "Pure Python library for splitting, merging, cropping and transforming PDF files.",
       "path": "tools/pypdf2/",
       "facts": [
        "BSD",
        "Gid 64",
        "3.8M/wk"
       ]
      },
      {
       "name": "python-pptx",
       "why": "Create, read, and modify PowerPoint presentations programmatically in Python.",
       "path": "tools/python-pptx/",
       "facts": [
        "MIT",
        "Gid 68",
        "26.1M/wk"
       ]
      }
     ],
     "more": "Compare olefile with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install olefile"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for olefile yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi olefile"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "BSD"
  ],
  [
   "Gid Score",
   "54.3"
  ],
  [
   "Rank in category",
   "#128 of 281"
  ],
  [
   "GitHub",
   "decalage2/olefile"
  ],
  [
   "Last change",
   "Nov 10, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/decalage2.png"
}