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.86"
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.86
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.86-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| entroly_core-1.0.86-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| entroly_core-1.0.86-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| entroly_core-1.0.86-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| entroly_core-1.0.86-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.86-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 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 | Details |
Total release size: 23.9 MB
Release files / entroly_core-1.0.86-cp310-abi3-win_amd64.whl
| Download URL | entroly_core-1.0.86-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
95f188ac69e28a8571fcfbcf2839d1077721d180a592b289c5d3abfe42f6d9e6
|
|
BLAKE2b-256 checksum How to use checksums |
cc31440fca70a7aebe223bd6ce9fc8cf1fadd0cfd8d3d0650c7c09fa50b2bb3d
|
| 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.86-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | entroly_core-1.0.86-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 |
f6dce8c6015616d6ff3f5f9305f9dda14471f900b617e11f28ef5af8cbef358c
|
|
BLAKE2b-256 checksum How to use checksums |
7ff3a0b01deda0b282e421b31048b5174e071932c44c3a882381beb8b6f8704d
|
| 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.86-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | entroly_core-1.0.86-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 |
61aa6965b17b10cf9c78d2ac436863f78f8b474aebc8b98eb335f8ff3b8380ce
|
|
BLAKE2b-256 checksum How to use checksums |
0694ae7e542340a5574408a917ede5b563d2b9a5f78b656aedd25c44f20647ad
|
| 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.86-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | entroly_core-1.0.86-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 |
5b4a83f1d6d571e66f7d58d68d2bf2b65b953367f66ae8707110274cbf83b06e
|
|
BLAKE2b-256 checksum How to use checksums |
25d1aec872b1970bd67e2de80e870fcc363c22a8fd5e4813238f350cdc78bd9b
|
| 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.86-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | entroly_core-1.0.86-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 |
8f2aedbcc5fe8df2ec2d2ba73f9a2649a9d8eeaee49595ccab296d1bec24fa1e
|
|
BLAKE2b-256 checksum How to use checksums |
568193224681e76ff2e8d031d4435b734a4af64799009d8c94b4cc113159358d
|
| 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.86-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | entroly_core-1.0.86-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 |
6e365a940d4ba30bfbdc464f7c1875eec90b3d5c6437107a8cfda929a1d47a05
|
|
BLAKE2b-256 checksum How to use checksums |
9a1c7201d1d024321fd0f148f4ef7a0589b16cb2a836637d3e8ff04d1c21f859
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|