Python bindings for subwasm library
Project description
py-subwasm-bindings
Python bindings for subwasm utility: https://gitlab.com/chevdor/subwasm
Installation
Compile for local development
pip install -r requirements.txt
maturin develop
Build wheelhouses
pip install -r requirements.txt
# Build local OS wheelhouse
maturin build
Usage
import json
import subwasm
# Show metadata from WASM file
metadata_str = subwasm.get_metadata("runtime_000.wasm")
metadata_json = json.loads(metadata_str)
print(json.dumps(metadata_json, indent=4))
# Show metadata from local Substrate node
metadata_str = subwasm.get_metadata("http://127.0.0.1:9933")
metadata_json = json.loads(metadata_str)
print(json.dumps(metadata_json, indent=4))
License
https://github.com/polkascan/py-subwasm-bindings/blob/master/LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file py_subwasm_bindings-0.0.3.tar.gz
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3.tar.gz
- Upload date:
- Size: 240.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c6cc67070ce24d9d2780076b684fc35d345505d1cf5b6d71ca39548a8801a3 |
|
MD5 | 2b6e1b4ec9bbbafb4c70bce068a80c34 |
|
BLAKE2b-256 | 952f8f279e9178f17204fd22c2986df385caead5293f8828780d30c8e3e40021 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp310-cp310-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp310-cp310-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0aba23409a7414cbc95c15277e3c8ad0a8ca0ff81b43194c7e5a065f8453b9f |
|
MD5 | 232192ae3b89f662edd4ca4c39c855d0 |
|
BLAKE2b-256 | 7e6269557a1ddc948a1244faa8e333e4e1b56c517d1be785b4c6d431bf6fe519 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0-beta.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59e28cc5f3dba6717031b42b6c1902f7300c1e00ff9d5d1e295f6fb72323aef0 |
|
MD5 | 22de619732bd7629bc2e77b02fa47f32 |
|
BLAKE2b-256 | 834b9ff82b95ecff2dec57cf4a3866e47ac589b5b9c151507102b34aa8feb938 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp310-cp310-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe67a4b28e2f5d6dc39195da00a7d3e31a04bd766916c6ab326ea30709e01f2e |
|
MD5 | 2b655145b2a70bddfe1e5070082517f8 |
|
BLAKE2b-256 | cfdb2f0e08c4f9f24d41f1d19dce577cc601450c366bf02d4373e995aba1da93 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp39-cp39-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp39-cp39-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5990c488bb2739c258ca2def4bfde1253f24d9d21405c42bf94f43b8126d8bac |
|
MD5 | 7167828fb5bdff4dc81f3a8dd1c7299d |
|
BLAKE2b-256 | 4d87a1aee4f10160f2fc3be6a275a095c0f2dd1ea366891317bbeb8f003cc808 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0-beta.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e19ed074e64a76fa8a1d9e0876248f822e807a69e11ed1ea815af6a442c1dcc |
|
MD5 | c52527afac4af571a5702a1d84867dff |
|
BLAKE2b-256 | 4e3588791127b6f23eba6919832d16a7e9361e919ac40d0c023b4dad56375bcb |
File details
Details for the file py_subwasm_bindings-0.0.3-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191dd996b8d86a6227f5c4021ebfead0cd4bf179dc9ee69ede9582e6ac7b47e7 |
|
MD5 | 4e64b58c19c7c3ae92675776354929ea |
|
BLAKE2b-256 | 83517c8135422603fd435ca1f2e3726c7912faf017dee6c756c1a90c9bd644f9 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp39-cp39-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1a2fecb055d27ee0abfc86563ace8ff8b3d1a74cc2c6e08bb209838932f6e8 |
|
MD5 | a4a6a6971af80963d25b32b690b1dff7 |
|
BLAKE2b-256 | f2a035c65cda78b10ae3ab968f96e306bc129d062946b141cd5f4129553da66c |
File details
Details for the file py_subwasm_bindings-0.0.3-cp38-cp38-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp38-cp38-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 582eecda3018efbc455242fa0078ead62eac25ff2fdb74ee6fb462cd8b9e14fe |
|
MD5 | 785f001e8909148448ca32f7fab4abc1 |
|
BLAKE2b-256 | 07f370dd12f2371a7fc731e4f1cd2318dc6e67b0d442d68ac411a9787339c185 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0-beta.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2d9ea9d46679038897f99245e22b5b20472485957472413d3977e75825b27c |
|
MD5 | b6a0e889ae9343d7443c89af67f65088 |
|
BLAKE2b-256 | edd2e24cceacab28d3ac891ff81111e1ddb306e98173676e1bc0e31c5d65372d |
File details
Details for the file py_subwasm_bindings-0.0.3-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64e10d6423f8d456cfb88755d94c13892795d34f779e0cae3d6336cb7ead12cf |
|
MD5 | 37745d9eccd75a3c88b80b19b2e0cc11 |
|
BLAKE2b-256 | d128ca842aa9592c284238a6f3ae2370094e9034d6197e6df4c78ef05308df15 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp38-cp38-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp38-cp38-macosx_10_7_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.8, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5142decee21d615217d868b348f3cedb6749ea5c0e2db8049f32cb481be74cb0 |
|
MD5 | 932838ee5d09a28a2d5e43ff2a487c7c |
|
BLAKE2b-256 | a3591825730aab543ebdf9a8dd018cbc34fc6f88305f5c2bf5608bec2153b656 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp37-cp37m-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp37-cp37m-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.7m, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0dd19e07c89b84684507294e54d790e1ad4bd76422e12cecfe4d7e121d63346 |
|
MD5 | dfef4d65401112f73a69f0906ce7d507 |
|
BLAKE2b-256 | 4ca8e95d902896e2842034a51ac7ddc66f311e3915482dc942c5ab5640a96ade |
File details
Details for the file py_subwasm_bindings-0.0.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0-beta.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6cc85797e64072dd0508232b3a6fec83b788cdc70583644caca66d50c2e8a2a |
|
MD5 | f3edf2ca55132de0113e9e7c365569e2 |
|
BLAKE2b-256 | 16e38c96de5f021b3cf4127fca5ecc5eb0f2b37bba71c4e5e7204d985ceb0a9f |
File details
Details for the file py_subwasm_bindings-0.0.3-cp36-cp36m-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp36-cp36m-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.6m, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 210f010353398fdcbe0d1a2d9907dd2da559a3c74c3bf1abb887ab0af0e50d96 |
|
MD5 | 15ef07acdbc9c789917d752bae5da9d3 |
|
BLAKE2b-256 | 4d8f98b84f6097cfd076a3e1ce54c6d21547627fd9de5f647dc7a71151537145 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0-beta.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92bdd92dc30318426a432ce86c9a91af949f22d7a36dbfaa2593b7f1a30e1d1 |
|
MD5 | 77632e15790ff64864fb842cd8010720 |
|
BLAKE2b-256 | 5e0eea3996b556da089dc2201e9c262b74e5dcf7c503c3451359c685693e6dd0 |
File details
Details for the file py_subwasm_bindings-0.0.3-cp36-cp36m-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: py_subwasm_bindings-0.0.3-cp36-cp36m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.6m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9eea0aa625f24a76a3f62aa15a4b767b69714bf490a439c3eddec6dc8e3d47 |
|
MD5 | 64ac06723318daba2593767e9e11e780 |
|
BLAKE2b-256 | 2bff273af4f959ff2cc4c836d6b2d5680ae31a8c8f3780d1e77616677bca7d21 |