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.1-cp311-cp311-win_amd64.whl (230.6 kB view details)

Uploaded CPython 3.11 Windows x86-64

cpp_demangle-0.1.1-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.1-cp311-cp311-macosx_10_9_x86_64.whl (334.8 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

cpp_demangle-0.1.1-cp310-cp310-win_amd64.whl (230.6 kB view details)

Uploaded CPython 3.10 Windows x86-64

cpp_demangle-0.1.1-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.1-cp310-cp310-macosx_10_9_x86_64.whl (334.8 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

cpp_demangle-0.1.1-cp39-cp39-win_amd64.whl (230.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

cpp_demangle-0.1.1-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.1-cp39-cp39-macosx_10_9_x86_64.whl (334.8 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

cpp_demangle-0.1.1-cp38-cp38-win_amd64.whl (230.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

cpp_demangle-0.1.1-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.1-cp38-cp38-macosx_10_9_x86_64.whl (334.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

cpp_demangle-0.1.1-cp37-cp37m-win_amd64.whl (230.7 kB view details)

Uploaded CPython 3.7m Windows x86-64

cpp_demangle-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

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

cpp_demangle-0.1.1-cp37-cp37m-macosx_10_9_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1a9db5f56a81714eeb2e47e74bc3bbe9b6bdc43283b01c4e502a52529b405490
MD5 d67f6797d071ba716a8c69bcad8dcfa6
BLAKE2b-256 b0599776e6ba881e8479f6747d48e286cdd5a592c83dbc8e78e606c61360fee0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eaf55aacbf70b68f64b926b44a7e06e59a3d5393e18da05898f81862a44dd7c4
MD5 a926a180f66e57fdd7bae0c8afc61ff6
BLAKE2b-256 ae5b1e45858c219403a89ecd1c88b764fdcb6cc3fe73daf46e55eff2e8032dcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0757b875f1edee9ac5b9787f039c31e2384382bc06da160b2061e0f2dc78de2b
MD5 c232939400ba7c278cfdb8a2584cd5c5
BLAKE2b-256 f3c62f399ea116b62554fab66bfa4800986fc240ed7ed406ff0529b824cfcf6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 02f65874b16bb1cbd406b0bf37e604548eccd87f62ebfc41d32b917478560557
MD5 af4dc731ad795a2797242a6cff41790d
BLAKE2b-256 a68f427a94ab608abaf25fb15ff6197e71be31ebb1619b140b38b7668fe6ba49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb8b9923bde71b2be9eb612fd2b477548b8c156bfaba9f5ef4ae23e94139e8ac
MD5 a5d3155fe9f87f550c3d4a31a6e3b99b
BLAKE2b-256 76ac06cfcfc494965bbe91796bf03107571419e66d61ab495d6c2f6ce11f29d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fd74f0a43b3285aadfe4a28da5d0c94f146f895ef14f449418562048d51156b5
MD5 25722d5c2134fee229316c83ed37dc9e
BLAKE2b-256 c7fcb06a84147044e17c09f01b715b2ecad8cd274e20838bc438805b13de5edb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d74520611d1192ab6e237cf1115cb96bbdbd640c0f4c42a00c6dad7e787b387a
MD5 d756bb6463d2ed21df613691448a7691
BLAKE2b-256 2b3e27df06472db5ccc0fd73b8d79a7baf951bcbc03f6bd0e9768ae4535e0c85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c618ca1e240f17721864c1822ded572034d1ee5afb60282155e4c62fff6408a6
MD5 403ebe5133064ff805378ec246115cda
BLAKE2b-256 4b337e4241e3bec67ef40bc775f4a6a5f0a822ba658890af122c3eb75e676f02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e6086314c60370168391ccb7ce4dcafe8a881b1a46ea63641beacbd8ddefaf85
MD5 8a5c2c7c10fca50440fbab40128bd34c
BLAKE2b-256 4848e2af3af4a70b15374e74f10f85d235f4930e1602fe69c72c4b992c7361da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2f66dd77a9ccc0ec60b84628e39abec5cf086ee93c57a8482cc2304f29a45b03
MD5 3557caeac44acdc073a213bd3ffc3c58
BLAKE2b-256 cfcf9fd2ecf2396d85df7597cda4168cc053b1edb68122220c43dc05ccad22b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18f39c19bd771b1cfdc5b262e3350c1493f8d62fdbc3c91cd9ec6e9aa49d763c
MD5 6712c3ddc7463f434a8f24f5c4c01b63
BLAKE2b-256 2eb825feba9dea8d6cd16c85a66510bdab3070fd6e798d3f26e1cb48ed9873bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 de1375597aac4fd8c1ce0fd336257f26fe2c3a5be3ceaaf8af03cfc7704c3f8a
MD5 34a1ca798711d61afe979c29f320a6a4
BLAKE2b-256 440efefc6c8364d4243af21c252a3eb16b74c0a53d4a0706df352603e1c9bb7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6e40c9a6ca1136a9b4427b3616ca08d3f1381d9f543e6ae818bcb46b9d080602
MD5 42f2a12bca7bc9adc47f1c9b99df738c
BLAKE2b-256 01ba9b6f3f8e5e574da5bef0c086ff233b097ff1b8a4e262b345a404a8f9a2cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5f5e45fa99e3d895a1b52b7282eab27d67a38566214d0fa2d806032bf5f9ea3
MD5 75eb18404553c51655f574b1983eec7c
BLAKE2b-256 6324eec5a6ff7f26dcfc093a73269c883f1351b22f4c22c4f35c0a63fd250f62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cpp_demangle-0.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b02b223d939977954f40cb5aee6ec6bd6e53a18f83afd28f6716bbd53961ce76
MD5 5f53add89b2b8b9039f806153f81cabf
BLAKE2b-256 7b358f1b6802e6ab2ca10f1f70b0928591f4805d8d91c3c6ca5edd7ea291f87f

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