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

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

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.90
File Actions
entroly_core-1.0.90-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for entroly_core-1.0.90-cp310-abi3-win_amd64.whl
entroly_core-1.0.90-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for entroly_core-1.0.90-cp310-abi3-musllinux_1_2_x86_64.whl
entroly_core-1.0.90-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for entroly_core-1.0.90-cp310-abi3-musllinux_1_2_aarch64.whl
entroly_core-1.0.90-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for entroly_core-1.0.90-cp310-abi3-manylinux_2_28_aarch64.whl
entroly_core-1.0.90-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.90-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
entroly_core-1.0.90-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.90-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.90-cp310-abi3-win_amd64.whl

Download URL entroly_core-1.0.90-cp310-abi3-win_amd64.whl
Size 3.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ed80226ae6a8e95e5f949ac5f63d7dbe4ab9b4d5c7b3f5b0eb15c3a66335e72e
BLAKE2b-256 checksum
How to use checksums
d92dac7409b041c98ae05ef2040ee4a57ebc967fe602a652cfb8497129d2a3e6
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.90-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL entroly_core-1.0.90-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
2e453d09a47198d24606bafd3c2f2383d75236c8f1ddb81085b1cfce0c0e3213
BLAKE2b-256 checksum
How to use checksums
b122c6de77179cfb15ad27eb27eaccde273c2c8e891b861616f2264db9362874
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.90-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL entroly_core-1.0.90-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
9def7a8da7ec8d7a48aa44144c2c3f70fd1b907ede50bf53dbe18f054ab5f9c7
BLAKE2b-256 checksum
How to use checksums
4f451bea852d7913c32a4cbee723a66f42b2ea2af3855210750090a5101da58d
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.90-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL entroly_core-1.0.90-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
8198a568d06a5c3c244cdc1c05b2636f0de577d6f255ff8b14c81fbc61b2b827
BLAKE2b-256 checksum
How to use checksums
8ece74617ca8ee36fe7f10386e7676ea94ea6b6986005d2e4de3f8cd45e048a1
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.90-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL entroly_core-1.0.90-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2dba8d809c607f4c9ea6e0e1daa80fd8782682b3cbb7ae9a6ea6ec76c7c7d8fe
BLAKE2b-256 checksum
How to use checksums
fc75ee673706c893766d6bf25b7587f1e71cfb7802e2abe51121c247cf7d7b2c
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.90-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL entroly_core-1.0.90-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
79db82b0ad178ae29d5d5d0c957e426663da299f91a27f7f2ea302811ea46c2e
BLAKE2b-256 checksum
How to use checksums
defd3b3d493c576774ca168a7b10abcaab6562344b4b2a8738eac7011412c332
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.90

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