semvec/pypi-packages huggingface dataset:
contract-wasm-interface-parser 0.2.0
Contract interface metadata parser for binary Stellar WASM
License: Apache-2.0
Requires Python: <4.0,>=3.8

# contract-wasm-interface-parser

Contract interface metadata parser for binary Stellar WASM

## Installation

```shell
pip install contract-wasm-interface-parser
```

## Usage

```python
from contract_wasm_interface_parser import parse_contract_metadata

wasm = "AGFzbQEAAAABFQRgAn5+AX5gA35+fgF+YAABfmAAAAIZBAFsATAAAAFsATEAAAFsAV8AAQFsATgAAAMFBAIDAwMFAwEAEAYZA38BQYCAwAALfwBBgIDAAAt/AEGAgMAACwc1BQZtZW1vcnkCAAlpbmNyZW1lbnQABAFfAAcKX19kYXRhX2VuZAMBC19faGVhcF9iYXNlAwIKpwEEkgECAX8BfkEAIQACQAJAAkBCjrrQr4bUOUICEICAgIAAQgFSDQBCjrrQr4bUOUICEIGAgIAAIgFC/wGDQgRSDQEgAUIgiKchAAsgAEEBaiIARQ0BQo660K+G1DkgAK1CIIZCBIQiAUICEIKAgIAAGkKEgICAoAZChICAgMAMEIOAgIAAGiABDwsAAAsQhYCAgAAACwkAEIaAgIAAAAsEAAAACwIACwBzDmNvbnRyYWN0c3BlY3YwAAAAAAAAAEBJbmNyZW1lbnQgaW5jcmVtZW50cyBhbiBpbnRlcm5hbCBjb3VudGVyLCBhbmQgcmV0dXJucyB0aGUgdmFsdWUuAAAACWluY3JlbWVudAAAAAAAAAAAAAABAAAABAAeEWNvbnRyYWN0ZW52bWV0YXYwAAAAAAAAABQAAAAAAG8OY29udHJhY3RtZXRhdjAAAAAAAAAABXJzdmVyAAAAAAAABjEuNzguMAAAAAAAAAAAAAhyc3Nka3ZlcgAAAC8yMC4zLjEjYmEwNDVhNTdhZjk3MWZjODNlNDc1NzQ2YjU5YTUwM2I3ZWY0MTY0OQA="
metadata = parse_contract_metadata(wasm)
```