Skip to content

aspcompiler/py-rust-mandel

Repository files navigation

About

This is a small project demonstrating using Rust to speedup Python. See my blog post part 1 and part 2.

How to use

Prerequisites

Installation

  1. Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate
  1. Install the Python dependencies:
pip install -r requirements.txt
  1. Build the Rust library and install it in the virtual environment:
maturin develop --release
  1. Start the Jupyter lab:
python -m jupyter lab

Open mandelbrot.ipynb and run the cells.

About

A demonstration of using Rust to speedup Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published