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.85"
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.85
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.85-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| entroly_core-1.0.85-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| entroly_core-1.0.85-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| entroly_core-1.0.85-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| entroly_core-1.0.85-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.85-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 11.0+ ARM64, macOS 10.12+ x86-64 | Details |
Total release size: 23.8 MB
Release files / entroly_core-1.0.85-cp310-abi3-win_amd64.whl
| Download URL | entroly_core-1.0.85-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
531fe965f306a0d58f48b75d6abe0c13dcbe811f7b2c0bec53ce374afd4aac75
|
|
BLAKE2b-256 checksum How to use checksums |
21bc9a4a490768441648292318069b960a9568c21081bace061d4ea6b2184e03
|
| 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.85-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | entroly_core-1.0.85-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 |
5704d677b6240e8e44987289d98d5c49c960defa87399b617d3097414910c11f
|
|
BLAKE2b-256 checksum How to use checksums |
75a3ac13fbde4f4a0a2361f365f45b1137ef22a5375c57056404815a8b068ecc
|
| 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.85-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | entroly_core-1.0.85-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 |
7e3d7348978153628b3ceaec0866936d53479effe8d50887982a6ac931dafcc8
|
|
BLAKE2b-256 checksum How to use checksums |
0dbe115937239297f2a93bb3b5c3241d13fa26a24938c52aab5b768dc800091c
|
| 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.85-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | entroly_core-1.0.85-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 |
b39080800d23623e0b445c1d8630c0dee7825beb546e981fedd0b260434bd543
|
|
BLAKE2b-256 checksum How to use checksums |
780a1ed1ae43305fe115f0db30da88422fa164e480428604f5ffb966643beb14
|
| 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.85-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | entroly_core-1.0.85-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 |
638075e4263bbb3ef020ca624651b0f1194631fd935492b6f468a80b594fd07e
|
|
BLAKE2b-256 checksum How to use checksums |
46e7b004e7b700949c25b736b97b0a1caaffa9091c270c3c67798190de79a3e0
|
| 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.85-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | entroly_core-1.0.85-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 |
485a2bab4807f46522e61d752bb4c1838f155b1b70a23cbed7c94049ab6b1c16
|
|
BLAKE2b-256 checksum How to use checksums |
811222fa089d58e4845b96c3b724cf79ec81f5eca2fb172faccc789068743c70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|