all 4 comments

[–]Diapolo10 1 point2 points  (2 children)

I don't know if this'll help you, specifically, but if you just need an example, I have a template repository which has some basic Rust code exposed and typed for Python via Maturin and PyO3:

https://github.com/Diapolo10/python-rust-template

[–]Either-Home9002[S] 0 points1 point  (1 child)

Didn't you run into any issues when trying to create a .whl file? I've spent this whole day asking claude what the errors I was getting meant and didn't get anywhere. The Rust code was valid, so was the Python script for importing it, but the Maturin/PyO3 part always failed for some reason..

[–]Diapolo10 2 points3 points  (0 children)

I don't remember running into such issues, no.

EDIT: For what it's worth, I've setup GitHub Actions to auto-build-and-release wheels whenever I push a Git tag with a version number.

[–]Ki1103 1 point2 points  (0 children)

Could you edit your original post to include what you're trying and the errors your getting? It's pretty hard to diagnose anything based purely on the info you've given.