Skip to main content

A package for demangling Rust symbols

Project description

rust_demangler

A package for demangling Rust symbols, written in Python.

Setup

pip install rust-demangler

Usage

from rust-demangler import demangle
print(demangle(<mangled_name>))

Example

demangle("_ZN3foo3barE") == "foo::bar"  #legacy style
demangle("_RNvC6_123foo3bar") == "123foo::bar"  #v0 style

License

This project is licensed under the MIT License

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rust_demangler-1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

rust_demangler-1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file rust_demangler-1.0.tar.gz.

File metadata

  • Download URL: rust_demangler-1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for rust_demangler-1.0.tar.gz
Algorithm Hash digest
SHA256 a3e88032e691322d14cec137f7d9afbe44ac65a84217c599bd2cfe480ec8bd0f
MD5 07570a50592e7ef0f5334f05f461e8fc
BLAKE2b-256 5386c00e60de3bdb54de60d14719d798c3d8da874c4a37137a76bea32d1f4d88

See more details on using hashes here.

File details

Details for the file rust_demangler-1.0-py3-none-any.whl.

File metadata

  • Download URL: rust_demangler-1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for rust_demangler-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a2cdf400d1703dc73ae3aabb930dacb92772160b1dcb4ee2181a81878726948
MD5 c339a684b93c82f1fb5547ff94e24092
BLAKE2b-256 54638420c9140a5212d509534653f32a47ddd8a2d395aaeb6477f0895ad753b2

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