entroly-core
Rust core for Entroly, the information-theoretic context optimization engine for AI coding agents.
Provides high-performance PyO3 bindings for:
- Knapsack optimizer - 0/1 DP context selection within token budget
- Shannon entropy scorer - boilerplate detection, information density
- SimHash deduplication - near-duplicate fragment detection
- Query analysis - TF-IDF vagueness scoring, heuristic refinement
- SAST scanner - security rules for common vulnerability classes
- LSH index - approximate nearest-neighbor semantic recall
- PRISM RL optimizer - online feedback-driven fragment weight learning
Install
python -m pip install --upgrade pip
python -m pip install --no-cache-dir -U "entroly-core>=1.0.84"
Prebuilt abi3 wheels are published for Linux, macOS, and Windows. One
wheel per platform covers Python 3.10+ including Python 3.14. If pip
tries to compile an old source distribution such as 0.2.0, upgrade pip
and retry with --no-cache-dir; the intended path is the prebuilt wheel,
not a local PyO3 build.
Usage
Usually used via the higher-level entroly package:
python -m pip install entroly
entroly # starts the MCP server
Or directly:
from entroly_core import ContextFragment, py_knapsack_optimize, py_shannon_entropy
License
Apache-2.0
Metadata
Release files for entroly-core 1.0.84
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| entroly_core-1.0.84-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| entroly_core-1.0.84-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| entroly_core-1.0.84-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| entroly_core-1.0.84-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| entroly_core-1.0.84-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| entroly_core-1.0.84-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64, macOS 11.0+ ARM64, macOS 10.12+ universal2 (ARM64, x86-64) | Details |
Total release size: 23.8 MB
Release files / entroly_core-1.0.84-cp310-abi3-win_amd64.whl
| Download URL | entroly_core-1.0.84-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4e53abcf64d09648ab1240a83cbd4f5a306a2c60df2ac946ee39ab8d2546c569
|
|
BLAKE2b-256 checksum How to use checksums |
67c6f28c4326550eb8308117ad11c432177254411d0065b70184324af148bf4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / entroly_core-1.0.84-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | entroly_core-1.0.84-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
67a94456bec3dc7f65faaf578280b0d5acd67f8ae56f40b6b308a4688acda844
|
|
BLAKE2b-256 checksum How to use checksums |
3387756bd17aa45bd82a8ac2c7d783c7ff6fd27176cf45a97f7afacee7e22b73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / entroly_core-1.0.84-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | entroly_core-1.0.84-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
3f97b5eb4c4d8755dcbdba917f30f754058234fa6a085df605578fc6eef8fa73
|
|
BLAKE2b-256 checksum How to use checksums |
0ba9d5a063b32526e7cdd617f7221db481d90a8f910b863326aa6041adef3322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / entroly_core-1.0.84-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | entroly_core-1.0.84-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d125e2009eb977ae4d5310d05c5a0297937cf781f6b9a69265ab0946116447d7
|
|
BLAKE2b-256 checksum How to use checksums |
8cb764c9db30390c27539d01512c89beb06f103d2e89d901e687cd06fcf1d39b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / entroly_core-1.0.84-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | entroly_core-1.0.84-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b4a87590bf30d2ef1fd2e5554f94ccf7061e7d52a38e30a60a334b032f97e21e
|
|
BLAKE2b-256 checksum How to use checksums |
32e7436a28b0e8c4c674879062edfc77bc4598655f1a38b66bc0b52e86cbbd08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / entroly_core-1.0.84-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | entroly_core-1.0.84-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 6.4 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fe3c3151e08b9aa383964aacd89e660e5176cbc3b8e1aeaf6eb3e0a5284b8a3c
|
|
BLAKE2b-256 checksum How to use checksums |
6c7f41667d17421fe4b13fd9403369298a3c72a01e88db8e07c30848a52cf37e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|