minidump
Python library to parse Windows minidump file format
What it is and what it does
Minidump is a Python library for parsing and analyzing Microsoft minidump files—the crash dumps and memory snapshots Windows generates when processes fail or are explicitly captured. It provides both a command-line tool for one-shot analysis and an interactive shell for exploring dumped process memory, as well as a library interface (MinidumpFileReader, MinidumpBufferedReader) for programmatic access to the dump's virtual address space. The library understands CPU architecture and can read and search memory with proper integer sizing.
On Windows, the package can also create minidumps directly using the Windows API via ctypes, with support for capturing processes running in different user contexts if you have the required privileges. It has no external runtime dependencies and requires only Python >= 3.6, making it straightforward to install and use for forensics, debugging, and memory analysis workflows.
Use it for:
- Analyze Windows crash dumps to extract process state, threads, exceptions, and memory contents for debugging
- Programmatically search and read virtual memory from a dumped process to extract artifacts or validate memory state
- Create minidumps of running processes on Windows for offline analysis or archival
- Build forensic or incident-response tools that need to parse and inspect Windows process memory snapshots
- Extract module and thread information from crash dumps for post-mortem analysis
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses Microsoft minidump files and reads process memory dumps; can also create minidumps on Windows machines via the Windows API.
Yes, if you work with Windows minidumps or need to capture process memory on Windows. The package is stable, has no dependencies, and fills a specific niche in Windows debugging and forensics. Maintenance is dormant but recent enough (last commit January 2025) that it remains usable; however, if you need active support or expect frequent updates, consider the maintenance status.
Install
minidump on PyPI
pip
pip install minidumpuv
uv add minidumppoetry
poetry add minidumpInstalling minidump
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2024-08-15 and last commit 2025-01-08, but the repository remains active and the package has been stable since its 2018 initial release.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install minidump
from minidump.minidumpfile import MinidumpFile
with open('dump.dmp', 'rb') as f:
md = MinidumpFile.parse(f)
# Access process memory and metadata
Requires Python >= 3.6. Creating minidumps requires Windows with administrator or SeDebugPrivilege; parsing works cross-platform.
Verify before relying
- Whether the package handles all minidump variants (full, mini, heap dumps) or only a subset
- Performance characteristics when working with large dump files
- Compatibility with recent Windows minidump formats beyond what the fact sheet documents
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 729 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 399,180/month — #6,950 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: minidump-0.0.24-py3-none-any.whl
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
mozcrashExtracts and formats stack traces from minidump…
copyleft · top 15,000 on PyPI
esp-coredumpRetrieves and analyzes core dumps from ESP32…
permissive · top 5,000 on PyPI
ubi-readerExtracts files and analyzes the structure of…
copyleft · top 15,000 on PyPI
volatility3Volatility 3 is a memory forensics framework…
unclear · top 15,000 on PyPI
winaclParses and manipulates Windows security…
permissive · top 15,000 on PyPI
hexdumpConverts binary data to hexadecimal text…
permissive · top 15,000 on PyPI
pystackPyStack inspects the stack frames of a running…
permissive · top 15,000 on PyPI
mwxmlEfficiently parse and stream-process MediaWiki…
permissive · top 15,000 on PyPI
tomlrtReads and writes TOML files while preserving…
permissive · top 15,000 on PyPI
libconfReads and writes configuration files in…
permissive · top 15,000 on PyPI