docling-metrics-core
A minimal interface for computing and aggregating metrics on paired data samples.
Overview
This package provides base types for building metrics that:
- Evaluate pairs of input samples (e.g., ground-truth vs. prediction)
- Produce per-sample results traceable by sample ID
- Aggregate results across multiple samples
Core Types
BaseInputSample— Input data with a uniqueidshared between sample pairsBaseSampleResult— Output of evaluating a single sample pairBaseAggregateResult— Output of aggregating multiple sample resultsBaseMetric— Abstract interface definingevaluate_sample,aggregate, andevaluate_dataset
Installation
pip install docling-metrics-core
Requirements
- Python >=3.10,<4.0
Usage
Coming soon
Development
# Install in development mode
uv sync
# Run tests
uv run pytest
License
MIT
Metadata
Release files for docling-metrics-core 0.14.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 | |
|---|---|---|---|
| docling_metrics_core-0.14.0.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docling_metrics_core-0.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / docling_metrics_core-0.14.0.tar.gz
| Download URL | docling_metrics_core-0.14.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b795b4784fddb7edee663d310f6349a8afaee6fa0c63d2286b9c2a5e06647ff5
|
|
BLAKE2b-256 checksum How to use checksums |
661f529066f5b98fae920877a5b029417d773b806f8cc8b1b52197199fb304e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 24, 2026.
Transparency logRelease files / docling_metrics_core-0.14.0-py3-none-any.whl
| Download URL | docling_metrics_core-0.14.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2152612a65efd98f6f8c933d913703adad229c48142b55396c5dcae095634c1
|
|
BLAKE2b-256 checksum How to use checksums |
17e6090a869797110b087402438619559f8fab6b913270eb1e0929aac7976f5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 24, 2026.
Transparency log