pysui-fastcrypto
April 6, 2024 ยท View on GitHub
================ pysui-fastcrypto
pysui-fastcrypto is a Python wrapper library for MytenLab/fastcrypto <https://github.com/MystenLabs/fastcrypto>_.
The primary use of this library is for pysui <https://github.com/FrankC01/pysui>_. It is not intended for general usage
although others are not prevented from using it.
Building pysui-fastcrypto for Python
- Clone this repo
- Install Python (3.10+)
- Create a virtual environment -
python3 -m venv env - Activate the environment -
. env/bin/activate - Update pip if needed -
pip install -U pip - Install maturin -
pip install -r requirements.txt - Build the create and python wrapper -
maturin develop
The last step will compile the Rust crate and create a Python wheel and install pysui-fastcrypto in the virtual environment.
Installing pysui-fastcrypto from PyPi
- Install Python (3.10+)
- Create a virtual environment -
python3 -m venv env - Activate the environment -
. env/bin/activate - Update pip if needed -
pip install -U pip - Install pysui-fastcrypto -
pip install pysui-fastcrypto
The last step will compile the Rust crate and create a Python wheel and install pysui-fastcrypto in the virtual environment.
Documentation for pysui-fastcrypto
- Run -
cargo doc --open