This repository contains code for the article How to use Rust to extend Python.
rust
- example Rust project - a Python extensionpackage
- example Python PyPI package with an extesion written in Rustweb
- example Python web-service (Flask) that uses a Rust extensionDockerfile
,Dockerfile.pypi
- Docker build scripts for the web servicecython
- example Cython project (for comparison)benchmark
- simple benchmark: Rust extension against pure Python and Cython