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 details)

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 details)

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 details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

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

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 details)

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 details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

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

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 details)

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 details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

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 details)

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 details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

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 details)

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 details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file cpp_demangle-0.1.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 46f5b140ae5874a8e676f6b7c34ba7c0f91e5a963119984c4ca467e3a150a3cd
MD5 732b3cf843f4209b0de2334acf3f2b99
BLAKE2b-256 1198ac168a3e5526a41fc361f025d2943adcc0463eda72f6059fb3d27fc781a6

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d22efc8087c81696050638da7e8f5cee583227a4848f81999d3ebda819bbe3ce
MD5 89dd7954332780378903337562aa80f2
BLAKE2b-256 68232dfcb2a240d13f2ee34fa08b97110962b621fa806afb5187ff3ab4b91b18

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d51aa60327bf4ed670b024a3dc05f63516cf311036cd2c00b894572d34fa5ca
MD5 69ab045dd9d0ecf94291b8b05fc26b16
BLAKE2b-256 1370ed7c76802c28f9bf3e66ddfcf36aa7228fbfea4f7f313688dc4151d5a6a5

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f6e11743a86caef4055d122afa06cab0489a36063a2effdf1e9e724606b52716
MD5 e593c4d78b1d2ef87374d98fb6247b08
BLAKE2b-256 a06293df4f334b3947b1813d248d227ef3eb3bcd0f4f6110b2e31c1cd2a113cc

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f361146b716dcd68c020e942aa48ccaa93d0812a5a770e64088cda4e43560b0f
MD5 8d8b635e8d8d040283e703babaf4a2e3
BLAKE2b-256 4bbefbedac2a7ee9d372067ee4a9bacc232e4d6291317e37cd7dd2fabcd39a9c

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a37effa128996b87b70d8f25a16fb47a5ca01a150258cb4c7eeeb3df7343a3a6
MD5 0142a803a044faeaf6f380883f361308
BLAKE2b-256 195ba6559035128a8f4cc2384c5e9e0b64d45f3b9d7ece7ed6b244a3700b1509

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3c809aaa0d90750a60544be25d8380333aa2d19f2e94ad2a40208ed1b0b1ec40
MD5 fa0539033ee959368cd84c101e18e388
BLAKE2b-256 7b2d93f687a797083f6ccf694187882b853327cb9fdacf24f125645cd8a5e366

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ebb2705c1fe3545bb84c9ae422f34d92f4a3359d22ed6c4ce2d1e0a38a4fc67
MD5 1386af9a81410d54d5065905f17894be
BLAKE2b-256 eb658d374dab9c9d08d08abd24741cb14f0a8a6f23dd819fe15ef368ce2fd155

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 86eaf75019a73f799e868e5d4c7195f0680c094599abf262396dea0fc2e5da71
MD5 f7cecd12abd27cd73f17a01d838fe777
BLAKE2b-256 7acce9816c4e692189ef3daec2f15da9c1e42cbc6aacc9c9e526a8ae0db36eaf

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7ebb5222f3eae8229f0dbb0f9056ccb5d4ca22507733b6e2964b7b872f17e25e
MD5 9131fe07d3bf49bb0d01db497180f4c4
BLAKE2b-256 e76b7c79962a058969f0ab06e997b68fe76056cbb1249e55002a04aae4868287

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39a29ac4c00e32e7e3727172ae21d9db79b6d6ba09fc0ba7d97bd6f2c0b594a8
MD5 711c81a5ca8e7b959833869efd6d57e5
BLAKE2b-256 5c8859dbbbc38bd0d27c03c5afd56586fd4b07c56f5c41195debc9e5295b5a0f

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 194bb7640e68a42d3c63196328c1e0dce9ba3d6ffbe66ea6ff117cdf8111b307
MD5 7a6d57e3a120351408a1edf42fdfe1b4
BLAKE2b-256 ba39c92510e22f1dba253c52c44a216b9ab30d584fc54cdbce2c2a26b81f7f4a

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f078f4e62787d6f4aa54d8051b2c6943e3560b218db828ec42676645474f7e54
MD5 1422bddb3b92f697f1f6039856915c5a
BLAKE2b-256 ab72a83f33effe2521dae28e848ead2e731d7d1df9dbd1c9684705f25373d78d

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3a4d8294ef2ecababa15ec1648fe861cddb594b637603ad1d722b62ec11596d6
MD5 8b7b59db564029fe5efd871868c2f777
BLAKE2b-256 32035ec7930fe8bc9778207629dea7bf9cda6dbdd2ed1c51a186b8cfa85d2312

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e4c2602bad300af01da08d009aca3af3029dfd91f73e0012a6ec5f4285254d8e
MD5 867a7824cc6b3c3adaf925f98ba12b7b
BLAKE2b-256 cb97dc41e0b56f9fa539ac385f6e38c486afbd3060abd11f0338dc4381510c6f

See more details on using hashes here.

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