akasimo / metaplex_decoder_py

Rust Python modules for interacting with Metaplex's NFT standard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Install 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

About

Rust Python modules for interacting with Metaplex's NFT standard.


Languages

Language:Rust 100.0%