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.83"
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.83
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.83-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| entroly_core-1.0.83-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| entroly_core-1.0.83-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| entroly_core-1.0.83-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| entroly_core-1.0.83-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.83-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.10 | abi3 | macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64 | Details |
Total release size: 23.7 MB
Release files / entroly_core-1.0.83-cp310-abi3-win_amd64.whl
| Download URL | entroly_core-1.0.83-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
09a0d76eccd59ca5d4de02a971d31031fb7d0b4a17b2ae95896791a7b9fedaaf
|
|
BLAKE2b-256 checksum How to use checksums |
d11176a73dd6bbaacac288ef75885a8ca7c2e9381b04277034cdb63e19c9bfb0
|
| 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.83-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | entroly_core-1.0.83-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 |
057d56a4630ca98291875fc557ae450dc89961e2b36602c8146278480c580ac5
|
|
BLAKE2b-256 checksum How to use checksums |
c16244a049f950199f11b25f32121e1b0c24c5db35b2b73dc4c8e1dec703c753
|
| 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.83-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | entroly_core-1.0.83-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 |
eb2479379bc4d376187c3c1c1e5f091a9ecc4f1bee9ca1bb0204ad23ca74c6ad
|
|
BLAKE2b-256 checksum How to use checksums |
128d8cf2e3a5e5bd940092d065d5ef95dd912352929dd5bbd41c09644ba88bec
|
| 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.83-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | entroly_core-1.0.83-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 |
09c16b4eeb2996809ddf4c01583dbcf8b306c6433ac3526b936fc2cedf7c0ace
|
|
BLAKE2b-256 checksum How to use checksums |
0a4b679a189421e642704303dc476171c903f40d008b0f35fd93f0bbf05066b3
|
| 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.83-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | entroly_core-1.0.83-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 |
c43363c72f86acf7cf640c957773ec0f8b910544d4b308d5d53e516973d7b5cc
|
|
BLAKE2b-256 checksum How to use checksums |
6cfd12761a28201014f24a03a42444cbea92a50df70452f69f5de0a85af3edfb
|
| 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.83-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | entroly_core-1.0.83-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 |
0ba5d1a22d6afaa8cbe1cf0f7fcb35a5226a6925aa42ddbfb7f5cf0d416e5386
|
|
BLAKE2b-256 checksum How to use checksums |
95effec7dcd1ef54328354758cd650569b236147ee7c0311b708bc823d137a01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|