Simple Metaplex Metadata Decoder
Install the correct Python wheel for your Python version with pip
:
pip install metaplex_decoder-0.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Example Python usage:
from metaplex_decoder import *
account_info = "..." # Base58 string
metadata = deserialize_metadata(account_info)
Releases
Various versions of the Many Linux Python wheel are available on the releases page.
Build With Rust
Use virtualenv
to create a Python virtualenv environment and then activate it:
virtualenv env
source env/bin/activate
Install maturin
:
pip install maturin
For Linux build in docker with the ManyLinux image:
docker run --rm -v $(pwd):/io konstin2/maturin build --release
For MacOSX:
maturin build