dissect.util
A Dissect module implementing various utility functions for the other Dissect modules
What it is and what it does
dissect.util is a utility module within the Dissect forensic framework that provides common functions and decompression algorithms used by other Dissect components. It includes implementations of LZ4 and LZO decompression with optional native Rust bindings for improved performance; when pre-built wheels are unavailable, the package automatically falls back to pure Python implementations.
The package is designed as a dependency for other Dissect modules rather than as a standalone tool. It requires Python 3.10.0 or later and has no external runtime dependencies, making it straightforward to install and integrate into forensic analysis workflows.
Use it for:
- Decompressing LZ4 or LZO-compressed data within Dissect forensic analysis pipelines.
- Providing shared utility functions to other Dissect framework modules.
- Building forensic analysis tools that depend on the Dissect ecosystem.
- Analyzing compressed artifacts in digital investigations where Dissect modules are the primary analysis framework.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utility functions and decompression algorithms (LZ4, LZO) for the Dissect forensic analysis framework, with optional native Rust implementations for performance.
Yes, if you are using other Dissect modules—it is a required or expected dependency. Install it as part of the Dissect framework setup. If you need standalone LZ4/LZO decompression without the Dissect ecosystem, evaluate dedicated compression libraries instead.
Install
dissect-util on PyPI
pip
pip install dissect-utiluv
uv add dissect-utilpoetry
poetry add dissect-utilInstalling dissect.util
Before you install
Low friction installation with pure Python fallback; actively maintained with recent commits and no runtime dependencies to manage.
License in practice
Apache License 2.0 (permissive) allows use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install dissect.util
from dissect.util.compression import lz4
decompressed = lz4.decompress(compressed_data)
Requires Python 3.10.0 or later; native Rust implementations are optional and automatically fall back to pure Python if unavailable.
Verify before relying
- Whether the package's decompression functions are exposed as public APIs or are internal utilities for other Dissect modules.
- Performance characteristics of the pure Python fallback versus native implementations for typical workloads.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 171 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 188,441/month — #9,945 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dissect_util-3.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
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
dissect.targetdissect.target provides a unified API and…
agpl · top 15,000 on PyPI
dissect.volumeParses disk volume and partition systems…
agpl · top 15,000 on PyPI
acquireAcquire gathers forensic artifacts from disk…
agpl · top 15,000 on PyPI
lzallrightlzallright provides Python bindings to compress…
permissive · top 15,000 on PyPI
cramjamProvides fast Python bindings to multiple…
permissive · top 1,000 on PyPI
dissect.cstructParse binary data using C-like structure…
permissive · top 15,000 on PyPI
python-neo-lzfProvides fast compression and decompression of…
permissive · top 15,000 on PyPI
ncompressProvides LZW compression and decompression…
permissive · top 15,000 on PyPI