Skip to main content

SUI client Python SDK Gadgets

Reason this release was yanked:

Obsolete

Project description

pysui-gadgets includes tools and utilities that work with the pysui SDK.

Gadgets included:

  • package - Performs operations that leverages meta-data about SUI move packages (smart-contracts)

  • dsl-gen - Creates python representation of move package key structs and entry point functions

  • to-one - Merges all SUI Gas mists ‘to one’ SUI Gas object for an address

Setup for use

  1. Install SUI binaries (devnet is currently supported)

  2. Setup python virtual environment

  3. Activate virtual environment

  4. Update pip

  5. Install pysui_gadgets

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui
python3 -m venv env
. env/bin/activate
pip install -U pip
pip install pysui_gadgets

Setup for cloning

  1. Install SUI binaries (devnet is currently supported)

  2. Clone pysui_gadgets repository

  3. Setup python virtual environment

  4. Activate virtual environment

  5. Update pip

  6. Install pysui

  7. Alternate install of pysui

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch devnet sui
git clone git@github.com:FrankC01/pysui_gadgets.git
python3 -m venv env
. env/bin/activate
pip install -U pip
# If 0.6.0 on PyPi
pip install pysui
# Alternately
# clone pysui to other folder
# in pysui run bin/package-build.sh
# back in here
pip install ../path_to_pysui/

Running gadgets

package -h
dsl-gen -h
to-one -h

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_gadgets-0.0.6-py3-none-any.whl (41.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