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 Distributions

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

ms8_policy_core-0.1.0-cp313-cp313-win_amd64.whl (770.5 kB view details)

Uploaded CPython 3.13Windows x86-64

ms8_policy_core-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl (969.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

ms8_policy_core-0.1.0-cp313-cp313-macosx_11_0_arm64.whl (827.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ms8_policy_core-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl (872.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

ms8_policy_core-0.1.0-cp312-cp312-win_amd64.whl (770.6 kB view details)

Uploaded CPython 3.12Windows x86-64

ms8_policy_core-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl (969.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

ms8_policy_core-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (827.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ms8_policy_core-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl (872.3 kB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

ms8_policy_core-0.1.0-cp311-cp311-win_amd64.whl (770.7 kB view details)

Uploaded CPython 3.11Windows x86-64

ms8_policy_core-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (969.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

ms8_policy_core-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (831.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

ms8_policy_core-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (874.8 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

ms8_policy_core-0.1.0-cp310-cp310-win_amd64.whl (770.6 kB view details)

Uploaded CPython 3.10Windows x86-64

ms8_policy_core-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (969.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

ms8_policy_core-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (831.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

ms8_policy_core-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl (874.8 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

Details for the file ms8_policy_core-0.1.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dfcac57aacff38a42a98d9e1073994a8063959a92a886263380e2b298be9ab3b
MD5 a82da6ba3fe43c680215cd81e8edd327
BLAKE2b-256 53964af7d45c4c88d586d7b2e4b312432b813ffaecf31600a0f64df42b1f1a82

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e669d3baa2ac9a0b82b84b910a3efa44e96258bbb84621176a001b7124d0a2ca
MD5 659a4dd317cc6bcbebbdbf2f039ebcd8
BLAKE2b-256 64dd63d06720f684ca0a33a0f747364710ace608b11232e0d0e2efc30a716e00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d4a9b51e86a0413aae73f1d00da5e7a515993e1af32db27a78cf0978babfefe
MD5 e380526bfe6ac5390bd2fda6568c6a4a
BLAKE2b-256 25e7b1536bc5c04901909c3818b6225ebaa707be60bd9f59874ebd316a13cdb7

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f07f9ed8681bb165eba872faf7edbfc44f0156bf2b5589fff4264d96e909d3ea
MD5 a6f9ca2797349aa2d425eb9ac6f82b90
BLAKE2b-256 3976ba63fed3d0a0717e352df77bc45e6c3273e40cf0696e609e6196a52f96fb

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 89252f2948ac098df04e53dd77139852825e8879cf766401b91f6389e21d0369
MD5 802f9602829f0991cde8fd80196d260f
BLAKE2b-256 20de136140a841e0da81737ea4266cfdc273634f1fea85f40753e7825a3f87cf

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 271769ead5f7adac992b2b663aa664f4cbc8ebfc47917ade447634781b28a927
MD5 230388a99580fd748cbc0979614eef90
BLAKE2b-256 2b5ae7494f4044a19f4bbb427e8eaf72a9fb2a4a1172ada95159af25270542b4

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6749438e9c9c510ba256af71f9d8916b0610b7397d7dc7c5477ec3ba0cbe690f
MD5 fccfac8aa7197856d8deee7913013e94
BLAKE2b-256 ed61dff75effcd25c5165aa7192cf9e1723e9625a6d7f77926b67f69d2f952ab

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3c7b75e8da48fb28d9e4ebb66d849626ef7a12edfe825f1e3e5290583b3f906e
MD5 23a21285fe6eb8f21e4664fcc0765e2f
BLAKE2b-256 c331256e935de877cebaf3fe49850797ddf3937e4314b4957b7a64b7facbfd71

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fa373b94cfc46e76d7ede56f0d9cec03fdcd49d76f9be66e0bc3ca0bfa210768
MD5 d5c1dd4a6d7a2e01a27220391e9a3120
BLAKE2b-256 207231644ba7d27277946acb33f36f0cfe97fe808f92357c07b7c4768bcccd89

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46d29fc9c9080d9757978e3bbec36a169f67ae897ae2036ac8b28afa505eb1cf
MD5 97b5311a89d0449db756c07851c2933b
BLAKE2b-256 549d85070620d08e9b46bc912502ed0eeb0551f31a326541396ee7ebc52bbef6

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 41e0b70f817bafa031d8f785916847f507a57ac4a9dd9c6267cbc3010055d582
MD5 5c94042f65a24d31bb47c8b153ee77fe
BLAKE2b-256 2d4c854af708eb3d080daa407bac3bf38ed0d062ef091a644c4a5c82011c2387

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 98ac6bd1a258aad62e298c7675ae616809734132b140c0eec6954d0d2badfaa3
MD5 c3b3005779da4706b8057e4e2692bc1d
BLAKE2b-256 b28e26eab752cfc9b1a984a14b53e30da425c46a5e6c8f7d7fcb54aa63b93a42

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4a908eecf7120b8da534f9b58ab3ca1ae62fd15368b3eea1347177913b3faf19
MD5 f16624060692a7200aceb0875a65a09e
BLAKE2b-256 fefb90d17d9f82a847b5dc5ca516d34e278f453961d91bceb5ae678f382ef53a

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 65f6b8f8da1ac57e1873af7808ae19e87702c61fce1cc1859a76551ad16ee76f
MD5 cbea8e05cd05f864d1e825aaef66308d
BLAKE2b-256 b169a449dbee5e34227529352826a60d21a95f6a1bce1015f1baf4705f9c11cc

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ddfd590752ad8e12f867878f70193218b8feacdc57617eeb3698d11f7bc5e662
MD5 0de56db2bb4dd7c4437e6cb53a794715
BLAKE2b-256 733f6c5881c5460e97aca48b2210abb4a114204e8b8881b539578c1783ab109d

See more details on using hashes here.

File details

Details for the file ms8_policy_core-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ms8_policy_core-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1a304b9df85e0773cc57aaf2d0532ed4f1bb9b229f530dc5f9185a9233cff215
MD5 9db96beb828d6bc282c0992f008023bd
BLAKE2b-256 ce87357b76fb3951309fa38937a7d296beabfb61392f0fe722ee84f056e1f0b8

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