Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Python Client SDK for Sui blockchain
pysui-fastcrypto
Rust wrapper (required)Note: If moving from 0.51.0 or earlier it is recommended to start a new virtual environment and installing from PyPi!
Release-0.68.0
BREAKING CHANGES to GraphQL multi-schema support and removal of legacy samples
See CHANGELOG
Release-0.67.0 - Released 2024-09-14
BREAKING CHANGES to GraphQL multi-schema support and removal of legacy samples
Supports SUI 1.33.x RPC API and SUI 1.33.x GRAPHQL
Backwards compatable to Sui 1.28.x RPC API and 2024.7.0 GraphQL schema
MystenLabs announcement can be found Here. This change transitions from JSON RPC to GraphQL RPC.
Note: MystenLabs/Sui GraphQL RPC is available on devnet, testnet and mainnet. Note that devnet beta is usable but we recommend using testnet or mainnet beta for stability. We are tracking a few failures we are monitoring Isssues.
Note: Functionality of pysui GraphQl should be considered beta, use in production is at your own risk.
With pysui 0.50.0 we released beta pysui
's beta alignment with MystenLabs strategy. The timeline of changes will keep up with the Timeline as noted in the Sui GraphQL annoucement. We are not yet stable however we have Clients and TransactionBuilder running against Sui GraphQL.
We continue to monitor and support changes from MystenLabs as they occur.
You can read pysui documentation on graphql beta here
See CHANGELOG
We would appreciate using the github issue log to let us know!
See Strategies
Discord server click here:
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.
We leverage suibase for our testing and SuiConfig includes an option for interacting directly with local nodes created by suibase
Requires:
publish
Sui move packagesYou will need suibase
for interacting with local nodes, it is an indispensible addition to Sui developers tools!
python3 -m venv env
If, instead, you want to work with repo latest source code then read DEVELOP from repo
source env/bin/activate
or
. env/bin/activate
pysui
pip install pysui
See samples
FAQs
SUI client Python SDK
We found that pysui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.