cpp-demangle


Namecpp-demangle JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttp://github.com/benfred/py-cpp-demangle/
SummaryA package for demangling C++ linker symbols
upload_time2022-12-11 17:44:20
maintainer
docs_urlNone
authorBen Frederickson
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            py-cpp-demangle: Demangles C++ linker symbols
============================================================

.. image:: https://github.com/benfred/py-cpp-demangle/workflows/Build/badge.svg?branch=master
    :target: https://github.com/benfred/py-cpp-demangle/actions?query=branch%3Amaster

A package for demangling C++ linker symbol strings

This package provides python bindings for the rust crate
`cpp_demangle <http://github.com/gimli-rs/cpp_demangle>`_ by building
a native Python extension using `PyO3 <https://github.com/pyO3/pyO3>`_.

This is mainly an experiment in creating python extensions in Rust.
`A blog post about this is here.
<https://www.benfrederickson.com/writing-python-extensions-in-rust-using-pyo3/>`_

Usage
-------------------

To install

.. code-block:: python

    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.

.. code-block:: python

    from cpp_demangle import demangle

    print(demangle('_ZN7mangled3fooEd'))
    # prints 'mangled::foo(double)'

Released under the MIT License

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/benfred/py-cpp-demangle/",
    "name": "cpp-demangle",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Ben Frederickson",
    "author_email": "ben@benfrederickson.com",
    "download_url": "",
    "platform": null,
    "description": "py-cpp-demangle: Demangles C++ linker symbols\n============================================================\n\n.. image:: https://github.com/benfred/py-cpp-demangle/workflows/Build/badge.svg?branch=master\n    :target: https://github.com/benfred/py-cpp-demangle/actions?query=branch%3Amaster\n\nA package for demangling C++ linker symbol strings\n\nThis package provides python bindings for the rust crate\n`cpp_demangle <http://github.com/gimli-rs/cpp_demangle>`_ by building\na native Python extension using `PyO3 <https://github.com/pyO3/pyO3>`_.\n\nThis is mainly an experiment in creating python extensions in Rust.\n`A blog post about this is here.\n<https://www.benfrederickson.com/writing-python-extensions-in-rust-using-pyo3/>`_\n\nUsage\n-------------------\n\nTo install\n\n.. code-block:: python\n\n    pip install cpp-demangle\n\n\nBuilding from source requires the nightly version of the rust compiler.\n\nThis module exposes a single function that transforms C++ linker symbols to a human readable\nrepresentation.\n\n.. code-block:: python\n\n    from cpp_demangle import demangle\n\n    print(demangle('_ZN7mangled3fooEd'))\n    # prints 'mangled::foo(double)'\n\nReleased under the MIT License\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A package for demangling C++ linker symbols",
    "version": "0.1.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "25722d5c2134fee229316c83ed37dc9e",
                "sha256": "fd74f0a43b3285aadfe4a28da5d0c94f146f895ef14f449418562048d51156b5"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "25722d5c2134fee229316c83ed37dc9e",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 334838,
            "upload_time": "2022-12-11T17:44:20",
            "upload_time_iso_8601": "2022-12-11T17:44:20.183552Z",
            "url": "https://files.pythonhosted.org/packages/c7/fc/b06a84147044e17c09f01b715b2ecad8cd274e20838bc438805b13de5edb/cpp_demangle-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a5d3155fe9f87f550c3d4a31a6e3b99b",
                "sha256": "eb8b9923bde71b2be9eb612fd2b477548b8c156bfaba9f5ef4ae23e94139e8ac"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a5d3155fe9f87f550c3d4a31a6e3b99b",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 1150959,
            "upload_time": "2022-12-11T17:44:22",
            "upload_time_iso_8601": "2022-12-11T17:44:22.219696Z",
            "url": "https://files.pythonhosted.org/packages/76/ac/06cfcfc494965bbe91796bf03107571419e66d61ab495d6c2f6ce11f29d4/cpp_demangle-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "af4dc731ad795a2797242a6cff41790d",
                "sha256": "02f65874b16bb1cbd406b0bf37e604548eccd87f62ebfc41d32b917478560557"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "af4dc731ad795a2797242a6cff41790d",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 230569,
            "upload_time": "2022-12-11T17:44:23",
            "upload_time_iso_8601": "2022-12-11T17:44:23.950183Z",
            "url": "https://files.pythonhosted.org/packages/a6/8f/427a94ab608abaf25fb15ff6197e71be31ebb1619b140b38b7668fe6ba49/cpp_demangle-0.1.1-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c232939400ba7c278cfdb8a2584cd5c5",
                "sha256": "0757b875f1edee9ac5b9787f039c31e2384382bc06da160b2061e0f2dc78de2b"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c232939400ba7c278cfdb8a2584cd5c5",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 334836,
            "upload_time": "2022-12-11T17:44:28",
            "upload_time_iso_8601": "2022-12-11T17:44:28.354899Z",
            "url": "https://files.pythonhosted.org/packages/f3/c6/2f399ea116b62554fab66bfa4800986fc240ed7ed406ff0529b824cfcf6a/cpp_demangle-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a926a180f66e57fdd7bae0c8afc61ff6",
                "sha256": "eaf55aacbf70b68f64b926b44a7e06e59a3d5393e18da05898f81862a44dd7c4"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a926a180f66e57fdd7bae0c8afc61ff6",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 1150960,
            "upload_time": "2022-12-11T17:44:30",
            "upload_time_iso_8601": "2022-12-11T17:44:30.009768Z",
            "url": "https://files.pythonhosted.org/packages/ae/5b/1e45858c219403a89ecd1c88b764fdcb6cc3fe73daf46e55eff2e8032dcf/cpp_demangle-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d67f6797d071ba716a8c69bcad8dcfa6",
                "sha256": "1a9db5f56a81714eeb2e47e74bc3bbe9b6bdc43283b01c4e502a52529b405490"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "d67f6797d071ba716a8c69bcad8dcfa6",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 230564,
            "upload_time": "2022-12-11T17:44:31",
            "upload_time_iso_8601": "2022-12-11T17:44:31.693859Z",
            "url": "https://files.pythonhosted.org/packages/b0/59/9776e6ba881e8479f6747d48e286cdd5a592c83dbc8e78e606c61360fee0/cpp_demangle-0.1.1-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "5f53add89b2b8b9039f806153f81cabf",
                "sha256": "b02b223d939977954f40cb5aee6ec6bd6e53a18f83afd28f6716bbd53961ce76"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp37-cp37m-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "5f53add89b2b8b9039f806153f81cabf",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 335123,
            "upload_time": "2022-12-11T17:44:32",
            "upload_time_iso_8601": "2022-12-11T17:44:32.838932Z",
            "url": "https://files.pythonhosted.org/packages/7b/35/8f1b6802e6ab2ca10f1f70b0928591f4805d8d91c3c6ca5edd7ea291f87f/cpp_demangle-0.1.1-cp37-cp37m-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "75eb18404553c51655f574b1983eec7c",
                "sha256": "c5f5e45fa99e3d895a1b52b7282eab27d67a38566214d0fa2d806032bf5f9ea3"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "75eb18404553c51655f574b1983eec7c",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 1149875,
            "upload_time": "2022-12-11T17:44:34",
            "upload_time_iso_8601": "2022-12-11T17:44:34.514687Z",
            "url": "https://files.pythonhosted.org/packages/63/24/eec5a6ff7f26dcfc093a73269c883f1351b22f4c22c4f35c0a63fd250f62/cpp_demangle-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "42f2a12bca7bc9adc47f1c9b99df738c",
                "sha256": "6e40c9a6ca1136a9b4427b3616ca08d3f1381d9f543e6ae818bcb46b9d080602"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "42f2a12bca7bc9adc47f1c9b99df738c",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 230717,
            "upload_time": "2022-12-11T17:44:35",
            "upload_time_iso_8601": "2022-12-11T17:44:35.687274Z",
            "url": "https://files.pythonhosted.org/packages/01/ba/9b6f3f8e5e574da5bef0c086ff233b097ff1b8a4e262b345a404a8f9a2cd/cpp_demangle-0.1.1-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "34a1ca798711d61afe979c29f320a6a4",
                "sha256": "de1375597aac4fd8c1ce0fd336257f26fe2c3a5be3ceaaf8af03cfc7704c3f8a"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "34a1ca798711d61afe979c29f320a6a4",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 334463,
            "upload_time": "2022-12-11T17:44:37",
            "upload_time_iso_8601": "2022-12-11T17:44:37.387541Z",
            "url": "https://files.pythonhosted.org/packages/44/0e/fefc6c8364d4243af21c252a3eb16b74c0a53d4a0706df352603e1c9bb7a/cpp_demangle-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "6712c3ddc7463f434a8f24f5c4c01b63",
                "sha256": "18f39c19bd771b1cfdc5b262e3350c1493f8d62fdbc3c91cd9ec6e9aa49d763c"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6712c3ddc7463f434a8f24f5c4c01b63",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 1150048,
            "upload_time": "2022-12-11T17:44:38",
            "upload_time_iso_8601": "2022-12-11T17:44:38.477214Z",
            "url": "https://files.pythonhosted.org/packages/2e/b8/25feba9dea8d6cd16c85a66510bdab3070fd6e798d3f26e1cb48ed9873bb/cpp_demangle-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "3557caeac44acdc073a213bd3ffc3c58",
                "sha256": "2f66dd77a9ccc0ec60b84628e39abec5cf086ee93c57a8482cc2304f29a45b03"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "3557caeac44acdc073a213bd3ffc3c58",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 230721,
            "upload_time": "2022-12-11T17:44:39",
            "upload_time_iso_8601": "2022-12-11T17:44:39.657978Z",
            "url": "https://files.pythonhosted.org/packages/cf/cf/9fd2ecf2396d85df7597cda4168cc053b1edb68122220c43dc05ccad22b9/cpp_demangle-0.1.1-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8a5c2c7c10fca50440fbab40128bd34c",
                "sha256": "e6086314c60370168391ccb7ce4dcafe8a881b1a46ea63641beacbd8ddefaf85"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8a5c2c7c10fca50440fbab40128bd34c",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 334833,
            "upload_time": "2022-12-11T17:44:40",
            "upload_time_iso_8601": "2022-12-11T17:44:40.821453Z",
            "url": "https://files.pythonhosted.org/packages/48/48/e2af3af4a70b15374e74f10f85d235f4930e1602fe69c72c4b992c7361da/cpp_demangle-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "403ebe5133064ff805378ec246115cda",
                "sha256": "c618ca1e240f17721864c1822ded572034d1ee5afb60282155e4c62fff6408a6"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "403ebe5133064ff805378ec246115cda",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 1150954,
            "upload_time": "2022-12-11T17:44:42",
            "upload_time_iso_8601": "2022-12-11T17:44:42.397515Z",
            "url": "https://files.pythonhosted.org/packages/4b/33/7e4241e3bec67ef40bc775f4a6a5f0a822ba658890af122c3eb75e676f02/cpp_demangle-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d756bb6463d2ed21df613691448a7691",
                "sha256": "d74520611d1192ab6e237cf1115cb96bbdbd640c0f4c42a00c6dad7e787b387a"
            },
            "downloads": -1,
            "filename": "cpp_demangle-0.1.1-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "d756bb6463d2ed21df613691448a7691",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 230564,
            "upload_time": "2022-12-11T17:44:43",
            "upload_time_iso_8601": "2022-12-11T17:44:43.909228Z",
            "url": "https://files.pythonhosted.org/packages/2b/3e/27df06472db5ccc0fd73b8d79a7baf951bcbc03f6bd0e9768ae4535e0c85/cpp_demangle-0.1.1-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-11 17:44:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "benfred",
    "github_project": "py-cpp-demangle",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cpp-demangle"
}
        
Elapsed time: 0.03296s