Python wrapper for MystenLab/fastcrypto Rust crate
Project description
pysui-fastcrypto is a Python wrapper library for MytenLab/fastcrypto.
The primary use of this library is for 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 maturin
Build the crate 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pysui_fastcrypto-0.5.0.tar.gz
.
File metadata
- Download URL: pysui_fastcrypto-0.5.0.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee0926903cd51ea0e142ad61e7a3b6d510ac878e6c1e0bf484cbb1498698e0e |
|
MD5 | 0ad7f1e0ad9236331b17871eef9eabe6 |
|
BLAKE2b-256 | f2ccc7554db6a777594091febca2a14fa43437acd21b6cd5ffd6fdfbc2fd9213 |