https://github.com/spyoungtech/pyo3-extension-template
A template for starting rust PyO3 extension module projects that can be used with cargo-generate
https://github.com/spyoungtech/pyo3-extension-template
cargo-generate pyo3 pyo3-examples python
Last synced: about 1 month ago
JSON representation
A template for starting rust PyO3 extension module projects that can be used with cargo-generate
- Host: GitHub
- URL: https://github.com/spyoungtech/pyo3-extension-template
- Owner: spyoungtech
- Created: 2024-07-20T06:42:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T07:20:30.000Z (almost 2 years ago)
- Last Synced: 2025-06-22T23:06:36.730Z (12 months ago)
- Topics: cargo-generate, pyo3, pyo3-examples, python
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://docs.pypi.org/trusted-publishers/) configuration
first.