This directory contains the PyO3 binding layer source for inferedge-moss-core — the native Rust extension that powers the moss Python SDK.
These are the Rust-to-Python bindings used by the SDK. The source is published so you can see exactly what the native layer does:
lib.rs— Module entry point, registers all Python-facing classesindexmanager.rs— Cloud index lifecycle (load, query, unload)manage/client.rs— Cloud REST API (create/delete indexes, add/remove docs, poll jobs)manage/types.rs— Job status, mutation result, and mutation option typesmodels.rs— Python-facing data types (DocumentInfo,SearchResult,QueryOptions, etc.)
These bindings are distributed as pre-built wheels on PyPI:
pip install inferedge-moss-corePre-built wheels are available for Python 3.10+ on Linux (x86_64, aarch64), macOS (x86_64, ARM), and Windows (x86_64).
For most users, install the SDK instead — it includes the bindings as a dependency:
pip install mossIf you need a feature or change in the native layer:
- Open an issue at github.com/usemoss/moss/issues describing the use case
- The Moss team will evaluate, implement, and publish an updated wheel to PyPI
If you'd like to contribute a bindings-layer change directly, open a PR with your .rs changes. The Moss team will validate it against the internal build before merging.