Skip to main content

SUI client Python SDK

Project description

pysui

Python Client SDK for Sui blockchain

Release-0.30.1

BREAKING CHANGES See CHANGELOG.md

  • Supports SUI 1.6.x/TBD RPC API on devnet
  • Supports SUI 1.5.x/1.6.x RPC API on testnet
  • Supports SUI 1.4.x/1.5.x RPC API on mainnet

Deprecation Strategy

Functions, classes and methods marked 'Deprecated' will be removed 2-3 releases after initial marking. Refer to the CHANGELOG.md.

Changelog

See CHANGELOG

We would appreciate any issues being reported in the github issue log

Discord

Discord server click here:

PyPi for 0.30.1

Documentation

Additions

There is a companion package called pysui-gadgets with a few utilities and ge-gaws that you may find interesting. It is a separate package also on on PyPi.

Local node support

We've started leveraging suibase in our testing and we've modified SuiConfig initialization to include an option for interacting directly with local nodes created by suibase

Ready to run

Requires:

  • Linux or macos (x86_64 or Mx)
  • python 3.10 or greater
  • pkg-config
  • libtool
  • sui binaries to support publish Sui move packages

You will need suibase for interacting with local nodes, it is an indispensible addition to Sui developers tools!

Setup environment

python3 -m venv env

If, instead, you want to work with repo latest source code then read DEVELOP from repo

Activate

source env/bin/activate

or

. env/bin/activate

Install pysui

pip install pysui

Samples

See samples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pysui-0.30.2-py3-none-any.whl (169.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page