Search

PythonReactSEOPDF
GitHub Skill

ffi-pyo3-maturin

Build or modify the Rust↔Python FFI using PyO3+maturin. Use for binding builds, smoke tests, and boundary validation workflow.

JoernStoehler☆ 0 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

PyO3 + maturin FFI Workflow

Build

  • cd packages/python_viterbo && uv run maturin develop --manifest-path ../rust_viterbo/Cargo.toml

Test

  • cd packages/python_viterbo && uv run pytest -q tests/smoke

Contract and expectations

  • See: packages/rust_viterbo/docs/ffi-contract.md
  • Keep wrappers thin and convert types near the boundary.
  • Validate inputs at the boundary, return structured errors.
  • Avoid breaking Python-facing APIs without coordination.

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!