Registry / serialization / pydemumble

pydemumble

JSON →
library0.0.1pypypi✓ verified 86d ago

A Python wrapper for demumble, a tool that demangles C++, Rust, and Swift symbol names. Version 0.0.1 supports Python >=3.10. Provides a simple API resembling the demumble CLI. Single release, early-stage library.

pip install pydemumble
INSTALL
IMPORT
SIG · PYDEMUMBLE
P
pydemumble
serializationpythonv0.0.1
Install
1.5s avg
Import
Disk
16MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 1.5s
py 3.11
✓ —
✓ 1.6s
py 3.12
✓ —
✓ 1.4s
py 3.13
✓ —
✓ 1.4s
py 3.9
✕ build_error
✕ build_error
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

demumble
import pydemumble as demumble
import demumble
The library is named pydemumble; 'import demumble' will raise ModuleNotFoundError.

Basic usage: pass a mangled symbol string to the demumble() function.

import pydemumble as demumble mangled = "_ZN3foo3barEv" result = demumble.demumble(mangled) print(result) # Expected: foo::bar()
Debug
Known issues
gotchaThe library exposes a single function 'demumble' which must be imported as pydemumble. Using 'import demumble' directly will fail.
fix
Use 'import pydemumble as demumble' or 'from pydemumble import demumble'.
affects: all (0.0.1)
gotchaThe demumble() function returns an empty string if the input cannot be demangled. No exception is raised.
fix
Check the result; consider an empty string as failure. See source for custom behavior.
affects: all (0.0.1)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'demumble'
Attempting to import with the wrong module name: 'import demumble' instead of 'import pydemumble'.
fix
Use 'import pydemumble as demumble' or 'from pydemumble import demumble'.
AttributeError: module 'pydemumble' has no attribute 'demangle'
The function is named 'demumble', not 'demangle'.
fix
Call pydemumble.demumble() instead of pydemumble.demangle().
Upgrade
Version history
0.0.1latest on PyPI · released Feb 15, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
pydemumble — pip install pydemumble · libregistry