Skip to content

Core package for type and interface definitions of docling metric implementations

License

Notifications You must be signed in to change notification settings

docling-project/docling-metrics

docling-metrics

Monorepo for Docling metric packages — types, evaluators, and scoring utilities for document processing evaluation.

Packages

Package Description
docling-metrics-core Base metric types and abstract interfaces

Development

This repository uses uv workspaces. All packages are developed in a single virtual environment with compatible dependencies.

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install all packages (editable) + dev tools
uv sync

# Run tests for a specific package
uv run pytest packages/docling-metrics-core/tests

# Run all tests
uv run pytest packages/*/tests

# Run linting and formatting
pre-commit run --all-files

Changes to any workspace package are immediately available to all other packages in the same environment — no reinstall needed.

Adding a New Package

  1. Create packages/<package-name>/ with a pyproject.toml, source directory, and tests/
  2. If it depends on another workspace package, add it to [project] dependencies and declare [tool.uv.sources]:
    [project]
    dependencies = ["docling-metrics-core"]
    
    [tool.uv.sources]
    docling-metrics-core = { workspace = true }
  3. Run uv sync to regenerate the lock file

License

MIT

About

Core package for type and interface definitions of docling metric implementations

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages