dissect.volume
A Dissect module implementing a parser for different disk volume and partition systems, for example LVM2, GPT and MBR
What it is and what it does
dissect.volume is a parser library for disk volume and partition systems, part of the Dissect framework. It reads and interprets the metadata structures of common partitioning schemes—LVM2, GPT, and MBR—to expose partition information programmatically. The package is built on top of dissect.cstruct and dissect.util, providing low-level binary parsing of partition tables and volume metadata.
Typically used in digital forensics, disk analysis, and system administration workflows where you need to programmatically understand disk layout without relying on OS-level tools. It requires Python 3.10 or later and installs with minimal dependencies, making it suitable for integration into analysis pipelines or forensic tooling.
Use it for:
- Forensic analysis: parse disk images to extract partition structure and identify volumes.
- Disk imaging tools: integrate partition parsing into backup or cloning utilities.
- System administration: programmatically enumerate and analyze partition schemes.
- Malware analysis: examine disk artifacts in isolated environments.
- Data recovery: reconstruct partition information from damaged disk headers.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses disk volume and partition systems including LVM2, GPT, and MBR to extract partition metadata and structure.
Yes, if you need to parse disk partitions programmatically in a forensics or system analysis context. The low install friction, active maintenance, and production-stable status make it reliable. However, the AGPL-3.0-or-later license requires careful review if you plan to use it in proprietary software.
Install
dissect-volume on PyPI
pip
pip install dissect-volumeuv
uv add dissect-volumepoetry
poetry add dissect-volumeInstalling dissect.volume
Before you install
Low friction install with only two runtime dependencies (dissect.cstruct, dissect.util). Actively maintained with recent commits and production-stable status.
License in practice
Released under AGPL-3.0-or-later; use in proprietary software requires careful licensing review or source code disclosure obligations.
Quickstart
pip install dissect.volume
import dissect.volume
# Parse partition metadata from a volume object
Requires Python 3.10 or later.
Verify before relying
- Whether the package supports parsing additional volume systems beyond LVM2, GPT, and MBR.
- Performance characteristics when parsing very large or complex partition tables.
- Whether dissect.volume is typically used standalone or primarily as part of the larger dissect framework.
Package facts
| License | AGPL-3.0-or-later (agpl) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — dissect.cstruct, dissect.util |
| Maintenance | actively maintained — 171 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 92,040/month — #13,484 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dissect_volume-3.18-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
dissect.hypervisorParses hypervisor disk, backup, and…
agpl · top 15,000 on PyPI
dissect.ntfsParses and reads NTFS file systems, the primary…
agpl · top 15,000 on PyPI
acquireAcquire gathers forensic artifacts from disk…
agpl · top 15,000 on PyPI
dissect.targetdissect.target provides a unified API and…
agpl · top 15,000 on PyPI
dissect.utilProvides utility functions and decompression…
permissive · top 15,000 on PyPI
dissect.cstructParse binary data using C-like structure…
permissive · top 15,000 on PyPI
mrcfilemrcfile reads and writes MRC2014 format files…
permissive · top 15,000 on PyPI
os-brickManages discovery and removal of storage…
permissive · top 15,000 on PyPI
binpackingDistributes weighted items into bins using…
permissive · top 15,000 on PyPI
pyobjc-framework-DiskArbitrationProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI