assert-core
Shared LLM provider layer for assert-review and assert-eval.
Not intended for direct installation by end users — install assert-review or assert-eval instead.
What's in here
LLMConfig— provider configuration dataclass (supports OpenAI, Azure OpenAI, AWS Bedrock)BaseLLM,BedrockLLM,OpenAILLM— provider implementationsBaseCalculator— base class for all metric calculators
Install (internal use)
pip install assert-core
Usage
from assert_core import LLMConfig, OpenAILLM
config = LLMConfig(provider="openai", model_id="gpt-4o", api_key="sk-...")
llm = OpenAILLM(config)
Metadata
Release files for assert-core 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| assert_core-0.2.0.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| assert_core-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.8 kB
Release files / assert_core-0.2.0.tar.gz
| Download URL | assert_core-0.2.0.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58a4481a3e4552f9d5a1466c53a03f9f039f9371e318b2126b8caa7054558b8a
|
|
BLAKE2b-256 checksum How to use checksums |
447bea348abf2572201eafe62d51259c558dcf817141de98c828127c0e3faff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logRelease files / assert_core-0.2.0-py3-none-any.whl
| Download URL | assert_core-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cf01f6ba41a02891d49110d87d523bc8f24555e4f92d71112eef4562f088d4b
|
|
BLAKE2b-256 checksum How to use checksums |
88f9baafa65cea6748c8e4b9636b2f21050177c7373aaa4d059e66ba6af3d80a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency log