Skip to content
Back to skills

Ffi Pyo3 Maturin

ASecurity

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

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentpythonrustgoapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ffi-pyo3-maturin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ffi Pyo3 Maturin?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ffi Pyo3 Maturin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ffi-pyo3-maturin/badge)](https://www.skillsdirectory.com/skills/majiayu000-ffi-pyo3-maturin)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.