skillfed

dissect.util

A Dissect module implementing various utility functions for the other Dissect modules

dissect-util v3.24 188.4K downloads/30d#9,945 on PyPI4
Permissive license Apache-2.0 Active released

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-util

uv

uv add dissect-util

poetry

poetry add dissect-util

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Internet :: Log AnalysisTopic :: Scientific/Engineering :: Information AnalysisTopic :: SecurityTopic :: Utilities

Tags

dissect framework utilitieslz4 lzo decompressionforensic analysis toolsdissect module dependenciescompression algorithm utilitiesdigital forensics library
forensicsdissect-frameworkcompression

More Utilities packages