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.0a1.tar.gz (55.8 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.0a1-py3-none-any.whl (95.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jentic_apitools_score-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 6b8129206022cc6b986edf0f4f16170d44d6c094f91fd40520f396419d6a6d98
MD5 7e3250470fa33b23cabf47628b72d865
BLAKE2b-256 1ba1474889c7aca0eb8151a33a1e55fe8ce1bae4a881b7f7ccca38ec5a95171f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jentic_apitools_score-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 83fd4a9701071d3fb92db265c68878ca2bd44379a8d0c365b6545d7d0c206a5a
MD5 676c03617972bbe51662097ebe9844cb
BLAKE2b-256 7faf4064b426dad61696eff345738068f35f8f452901ee05ee22970321d56bdf

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