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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jentic_apitools_score-1.0.0a13.tar.gz.
File metadata
- Download URL: jentic_apitools_score-1.0.0a13.tar.gz
- Upload date:
- Size: 55.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff527ecbbe46cf0b377e1db511c31bb280c3ac5a6e4a98937b1c6320e8b68b5
|
|
| MD5 |
e365f6cbd86d50ade822babeb4a6087c
|
|
| BLAKE2b-256 |
dea703f28c59d9f4448cf6dc9417a567c9cac270e64b9008faa080639221a194
|
File details
Details for the file jentic_apitools_score-1.0.0a13-py3-none-any.whl.
File metadata
- Download URL: jentic_apitools_score-1.0.0a13-py3-none-any.whl
- Upload date:
- Size: 95.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c903b600a2d426843db21c5ef450aa87da3879c943956fd94a436cf3056b7e2
|
|
| MD5 |
73ae48f728c5e6e68164c845e431c05b
|
|
| BLAKE2b-256 |
6ec6c6fbf0e789e099f5c01826682575bffdd919493d04bc84ab23efcb8a4c47
|