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 Distribution

cpp_demangle2-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cpp_demangle2-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (408.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cpp_demangle2-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (407.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

cpp_demangle2-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (408.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cpp_demangle2-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (407.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

cpp_demangle2-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (408.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cpp_demangle2-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (407.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

File details

Details for the file cpp_demangle2-0.1.3.tar.gz.

File metadata

  • Download URL: cpp_demangle2-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cpp_demangle2-0.1.3.tar.gz
Algorithm Hash digest
SHA256 23143a49f3ab4547d925d552ec30d46b18fe5026b81ad0969d4d4a4791f4b8c7
MD5 682fa80905d3c4567a010497a4898fc1
BLAKE2b-256 cc417156c4d535159e6a6db23e4d043cc8ff317431b1b0c026c1621db5c9a4ba

See more details on using hashes here.

File details

Details for the file cpp_demangle2-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle2-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 79336f135c1e6bb0968d51e874de779286c597d243d0cdcab507bb87a09c5c31
MD5 d33d324fbbcec8c135d856a830bee806
BLAKE2b-256 33eb3d984218aa570f7de9262283d662e0812bcbd271633042f91977c0569e15

See more details on using hashes here.

File details

Details for the file cpp_demangle2-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cpp_demangle2-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ef1d6d5adf7292671febc7bc47a8af382defd10f39e74d6b606b4666d2cc260
MD5 10e552dc769cf8fa4de3ba6b2219acc9
BLAKE2b-256 e954968c750ae34d3ea1f9bb3dd29561a52d73eb1886dd918535d5e28643c9b3

See more details on using hashes here.

File details

Details for the file cpp_demangle2-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle2-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec0d1bbbddcecd50d49f3b5fcb9bcdbac1fba3f70263f0620355e2c74c831d3e
MD5 bd66d9dbcdcf48959c0228f14b80b47b
BLAKE2b-256 803f07c9f77182d21294ca03d3479854aeb77c6ca62f55b34355e9fe8f68e86e

See more details on using hashes here.

File details

Details for the file cpp_demangle2-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cpp_demangle2-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05e7fe74a687435c99e7a75f3f1553e5088a46c99fac46e81bec0bc5a8137251
MD5 2a06fea0f5159ea37245ab9026b4d801
BLAKE2b-256 8b248c929422d0530a347ba41ef4c82715b943dee46e413a09bb3fa3577d0d11

See more details on using hashes here.

File details

Details for the file cpp_demangle2-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cpp_demangle2-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd3d0adf2624caaf2da980916f891fb697df87f93ce15f4d877de8e80796356b
MD5 371fddd874fa4aefa0873a8baefa4480
BLAKE2b-256 24b5e5de6d19c2837c0d023f0a9ebf8c6332ea79f232830745801536cde36414

See more details on using hashes here.

File details

Details for the file cpp_demangle2-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cpp_demangle2-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a7f15225dcc1fe4590f77bef2494df640984e6c897ef782a3b76b355c839553c
MD5 8e5d3fb250e5b3a2ff7c6183fbc74baf
BLAKE2b-256 1132108387276fe4e154ba633d4b296f46496cf3b89e4bb3f5f444fc004b0978

See more details on using hashes here.

Supported by

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