Back to list
JoernStoehler

ffi-pyo3-maturin

by JoernStoehler

0🍴 0📅 Jan 21, 2026

SKILL.md


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

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.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon