Skip to main content

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

  1. Clone this repo

  2. Install Python (3.10+)

  3. Create a virtual environment - python3 -m venv env

  4. Activate the environment - . env/bin/activate

  5. Update pip if needed - pip install -U pip

  6. Install maturin - pip install -r requirements.txt

  7. 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

  1. Install Python (3.10+)

  2. Create a virtual environment - python3 -m venv env

  3. Activate the environment - . env/bin/activate

  4. Update pip if needed - pip install -U pip

  5. 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

  1. Run - cargo doc --open

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysui_fastcrypto-0.7.4.tar.gz (25.5 kB view details)

Uploaded Source

File details

Details for the file pysui_fastcrypto-0.7.4.tar.gz.

File metadata

  • Download URL: pysui_fastcrypto-0.7.4.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for pysui_fastcrypto-0.7.4.tar.gz
Algorithm Hash digest
SHA256 d16bf94261627a13e6b6ea0bb062e26577a4b257aae2a3b977a1e709259d5698
MD5 90f99aa3e997614ee35961a3438ed2f1
BLAKE2b-256 d233218249d44fc1296c19f65799b234f69dc51534b31b86a547b3cdd6c7f65e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page