Skip to main content

Jentic Apitools Score - Calculate AI-readiness scores for OpenAPI specifications using the 6-dimension framework

Project description

Jentic API Tools - Score

AI-readiness scoring framework for OpenAPI specifications using 6 dimensions organized into 3 groups: FDX (Foundational and DX), AIRU (AI-Readiness and Usability), and TSD (Trust, Security and Discoverability).

Key Features

The scoring framework evaluates specs across six dimensions (FC, DXJ, ARAX, AU, SEC, AID), each fed by multiple signals that measure specific quality aspects like spec validity, example density, description coverage, error standardization, auth strength, and more. Signal values are normalized and aggregated into dimension scores (0-100), group scores, and a final weighted score using a harmonic mean. The final score maps to a letter grade (A+ through F) and a maturity level (non-ready, foundational, ai-aware, ai-ready, agent-optimized).

Dependencies

Internal: jentic.apitools.common, jentic.apitools.analyze.

Installation

pip install jentic-apitools-score

Quick Start

from pathlib import Path
from jentic.apitools.score.score import calculate_score

score = calculate_score(
    spec_path=Path("spec.json"),
    spec_content={"openapi": "3.1.0", ...},
    diagnostics=diagnostics,
    vendor="example",
    api_name="my-api",
    version="1.0",
    oas_version="3.1.0",
    oas_request_meta=meta,
    source_url="https://example.com/api.json",
    artifacts_root=Path("/tmp"),
)

Testing

pytest tests -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jentic_apitools_score-1.0.0a24.tar.gz (55.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jentic_apitools_score-1.0.0a24-py3-none-any.whl (95.0 kB view details)

Uploaded Python 3

File details

Details for the file jentic_apitools_score-1.0.0a24.tar.gz.

File metadata

  • Download URL: jentic_apitools_score-1.0.0a24.tar.gz
  • Upload date:
  • Size: 55.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jentic_apitools_score-1.0.0a24.tar.gz
Algorithm Hash digest
SHA256 0c0b1ed3a62184d4f2c7a42454cd1201c003c0a46ae4510b35be4235dcd1024e
MD5 a4e30fbbd0741e2a94b3b21f55a028dc
BLAKE2b-256 5dde181c87e5daa1aed0d65a7b9aff7c769b5890c0cfaa911b797596e2475370

See more details on using hashes here.

File details

Details for the file jentic_apitools_score-1.0.0a24-py3-none-any.whl.

File metadata

File hashes

Hashes for jentic_apitools_score-1.0.0a24-py3-none-any.whl
Algorithm Hash digest
SHA256 92a7bf29a73c5104fb5b8c1a443aaf4673c4bffa00a9eec7697926b3029b12e7
MD5 b785f684d0bfc85f2352b43d6fee3cd2
BLAKE2b-256 e92593694bf5cc8b8589555bcece098ca3033adf5350f99ce64805bc4f9b5fde

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page