Skip to main content

Binary-only native policy core for MS8 runtime

Project description

ms8-policy-core

Binary-only native Rust/PyO3 policy core for MS8.

The package ships a small Python compatibility wrapper plus a compiled native extension. Core policy logic is implemented in Rust and distributed as binary wheels only.

Public API

  • evaluate_admission
  • rank_retrieval
  • run_self_check_specs
  • plan_self_repair
  • shadow_decide

Local build

From the MS8 project root:

bash scripts/build_policy_engine_wheel.sh

This builds a local wheel, verifies that it contains a native extension, installs it into the project virtualenv, and runs the closed-backend contract checks.

Multi-platform wheels

Use the Policy Core Wheels GitHub Actions workflow to build CPython 3.10-3.13 wheels for macOS, Linux, and Windows.

Do not publish an sdist for this package. Publishing an sdist would expose the policy source.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl (862.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88f2082f4e5b2616a3c7ed988d4c042837a574e2f458bf1bfdff46bb4c3084f2
MD5 b06565c2d5b310e1403d2ddf94057c1e
BLAKE2b-256 bbdca1c69114dce4b2bb8bf575aad03c0af7a1cb6899ba719e8f80e824951606

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page