{ "info": { "author": "afg984", "author_email": "afg984@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "cxxfilt |travis|\n================\n\n.. |travis| image:: https://travis-ci.org/afg984/python-cxxfilt.svg?branch=master\n :target: https://travis-ci.org/afg984/python-cxxfilt\n\nDemangling C++ symbols in Python / interface to abi::__cxa_demangle\n\nUsage\n-----\n\nInstall::\n\n pip install cxxfilt\n\nUse ``demangle`` to demangle a C++ mangled symbol name::\n\n >>> import cxxfilt\n >>> cxxfilt.demangle('_ZNSt22condition_variable_anyD2Ev')\n 'std::condition_variable_any::~condition_variable_any()'\n\nNon-mangled name will be kept intact::\n\n >>> cxxfilt.demangle('main')\n 'main'\n\nTo demangle an internal symbol, use `external_only=False`::\n\n >>> cxxfilt.demangle('N3foo12BarExceptionE')\n 'N3foo12BarExceptionE'\n >>> cxxfilt.demangle('N3foo12BarExceptionE', external_only=False)\n 'foo::BarException'\n\nInvalid mangled names will trigger an ``InvalidName`` exception::\n\n >>> cxxfilt.demangle('_ZQQ')\n Traceback (most recent call last):\n File \"\", line 1, in \n File \"/path/to/python-cxxfilt/cxxfilt/__init__.py\", line 77, in demangle\n return demangleb(mangled_name.encode()).decode()\n File \"/path/to/python-cxxfilt/cxxfilt/__init__.py\", line 69, in demangleb\n raise InvalidName(mangled_name)\n cxxfilt.InvalidName: b'_ZQQ'\n\nUse ``demangleb`` to demangle name in ``bytes``::\n\n >>> cxxfilt.demangleb(b'_ZNSt22condition_variable_anyD2Ev')\n b'std::condition_variable_any::~condition_variable_any()'\n\n\nSupported environments\n----------------------\n\nPython 2.7 / 3.3+\n\nTested on Arch Linux and FreeBSD. Should work on unix systems with libc and libc++/libstdc++\n\nWill not work on Windows.\n\nTesting\n-------\n\nrun in shell::\n\n pytest", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/afg984/python-cxxfilt", "keywords": "c++ c++filt name mangling", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "cxxfilt", "package_url": "https://pypi.org/project/cxxfilt/", "platform": "", "project_url": "https://pypi.org/project/cxxfilt/", "project_urls": { "Homepage": "https://github.com/afg984/python-cxxfilt" }, "release_url": "https://pypi.org/project/cxxfilt/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python interface to c++filt / abi::__cxa_demangle", "version": "0.2.0" }, "last_serial": 4273364, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a15eb32a0180f41072ec5c11dae98029", "sha256": "7bc41f26ae5039be1ca3e8652f4921478c35ab9570986bcfac7ca78bb88a7dd6" }, "downloads": -1, "filename": "cxxfilt-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a15eb32a0180f41072ec5c11dae98029", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2678, "upload_time": "2017-03-12T11:28:09", "url": "https://files.pythonhosted.org/packages/d1/7f/15a38ca80ce8cf46810413d863a1f67b97edcafca2df8e1eaa35fbeec975/cxxfilt-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "cbc9215aac31d0fdc4d9ada335e12c74", "sha256": "6431205e2a2fe99cd7834e23e6a4224281e130a00f7cd2572e06d36cd208e801" }, "downloads": -1, "filename": "cxxfilt-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cbc9215aac31d0fdc4d9ada335e12c74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2870, "upload_time": "2018-09-14T18:53:11", "url": "https://files.pythonhosted.org/packages/67/1f/de43c42666994fcc667fcd9a22d2c12c8c4825087c176eace66676c46bcf/cxxfilt-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cbc9215aac31d0fdc4d9ada335e12c74", "sha256": "6431205e2a2fe99cd7834e23e6a4224281e130a00f7cd2572e06d36cd208e801" }, "downloads": -1, "filename": "cxxfilt-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cbc9215aac31d0fdc4d9ada335e12c74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2870, "upload_time": "2018-09-14T18:53:11", "url": "https://files.pythonhosted.org/packages/67/1f/de43c42666994fcc667fcd9a22d2c12c8c4825087c176eace66676c46bcf/cxxfilt-0.2.0.tar.gz" } ] }