Skip to main content

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.91"

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.91

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for entroly-core 1.0.91
File Actions
entroly_core-1.0.91-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for entroly_core-1.0.91-cp310-abi3-win_amd64.whl
entroly_core-1.0.91-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for entroly_core-1.0.91-cp310-abi3-musllinux_1_2_x86_64.whl
entroly_core-1.0.91-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for entroly_core-1.0.91-cp310-abi3-musllinux_1_2_aarch64.whl
entroly_core-1.0.91-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for entroly_core-1.0.91-cp310-abi3-manylinux_2_28_aarch64.whl
entroly_core-1.0.91-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for entroly_core-1.0.91-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
entroly_core-1.0.91-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64 Details for entroly_core-1.0.91-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Total release size: 24.2 MB

Release files / entroly_core-1.0.91-cp310-abi3-win_amd64.whl

Download URL entroly_core-1.0.91-cp310-abi3-win_amd64.whl
Size 3.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a9a10d7f98bbe9dbedb249d8e303d2fa69b8a1d6294f6aa7477f84e0a8af4753
BLAKE2b-256 checksum
How to use checksums
e239fcf1db1fc6ac6ce6b3a06885e1d98876aac149f71d36b7a8ec29dc463e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / entroly_core-1.0.91-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL entroly_core-1.0.91-cp310-abi3-musllinux_1_2_x86_64.whl
Size 3.9 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
06a7c1ac66f1bb4ef3a7d5e3a0bcb4c6ed86e38e0911dbb96560c547c4261adb
BLAKE2b-256 checksum
How to use checksums
f1462652db85055b731c80247dfc130bab0bbbb882f088872ac8a97ff16c00a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / entroly_core-1.0.91-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL entroly_core-1.0.91-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
c2921d03575665cbb963d803ccbc96f0039bc7f28f10e70379acc7089f779713
BLAKE2b-256 checksum
How to use checksums
e134524e9aa9c89f06d7517a334a5559d2a287eebbeb58e2cda51e02bfa3fc9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / entroly_core-1.0.91-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL entroly_core-1.0.91-cp310-abi3-manylinux_2_28_aarch64.whl
Size 3.5 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
4080dc680ee1dbeedbfb3da421bdaebabd9561bd081eff36f571fee1214b430c
BLAKE2b-256 checksum
How to use checksums
8aa21381f077b5fb3e1ee05770e3edc53624dc7f1e543bcc9c15c1d14114ee80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / entroly_core-1.0.91-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL entroly_core-1.0.91-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_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
994880a163e5ca3b03e331c83faa3f55df9197bda50acf8946eba27ba9c17b39
BLAKE2b-256 checksum
How to use checksums
18285a198f8e6e071712866cca058b6521e7c2761c204b4540c036b54bc83347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / entroly_core-1.0.91-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL entroly_core-1.0.91-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Size 6.5 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
a00c55d427fb990f27998431164178924670d7ee5a7efdb9d60cd5e192f131ef
BLAKE2b-256 checksum
How to use checksums
fc67b3e0393ff6d7928d33fab24535d3b6c36467813ef21010a3682825159941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for entroly-core 1.0.91

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.91 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page