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=master

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

cpp_demangle-0.1.2-cp311-cp311-win_amd64.whl (233.4 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

cpp_demangle-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

cpp_demangle-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl (347.0 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

cpp_demangle-0.1.2-cp310-cp310-win_amd64.whl (233.4 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

cpp_demangle-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

cpp_demangle-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl (347.0 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

cpp_demangle-0.1.2-cp39-cp39-win_amd64.whl (233.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

cpp_demangle-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

cpp_demangle-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl (347.0 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

cpp_demangle-0.1.2-cp38-cp38-win_amd64.whl (233.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

cpp_demangle-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cpp_demangle-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl (346.9 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

cpp_demangle-0.1.2-cp37-cp37m-win_amd64.whl (233.1 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

cpp_demangle-0.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

cpp_demangle-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl (346.9 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

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