An open API service indexing awesome lists of open source software.

https://github.com/FrankC01/pysui?tab=readme-ov-file

SUI Python Client SDK
https://github.com/FrankC01/pysui?tab=readme-ov-file

blockchain client-sdk python sdk-python sui

Last synced: 5 months ago
JSON representation

SUI Python Client SDK

Awesome Lists containing this project

README

          


PySui

# pysui

[![Downloads](https://static.pepy.tech/badge/pysui/month)](https://pepy.tech/project/pysui)

Python Client SDK for Sui blockchain

## A cup of coffee

- The team could use a cup or carafe. Sui address `0xc45e5ea887e037ddc6a482afa412773b4291c8fdc338f647fb0fcea324975d8e`

## pysui SDK install

### With Rust on machine

`pip install pysui`

### Without Rust on machine

1. Fetch the latest [pysui-fastcrypto](https://github.com/FrankC01/pysui-fastcrypto) binary from the release assets, unzip and `pip` install it
2. `pip install pysui`

## pysui SDK current (github)

**Release-0.84.0**

- Supports _SUI 1.47.x JSON RPC API_, _SUI 1.48.x GRAPHQL_
- JSON RPC API backwards compatable to _Sui 1.41.x_

## PyPi current

**Release-0.83.0 - Released 2025-04-27**

- Supports _SUI 1.47.x JSON RPC API_, _SUI 1.48.x GRAPHQL_
- JSON RPC API backwards compatable to _Sui 1.41.x_

- [Latest PyPi Version](https://pypi.org/project/pysui/)

### FULL Documentation

- [ReadTheDocs](https://pysui.readthedocs.io/en/latest/index.html)

### gRPC Support

- Refer to [pysui-grpc](https://github.com/FrankC01/pysui/blob/main/PYSUI_GRPC.md)

### GraphQL Support

- Refer to [pysui-graphql](https://github.com/FrankC01/pysui/blob/main/PYSUI_GRAPHQL.md)

### Changelog

See [CHANGELOG](https://github.com/FrankC01/pysui/blob/main/CHANGELOG.md)

### Issues and enhancement requests

We would appreciate using the [github issue log](https://github.com/FrankC01/pysui/issues) to let us know!

### Release/Publish Strategy

See [Strategies](https://github.com/FrankC01/pysui/blob/main/OP_STRATEGIES.md)

### Discord

Discord server [click here](https://discord.gg/uCGYfY4Ph4):

### Local node support

Note: Only supported for JSON RPC clients, GraphQL not available for suibase at this time.

We leverage [suibase](https://github.com/ChainMovers/suibase) for our testing and SuiConfig includes an option for interacting directly with local nodes created by `suibase`

## Sample utilities

See [samples](https://github.com/FrankC01/pysui/blob/main/samples/README.md)