Skip to main content

A package for demangling C++ linker symbols

Project description

https://travis-ci.org/benfred/py-cpp-demangle.svg?branch=master https://ci.appveyor.com/api/projects/status/bh3usbvstog4x42x/branch/master?svg=true

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. More info (and possibly a blog post) coming soon maybe.

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
cpp_demangle-0.0.2-cp27-cp27m-macosx_10_6_intel.whl (241.6 kB) Copy SHA256 hash SHA256 Wheel cp27
cpp_demangle-0.0.2-cp27-cp27m-manylinux1_i686.whl (923.2 kB) Copy SHA256 hash SHA256 Wheel cp27
cpp_demangle-0.0.2-cp27-cp27m-manylinux1_x86_64.whl (847.7 kB) Copy SHA256 hash SHA256 Wheel cp27
cpp_demangle-0.0.2-cp27-cp27mu-manylinux1_i686.whl (923.2 kB) Copy SHA256 hash SHA256 Wheel cp27
cpp_demangle-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl (847.7 kB) Copy SHA256 hash SHA256 Wheel cp27
cpp_demangle-0.0.2-cp27-cp27m-win32.whl (177.7 kB) Copy SHA256 hash SHA256 Wheel cp27
cpp_demangle-0.0.2-cp35-cp35m-macosx_10_6_intel.whl (241.7 kB) Copy SHA256 hash SHA256 Wheel cp35
cpp_demangle-0.0.2-cp35-cp35m-manylinux1_i686.whl (923.8 kB) Copy SHA256 hash SHA256 Wheel cp35
cpp_demangle-0.0.2-cp35-cp35m-manylinux1_x86_64.whl (848.0 kB) Copy SHA256 hash SHA256 Wheel cp35
cpp_demangle-0.0.2-cp35-cp35m-win32.whl (178.1 kB) Copy SHA256 hash SHA256 Wheel cp35
cpp_demangle-0.0.2-cp35-cp35m-win_amd64.whl (189.4 kB) Copy SHA256 hash SHA256 Wheel cp35
cpp_demangle-0.0.2-cp36-cp36m-macosx_10_6_intel.whl (241.7 kB) Copy SHA256 hash SHA256 Wheel cp36
cpp_demangle-0.0.2-cp36-cp36m-manylinux1_i686.whl (923.9 kB) Copy SHA256 hash SHA256 Wheel cp36
cpp_demangle-0.0.2-cp36-cp36m-manylinux1_x86_64.whl (848.0 kB) Copy SHA256 hash SHA256 Wheel cp36
cpp_demangle-0.0.2-cp36-cp36m-win32.whl (178.2 kB) Copy SHA256 hash SHA256 Wheel cp36
cpp_demangle-0.0.2-cp36-cp36m-win_amd64.whl (189.4 kB) Copy SHA256 hash SHA256 Wheel cp36
cpp_demangle-0.0.2-cp37-cp37m-macosx_10_6_intel.whl (241.7 kB) Copy SHA256 hash SHA256 Wheel cp37
cpp_demangle-0.0.2-cp37-cp37m-manylinux1_i686.whl (923.9 kB) Copy SHA256 hash SHA256 Wheel cp37
cpp_demangle-0.0.2-cp37-cp37m-manylinux1_x86_64.whl (848.0 kB) Copy SHA256 hash SHA256 Wheel cp37

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page