{"id":24313,"library":"pydemumble","title":"pydemumble","description":"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.","status":"active","version":"0.0.1","language":"python","source_language":"en","source_url":"https://github.com/angr/pydemumble","tags":["demangling","symbols","c++","rust","swift","angr"],"install":[{"cmd":"pip install pydemumble","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The library is named pydemumble; 'import demumble' will raise ModuleNotFoundError.","wrong":"import demumble","symbol":"demumble","correct":"import pydemumble as demumble"}],"quickstart":{"code":"import pydemumble as demumble\n\nmangled = \"_ZN3foo3barEv\"\nresult = demumble.demumble(mangled)\nprint(result)  # Expected: foo::bar()","lang":"python","description":"Basic usage: pass a mangled symbol string to the demumble() function."},"warnings":[{"fix":"Use 'import pydemumble as demumble' or 'from pydemumble import demumble'.","message":"The library exposes a single function 'demumble' which must be imported as pydemumble. Using 'import demumble' directly will fail.","severity":"gotcha","affected_versions":"all (0.0.1)"},{"fix":"Check the result; consider an empty string as failure. See source for custom behavior.","message":"The demumble() function returns an empty string if the input cannot be demangled. No exception is raised.","severity":"gotcha","affected_versions":"all (0.0.1)"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'import pydemumble as demumble' or 'from pydemumble import demumble'.","cause":"Attempting to import with the wrong module name: 'import demumble' instead of 'import pydemumble'.","error":"ModuleNotFoundError: No module named 'demumble'"},{"fix":"Call pydemumble.demumble() instead of pydemumble.demangle().","cause":"The function is named 'demumble', not 'demangle'.","error":"AttributeError: module 'pydemumble' has no attribute 'demangle'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}