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. 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.0-cp37-cp37m-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

cpp_demangle-0.1.0-cp37-cp37m-win32.whl (179.3 kB view details)

Uploaded CPython 3.7m Windows x86

cpp_demangle-0.1.0-cp37-cp37m-manylinux1_x86_64.whl (790.2 kB view details)

Uploaded CPython 3.7m

cpp_demangle-0.1.0-cp37-cp37m-manylinux1_i686.whl (834.7 kB view details)

Uploaded CPython 3.7m

cpp_demangle-0.1.0-cp37-cp37m-macosx_10_6_intel.whl (229.8 kB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

cpp_demangle-0.1.0-cp36-cp36m-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

cpp_demangle-0.1.0-cp36-cp36m-win32.whl (179.3 kB view details)

Uploaded CPython 3.6m Windows x86

cpp_demangle-0.1.0-cp36-cp36m-manylinux1_x86_64.whl (790.1 kB view details)

Uploaded CPython 3.6m

cpp_demangle-0.1.0-cp36-cp36m-manylinux1_i686.whl (834.7 kB view details)

Uploaded CPython 3.6m

cpp_demangle-0.1.0-cp36-cp36m-macosx_10_6_intel.whl (229.8 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

cpp_demangle-0.1.0-cp35-cp35m-win_amd64.whl (193.1 kB view details)

Uploaded CPython 3.5m Windows x86-64

cpp_demangle-0.1.0-cp35-cp35m-win32.whl (179.3 kB view details)

Uploaded CPython 3.5m Windows x86

cpp_demangle-0.1.0-cp35-cp35m-manylinux1_x86_64.whl (790.2 kB view details)

Uploaded CPython 3.5m

cpp_demangle-0.1.0-cp35-cp35m-manylinux1_i686.whl (834.7 kB view details)

Uploaded CPython 3.5m

cpp_demangle-0.1.0-cp35-cp35m-macosx_10_6_intel.whl (229.9 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: cpp_demangle-0.1.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 192.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for cpp_demangle-0.1.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c5ac2a0ce4c141df7a73d3ee2b33f0622e505f57d5d3eab39faa70f25f93383a
MD5 1c44cf760a38e130cd0900194221547a
BLAKE2b-256 926ec2fa4c93ba5ac24d3c6ed510cb96d2e7cd6be9acae9b73c2475b178b1b39

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 179.3 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for cpp_demangle-0.1.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d6874ef89c42a2cd928bdb4f243840457c057d8b81ac209de692dbcd16b05142
MD5 aea7ae2b4f07c9cc016bf87a2d9a9cb7
BLAKE2b-256 3979c3af28a86360c280a7d6975c9d0dbfae98be13320540376afb4853873053

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 790.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for cpp_demangle-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 28818f1d4e1120ad12a0edaede805d1ff99a944b89531e719967ccdfeb51a0ea
MD5 c1fd12a6097c93ab8ffb90267ffcd29e
BLAKE2b-256 797c2ba993f0c7d8c080e471b0ee9ee80c2410c68934bd10bf480912c3eb7e4b

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 834.7 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for cpp_demangle-0.1.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 64c39d3c16a27f285c3b997fe01cc7e37f91e8511f211811f160da83d4c33826
MD5 2383addb216a2f54af4f346dc41ea70f
BLAKE2b-256 4daf08e27e2c21168cd8eb7b5c3a412a0920c81775a1a0ffb66ffdb31a0a4c2c

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 229.8 kB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for cpp_demangle-0.1.0-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 bdd8396d688d373d875726bfca77fb57458f4aaae92c9834f5988ab76d31d8de
MD5 dbd4ac4d8257b92c0fe0136bc5e720d4
BLAKE2b-256 5d6e17afd57d312d000618ad2995a7e1594a7625bd72d0f2b9fbe473b86ad1a2

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 192.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for cpp_demangle-0.1.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 90489790ca50803512350da8dae93f83882443e9c17726abc3ecf21b2c5ea10c
MD5 5450e1304728fd7ad6d7dea7b34b1d61
BLAKE2b-256 383b5350ce48335c3e8ee354d762284a5132c3c528bc87872caecf40511138d3

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 179.3 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for cpp_demangle-0.1.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 648406ae1bc53e3dbbf8763628c31788e6766c3a6cc07f8e078e7e797d5ce9fe
MD5 7f261c4a07e5da7857bcebbc9507086d
BLAKE2b-256 e9a7e4a10cad69fa352eb92e76126a521c833a031bb08b3d4487d51b0792c894

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 790.1 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for cpp_demangle-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b9f8c9653336e0e9454eda516b29ffb5d7f8fe76486bcb07c96a428a7d35ebcf
MD5 262e32eb5676155be28b7d9ca65e20b6
BLAKE2b-256 b167dda727977ac9e06ddabbbbbe583507e47fdf90705e08ed6156bda406b1ea

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 834.7 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for cpp_demangle-0.1.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ea13d63680c4d221273afae012eb7d6c0f46ffdee3f63a6953f1edd8c2056c7a
MD5 216f6638f4594d2ab047d5dae08ce9a6
BLAKE2b-256 39595c3cd4c222f954b93ff9e5d4822bae9e1a1e8fd33027eeaf16b859f095c6

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 229.8 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for cpp_demangle-0.1.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 33429c020ab06e0b0bd8e2a58785a7773145eacfe8a7046e4b75382afe3f6217
MD5 3422f56b7b6c19dc58cdf0e262680ef8
BLAKE2b-256 51a91c5ae7af16783eb7749c2216814209e903a1da56a3dcb1fb91326f442dac

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 193.1 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for cpp_demangle-0.1.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 147e5e4832a2629174829e4e6512e70ff2cad5ace5fae4501cbafc55c117ee65
MD5 ba05d89065c86d3402ff444db9942897
BLAKE2b-256 d4f291347a1eaa20995e49378cf2b4b7b6ece70d581db29b124d521656b8e5eb

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp35-cp35m-win32.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 179.3 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

File hashes

Hashes for cpp_demangle-0.1.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1a8932d4ea9d9fc340e4dbced170140f10232e08775a18913b80c1b1687a5b1f
MD5 f5161ad108c7c00dbe38fddf095a8732
BLAKE2b-256 7d0091cf81ce08811a166bfc5a3c4011c8b9c1ebd5d295fc03154b1e20a8bca8

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 790.2 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for cpp_demangle-0.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 19cf6f50071bfbb52250c210ce293c44e7009bfc8e9a22b593faa95ae3d63bce
MD5 0f13e72ed4129143fcb757640c6e5dd2
BLAKE2b-256 7e9c11fc4b9ce33c2cd571eb9878e1b973cb27c46d40fddd3379728aa0309f2d

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 834.7 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for cpp_demangle-0.1.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 27057cf8b4583bb94cd5f1e1e24112977d9b258c212256f0762030364872e7eb
MD5 56028b8cc80c1a6448498de4ddcfac70
BLAKE2b-256 f8f5b9fd661229da504d4579b6dd49c295cb077d7d63ded8e3889cec1ca4f534

See more details on using hashes here.

File details

Details for the file cpp_demangle-0.1.0-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cpp_demangle-0.1.0-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 229.9 kB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for cpp_demangle-0.1.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2c23cca7dcfbdba3c4237ac44ff26e33411122a6cda67db7b89063d9bc5e49bc
MD5 2f6920db244d16f238843d73f53e2e4e
BLAKE2b-256 2233f870cfcd6433717987a673422cc27f57d2a27256cd43e7fbc254c5d6f49e

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