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.80"
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.80
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.80-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| entroly_core-1.0.80-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| entroly_core-1.0.80-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| entroly_core-1.0.80-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| entroly_core-1.0.80-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.80-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.3 MB
Release files / entroly_core-1.0.80-cp310-abi3-win_amd64.whl
| Download URL | entroly_core-1.0.80-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
185f418c5b464c5dbc78be1ac1506cbd670a1fdd52a0123e61a2169c88775d9b
|
|
BLAKE2b-256 checksum How to use checksums |
ac248ae918143a785a7bc2f10aef387fb4df0df1fc7a8592938b86d493342c8e
|
| 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.80-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | entroly_core-1.0.80-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
72cc5bdec781c9c81a3ebb3ee812e20890f9b73898182508ada5eabe49bbc1e9
|
|
BLAKE2b-256 checksum How to use checksums |
a0a282228be832667fa57a0888f3c8a9c5af3f44a46f67201dc557ff81778251
|
| 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.80-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | entroly_core-1.0.80-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
950741dd79e0b9fa4e6078f4e639fb2dd77e2c286f7a3175607f5d38c946166b
|
|
BLAKE2b-256 checksum How to use checksums |
6bdd21f57bd064c502696abf78200c0d68eea2be5ae5713310cd269d6b169a9f
|
| 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.80-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | entroly_core-1.0.80-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
8c8b00c3c4f0b53422f604dd5746227af5126515df393eee98662c5b8d68dd4b
|
|
BLAKE2b-256 checksum How to use checksums |
f5f53bb717f4788b6e64aa5a9b77138b7ffd05f968d848794aaa61d51d718d5d
|
| 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.80-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | entroly_core-1.0.80-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
dab484a6a2162b845ff5559517e7c24884cf19f4b60cfc9fb4c33c9d4ced0b8b
|
|
BLAKE2b-256 checksum How to use checksums |
56272a8d31c6a5c143329c02d770ccd729ae01690f4047f6e4b7344d802b047c
|
| 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.80-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | entroly_core-1.0.80-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 6.3 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 |
b9782392849cb454055c015410c5839862c521b64558a908fd4f647f3e6cfa00
|
|
BLAKE2b-256 checksum How to use checksums |
87ccb554c0a035f6a8d3a2560e8187f2a63e98f90f17a1aedcd6968b50c1193f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|