Skip to main content
https://github.com/benfred/py-cpp-demangle/workflows/Build/badge.svg?branch=main

A package for demangling C++ linker symbol strings

This package provides python bindings for the rust crate cpp_demangle by building a native Python extension using PyO3.

This is mainly an experiment in creating python extensions in Rust. A blog post about this is here.

Usage

To install

pip install cpp-demangle

Building from source requires the nightly version of the rust compiler.

This module exposes a single function that transforms C++ linker symbols to a human readable representation.

from cpp_demangle import demangle

print(demangle('_ZN7mangled3fooEd'))
# prints 'mangled::foo(double)'

Released under the MIT License

Release files for cpp-demangle 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for cpp-demangle 0.1.3
File Interpreter ABI Platform
cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
cpp_demangle-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl CPython 3.8 abi3 Linux glibc 2.28+ x86-64 Details
cpp_demangle-0.1.3-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details

Total release size: 1.0 MB

Release files / cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl

Download URL cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl
Size 264.4 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
bbf2febe27db87e7ce047d9cab2d6da8e2a643fca9f92b57a6dc8bb544b6cc6c
BLAKE2b-256 checksum
How to use checksums
dea720c515ac8f209bf386c4baf7334993f341e41acbd801c4fcf13bf0545d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / cpp_demangle-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl

Download URL cpp_demangle-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl
Size 398.3 kB
Tags CPython 3.8 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
a01fa07f10185f9a6bbeb81eca2238a43180c49a527d06af1d24e9e01209094b
BLAKE2b-256 checksum
How to use checksums
fa4e6387668271e7c5286dc583e279596338d7ae9f247016942f50aa80d69f36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / cpp_demangle-0.1.3-cp38-abi3-macosx_11_0_arm64.whl

Download URL cpp_demangle-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
Size 354.4 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d687c1c4ba771b247abd2e7d351fae43b9ee09265e3090b6d46ca951d45cb311
BLAKE2b-256 checksum
How to use checksums
72511744ac8bb01346349e235aa5ba1c0b935feae9e8960e1831d5ea3fbf0530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.1.3 This release

3 release files

0.1.1

15 release files

0.1.0

15 release files

0.0.4

19 release files

0.0.3

5 release files

0.0.2

19 release files

0.0.1

20 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page