بنقرة واحدة
python-bindings
Apply when working in mehari-python/ — the PyO3/maturin Python extension.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Apply when working in mehari-python/ — the PyO3/maturin Python extension.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Apply for build/test/lint, dependency or feature changes, and editing Cargo.toml or .cargo config in this repo.
Apply when starting work, branching, committing, opening/reading PRs, reading issues, or checking CI — the git + GitHub (gh) workflow.
Apply when creating or tracking a GitHub issue, or planning multi-step work — the issue template and the task convergence loop.
Apply when writing, editing, reviewing, or refactoring ANY code in this repo — coding-behavior rules to avoid overcomplication and make surgical, verifiable changes.
Apply when changing the REST API surface — actix handlers, utoipa annotations, or request/response types under server/.
Apply when editing .proto files or the generated protobuf types (src/pbs/*) in this repo.
| name | python-bindings |
| description | Apply when working in mehari-python/ — the PyO3/maturin Python extension. |
[workspace] stub + Cargo.lock) so jemalloc isn't linked into the extension. Never add it to the root workspace members. It depends on mehari with default-features = false.extension-module), maturin backend (module-name = "mehari._mehari"), uv for the env. Returns annotation results as Arrow RecordBatches (arrow 58 + serde_arrow); Python side uses polars/pyarrow. Requires Python ≥3.12. PyPI package name is mehari.mehari-python/): uv sync, then uv run pytest. Build the extension with uv run maturin develop.sync-lockfiles workflow keeps mehari-python/Cargo.lock aligned with root on release PRs — don't fight it.pyproject.toml + Cargo.toml) — don't hand-edit.