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.whlExample Python usage:
from metaplex_decoder import *
account_info = "..." # Base58 string
metadata = deserialize_metadata(account_info)Various versions of the Many Linux Python wheel are available on the releases page.
Use virtualenv to create a Python virtualenv environment and then activate it:
virtualenv env
source env/bin/activateInstall maturin:
pip install maturinFor Linux build in docker with the ManyLinux image:
docker run --rm -v $(pwd):/io konstin2/maturin build --releaseFor MacOSX:
maturin build