Skip to main content

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 unique id shared between sample pairs
  • BaseSampleResult — Output of evaluating a single sample pair
  • BaseAggregateResult — Output of aggregating multiple sample results
  • BaseMetric — Abstract interface defining evaluate_sample, aggregate, and evaluate_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)

Source distribution for docling-metrics-core 0.14.0
File Size Uploaded
docling_metrics_core-0.14.0.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docling-metrics-core 0.14.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.14.0 This release

2 release files

0.1.0

2 release files

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