Skip to main content

pysui-gadgets

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

  • splay - Evenly distribute coins from one address to many

  • vh - History of object versions

Setup for use

  1. Install SUI binaries

  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

Upgrade

  1. Activate virtual environment

  2. Update pysui_gadgets

. env/bin/activate
pip install -U pysui_gadgets

Setup for cloning

  1. Install SUI binaries

  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
pip install -r requirements.txt
# Alternately
# clone pysui to other folder
# in pysui run bin/package-build.sh
# back in here
pip install ../path_to_pysui/

Running gadgets

module -h
package -h
dslgen -h
to-one -h
splay -h
vh -h

Metadata

Release files for pysui-gadgets 0.4.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pysui-gadgets 0.4.9
File Interpreter ABI Platform
pysui_gadgets-0.4.9-py3-none-any.whl Python 3 none any Details

Release files / pysui_gadgets-0.4.9-py3-none-any.whl

Download URL pysui_gadgets-0.4.9-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f86eee45c8532cea21357fb076ecfbdec06eec5568570fd47191d799109230b5
BLAKE2b-256 checksum
How to use checksums
181bb178ca4092c4bcd1836ded710c90733ca00910560c3586776411ca92e3f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.4.9 This release

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.0

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page