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

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

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

Total release size: 24.7 MB

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

Download URL entroly_core-1.0.92-cp310-abi3-win_amd64.whl
Size 3.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9f8b0e29a9c47b132a3a82b36e7d872f7071d8e937194349d0805dce3ab6a458
BLAKE2b-256 checksum
How to use checksums
3e97b24d41cc496a77a02f76f0c05c365726fb9d4e73d9b2fe7b4fc1fd8b8934
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.92-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL entroly_core-1.0.92-cp310-abi3-musllinux_1_2_x86_64.whl
Size 4.0 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
b6cf63a7aff91810dc21ec2590adcd975d69b21c613fa37bac9d53a960117e91
BLAKE2b-256 checksum
How to use checksums
3e9f5b5dd8b6e966128f290cd0f0fe6667ec607d5329837fcd0ecf2330671ba7
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.92-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL entroly_core-1.0.92-cp310-abi3-musllinux_1_2_aarch64.whl
Size 3.7 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
6b80c263c4c9e3143e14084607793a2f108e071546467be5b6bf3b21b6a754d3
BLAKE2b-256 checksum
How to use checksums
e0b711c59d707529c4f83234f02bf1678935a1513079a85d2d53ef8a2f0acdf3
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.92-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL entroly_core-1.0.92-cp310-abi3-manylinux_2_28_aarch64.whl
Size 3.6 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
37384c9f17d7db35280f8918122193a39fe133a334e8e5d6652a2c96ec583499
BLAKE2b-256 checksum
How to use checksums
946e33acb712d7ca1e37e1288b21190c9530cc7c9642c5b974457489c586193a
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.92-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL entroly_core-1.0.92-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
4eb3defa68826faaf166e6ae840355122a81377be496444399959da17a5cc369
BLAKE2b-256 checksum
How to use checksums
2d494de0b1a89b177f77065400c04e2f9367bcda4ee1fa83a5d5477b1fa56628
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.92-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl

Download URL entroly_core-1.0.92-cp310-abi3-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl
Size 6.6 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
782946d14e3c05ac7409e671c403ae8a318ff9a054c7cd2b62bc43e541e63059
BLAKE2b-256 checksum
How to use checksums
8a1003cc26f31695b5ec0ee04aeb122d11497b798c5fef3e78b809cc2d0d246b
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.92

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