Skip to main content

Jentic Apitools Pipelines - Orchestrate score, repair, and storage into workflow pipelines

Project description

Jentic API Tools - Pipelines

High-level workflows that orchestrate analyze, score, repair, and storage operations for OpenAPI specifications.

Key Features

The pipelines package provides two main workflow functions: import_openapi runs the full import pipeline (fetch, parse, validate, convert, bundle, repair, score, store) and score_openapi runs a lighter scoring pipeline (fetch, parse, bundle, validate, score). Both functions accept an OASJsonRequest with processing configuration and an optional progress callback for real-time updates. The package handles format conversion from Swagger 2.0 and Google Discovery to OpenAPI 3.x, reference bundling via Redocly, and artifact management through configurable storage contexts. The repo_tools module provides rebuild_scores_json and rebuild_apis_json for rebuilding the root scores.json and apis.json catalog files from all API specs in a local repository clone.

Dependencies

Internal: common, llm, analyze, score, repair, storage. External: jentic-openapi-transformer (with redocly), datadog.

Installation

pip install jentic-apitools-pipelines

Quick Start

from jentic.apitools.common.models import OASJsonRequest, OASRequestMeta, OASProcessConfiguration
from jentic.apitools.pipelines import score_openapi

request = OASJsonRequest(meta=OASRequestMeta(oas_process_configuration=OASProcessConfiguration()))
result = score_openapi(request, spec_url="https://petstore3.swagger.io/api/v3/openapi.json")
print(f"Success: {result.success}")

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_pipelines-1.0.0a2.tar.gz (27.4 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_pipelines-1.0.0a2-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file jentic_apitools_pipelines-1.0.0a2.tar.gz.

File metadata

File hashes

Hashes for jentic_apitools_pipelines-1.0.0a2.tar.gz
Algorithm Hash digest
SHA256 3be70f499b57d474f10b5cb5ddd277495855d8b692a3c1ed49b002f16f493512
MD5 8d85b5771b0b0a8502b3e6f1ad808b72
BLAKE2b-256 de68d868a0941ddf49459f22f12ab9f7f67ea2381aa499549c33dc9913db08b4

See more details on using hashes here.

File details

Details for the file jentic_apitools_pipelines-1.0.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for jentic_apitools_pipelines-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3cfa485e03c3be24bbf3c75b0dd79a5749c5f98395d28629978da52971f6ab4
MD5 0737bdd94864fa812fc15dc58a36d3d8
BLAKE2b-256 fda4e2f347b7ee504ae13ccb412bbe7b1088c87c7f2ef180333f3e8f3b0b5472

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