pykdebugparser
Python parser for kdebug events
Decision gist · record as of 2026-08-14
Yes, if you work with macOS/iOS kernel-level tracing. The package is actively maintained, has no vulnerabilities, low install friction, and fills a specific niche for parsing kdebug events that other tools don't address as cleanly. Not relevant for non-Darwin platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires macOS or iOS kdebug trace files (generated via ktrace utility); not functional on non-Darwin systems.
- Low friction: pure Python wheel with only four runtime dependencies (construct, pygments, click, termcolor).
- Actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with only attribution required—no restrictions on commercial or proprietary use.
last release 2026-07-04 (41 days) · last repo commit 2026-07-04 · 38 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 322,598 downloads/mo, #7,608 on PyPI
Alternatives
Verify before relying
pip install pykdebugparser
from pykdebugparser import KdebugParser
parser = KdebugParser()
events = parser.parse('trace001.ktrace')
for event in events:
print(event)- Whether the package can parse trace files programmatically or only via CLI
- API stability and backward compatibility guarantees across versions
- Performance characteristics with large trace files
What it is and what it does
pykdebugparser is a specialized utility for parsing Darwin kernel debug (kdebug) trace events from iOS and macOS systems. It reads binary kdebug dumps generated by the ktrace utility and converts them into human-readable event logs, displaying timestamps, event names, function codes, process information, and raw event data. Unlike generic tracing tools like fs_usage or ktrace itself, pykdebugparser focuses on clean trace parsing and flexible output formatting.
The package works as both a command-line tool and a Python library, depending on your workflow. It depends on construct for binary parsing, pygments for syntax highlighting, click for CLI argument handling, and termcolor for colored terminal output. It supports Python 3.8 through 3.14 and has no known security vulnerabilities.
Use it for
- Debug system-level I/O performance issues on macOS by parsing and analyzing kdebug traces from file system operations.
- Analyze kernel-level memory management events (MACH_vm_page_release, PMAP_flush_TLBS) to understand virtual memory behavior.
- Inspect system call sequences (BSC_pread, BSC_open, VFS_LOOKUP) to trace application behavior at the kernel level.
- Automate kdebug trace processing in CI/CD or performance testing pipelines using the Python API.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with macOS/iOS kernel-level tracing.
The package is actively maintained, has no vulnerabilities, low install friction, and fills a specific niche for parsing kdebug events that other tools don't address as cleanly. Not relevant for non-Darwin platforms.
Install
pykdebugparser on PyPI
Before you install
Low friction: pure Python wheel with only four runtime dependencies (construct, pygments, click, termcolor). Actively maintained with a recent release and no known vulnerabilities.
Requires macOS or iOS kdebug trace files (generated via ktrace utility); not functional on non-Darwin systems.
License in practice
MIT license permits unrestricted use, modification, and distribution with only attribution required—no restrictions on commercial or proprietary use.
Quickstart
pip install pykdebugparser
from pykdebugparser import KdebugParser
parser = KdebugParser()
events = parser.parse('trace001.ktrace')
for event in events:
print(event)
Verify before relying
- Whether the package can parse trace files programmatically or only via CLI
- API stability and backward compatibility guarantees across versions
- Performance characteristics with large trace files
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesconstructpygmentsclicktermcolor |
| Maintenance | Actively maintained 41 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 322,598 / month, #7,608 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: pykdebugparser-1.2.8-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “kdebug trace parser”
- pykdebugparserParses Darwin kdebug trace events from iOS and macOS systems,…
- tlparsetlparse parses structured PyTorch torch.compile trace logs and…
- ovs-dbgProvides command-line tools to parse, filter, and analyze Open…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also mozcrash · pyubx2 · pymobiledevice3 · pycrashreport · icecream · ipsw-parser · fb-idb · buildozer · pystack · la-panic