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

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

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.88
File Actions
entroly_core-1.0.88-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for entroly_core-1.0.88-cp310-abi3-win_amd64.whl
entroly_core-1.0.88-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for entroly_core-1.0.88-cp310-abi3-musllinux_1_2_x86_64.whl
entroly_core-1.0.88-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for entroly_core-1.0.88-cp310-abi3-musllinux_1_2_aarch64.whl
entroly_core-1.0.88-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for entroly_core-1.0.88-cp310-abi3-manylinux_2_28_aarch64.whl
entroly_core-1.0.88-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.88-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
entroly_core-1.0.88-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64, macOS 10.12+ x86-64 Details for entroly_core-1.0.88-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.88-cp310-abi3-win_amd64.whl

Download URL entroly_core-1.0.88-cp310-abi3-win_amd64.whl
Size 3.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f46915e4f4575204e61ee6d703babec9618c5207a8e6e23ee1ddc18578b44009
BLAKE2b-256 checksum
How to use checksums
671bca65d19b23ad81edab598c40c5b1681f8ad435192cca0616f84cf210d04a
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.88-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL entroly_core-1.0.88-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
9f7c892793d2d2f32cb58dabaae220a4f6e8c207c19e8b60df11b885bf9f1f88
BLAKE2b-256 checksum
How to use checksums
54ab41225cfe259885ee4e5c4b38ae8e8722c52e2697c69d26b155126cff4e59
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.88-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL entroly_core-1.0.88-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
7a7ac4b24d040ecb6b4a1a846c3b0868a75edb82dcc9d06d30472c9d6e5bca82
BLAKE2b-256 checksum
How to use checksums
8b5ab1e0da6c77e90ce3730311d26e773f70780b1816cbec7829e2accce5c341
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.88-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL entroly_core-1.0.88-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
d4587d7905f39e3ad79fc80857c9eda2eb952ba62bec8f3711989e9f7b54e9b3
BLAKE2b-256 checksum
How to use checksums
7c789a1c5f5e4fef3a0c760d81ecfca46d39d422cd72a2107a0ae881ae4e91a9
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.88-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL entroly_core-1.0.88-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
dda1dbd38430a21d47bf06adbc64b3815f74dd0b40f66f27b451a365ad48dec3
BLAKE2b-256 checksum
How to use checksums
171255576991d4932245f4fca00482883e574087608244362fc3c1c98557cf0e
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.88-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL entroly_core-1.0.88-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
1497f70499c5a8c58b9cab86cd845d73ba5f209e320de1ae702ba1cacd34bc69
BLAKE2b-256 checksum
How to use checksums
f2ce4583b778483fabe7536da618a0f716050c503dd423e8edd3f34b7b559ced
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.88

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