Skip to content

A template for starting rust PyO3 extension module projects that can be used with cargo-generate

Notifications You must be signed in to change notification settings

spyoungtech/pyo3-extension-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PyO3 Extension Template

Template for starting PyO3 module projects with cargo-generate

Includes basic project setup and GitHub Actions workflow that:

  • Builds wheels for Python 3.8-3.12 and PyPy for multiple platforms and architectures
  • Repairs wheels for proper packaging of linked dependencies (e.g., using delocate, auditwheel, or delvewheel)
  • Tests your rust code using cargo test and tests your generated extension module using tox
  • Uploads wheels and sdist to GitHub release and PyPI on tagged builds

To publish to PyPI, be sure to setup your trusted publisher configuration first.

About

A template for starting rust PyO3 extension module projects that can be used with cargo-generate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published