Name | contract-wasm-interface-parser JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | Contract interface metadata parser for binary Stellar WASM |
upload_time | 2024-06-24 08:48:12 |
maintainer | None |
docs_url | None |
author | overcat |
requires_python | <4.0,>=3.8 |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "contract-wasm-interface-parser",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "overcat",
"author_email": "4catcode@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/97/0e/d9bc2a1962151ff4436e60f0d14393d544baa2aceccb69f4821868bb0dfb/contract_wasm_interface_parser-0.2.0.tar.gz",
"platform": null,
"description": "# contract-wasm-interface-parser\n\nContract interface metadata parser for binary Stellar WASM\n\n## Installation\n\n```shell\npip install contract-wasm-interface-parser\n```\n\n## Usage\n\n```python\nfrom contract_wasm_interface_parser import parse_contract_metadata\n\nwasm = \"AGFzbQEAAAABFQRgAn5+AX5gA35+fgF+YAABfmAAAAIZBAFsATAAAAFsATEAAAFsAV8AAQFsATgAAAMFBAIDAwMFAwEAEAYZA38BQYCAwAALfwBBgIDAAAt/AEGAgMAACwc1BQZtZW1vcnkCAAlpbmNyZW1lbnQABAFfAAcKX19kYXRhX2VuZAMBC19faGVhcF9iYXNlAwIKpwEEkgECAX8BfkEAIQACQAJAAkBCjrrQr4bUOUICEICAgIAAQgFSDQBCjrrQr4bUOUICEIGAgIAAIgFC/wGDQgRSDQEgAUIgiKchAAsgAEEBaiIARQ0BQo660K+G1DkgAK1CIIZCBIQiAUICEIKAgIAAGkKEgICAoAZChICAgMAMEIOAgIAAGiABDwsAAAsQhYCAgAAACwkAEIaAgIAAAAsEAAAACwIACwBzDmNvbnRyYWN0c3BlY3YwAAAAAAAAAEBJbmNyZW1lbnQgaW5jcmVtZW50cyBhbiBpbnRlcm5hbCBjb3VudGVyLCBhbmQgcmV0dXJucyB0aGUgdmFsdWUuAAAACWluY3JlbWVudAAAAAAAAAAAAAABAAAABAAeEWNvbnRyYWN0ZW52bWV0YXYwAAAAAAAAABQAAAAAAG8OY29udHJhY3RtZXRhdjAAAAAAAAAABXJzdmVyAAAAAAAABjEuNzguMAAAAAAAAAAAAAhyc3Nka3ZlcgAAAC8yMC4zLjEjYmEwNDVhNTdhZjk3MWZjODNlNDc1NzQ2YjU5YTUwM2I3ZWY0MTY0OQA=\"\nmetadata = parse_contract_metadata(wasm)\n```",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Contract interface metadata parser for binary Stellar WASM",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cbe29874425fcf371e6a8a9213b3d75395f5e070b4478635c50c5ee4a0d58d57",
"md5": "03c8e92ffa8c714a813b8017a7f59c21",
"sha256": "f499f159d6960bd4f33ddb6144e9fcfc36234d8525cfd4025657e3da59cefa0f"
},
"downloads": -1,
"filename": "contract_wasm_interface_parser-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "03c8e92ffa8c714a813b8017a7f59c21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 7306,
"upload_time": "2024-06-24T08:48:11",
"upload_time_iso_8601": "2024-06-24T08:48:11.127537Z",
"url": "https://files.pythonhosted.org/packages/cb/e2/9874425fcf371e6a8a9213b3d75395f5e070b4478635c50c5ee4a0d58d57/contract_wasm_interface_parser-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "970ed9bc2a1962151ff4436e60f0d14393d544baa2aceccb69f4821868bb0dfb",
"md5": "f23ba39cd41e7cdf6770ab9020041dee",
"sha256": "e8f34ecf7a252574fbb4f6454286072e65a6bdd4a5b751a2c636c2775d0d6324"
},
"downloads": -1,
"filename": "contract_wasm_interface_parser-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "f23ba39cd41e7cdf6770ab9020041dee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 6657,
"upload_time": "2024-06-24T08:48:12",
"upload_time_iso_8601": "2024-06-24T08:48:12.972433Z",
"url": "https://files.pythonhosted.org/packages/97/0e/d9bc2a1962151ff4436e60f0d14393d544baa2aceccb69f4821868bb0dfb/contract_wasm_interface_parser-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-24 08:48:12",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "contract-wasm-interface-parser"
}