Skip to main content

A package for demangling C++ linker symbols

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl (264.4 kB view details)

Uploaded CPython 3.8+Windows x86-64

cpp_demangle-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl (398.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

cpp_demangle-0.1.3-cp38-abi3-macosx_11_0_arm64.whl (354.4 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 264.4 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for cpp_demangle-0.1.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bbf2febe27db87e7ce047d9cab2d6da8e2a643fca9f92b57a6dc8bb544b6cc6c
MD5 2d16a8b27c2f6b6dcae9610c62bb6cff
BLAKE2b-256 dea720c515ac8f209bf386c4baf7334993f341e41acbd801c4fcf13bf0545d13

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a01fa07f10185f9a6bbeb81eca2238a43180c49a527d06af1d24e9e01209094b
MD5 ef7cceece56c63f0f54fa19692d3d11d
BLAKE2b-256 fa4e6387668271e7c5286dc583e279596338d7ae9f247016942f50aa80d69f36

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.3-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d687c1c4ba771b247abd2e7d351fae43b9ee09265e3090b6d46ca951d45cb311
MD5 86d45c5e23dda3e5635e162ec0b12fd3
BLAKE2b-256 72511744ac8bb01346349e235aa5ba1c0b935feae9e8960e1831d5ea3fbf0530

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page