This release is a pre-release and may not be stable for production use.
Jentic API Tools - Pipelines
High-level workflows that orchestrate analyze, score, repair, and storage operations for OpenAPI specifications.
Key Features
The pipelines package provides three main workflow functions: import_openapi runs the full import pipeline (fetch, parse, validate, convert, bundle, repair, score, store), score_openapi runs a lighter scoring pipeline (fetch, parse, bundle, validate, score), and improve_openapi orchestrates the apply-overlays-and/or-replace-spec, score, and lay-out-per-run-snapshot flow used behind /public-apis/improve and the jentic-apitools improve CLI command. The first two accept an OASJsonRequest with processing configuration and an optional progress callback for real-time updates. By default, import_openapi rejects specs with invalid server URLs and invalid security definitions; these are controlled by reject_invalid_server_urls and reject_invalid_security in OASProcessConfiguration. The improve orchestrator depends on the repair.overlay backend to apply overlays and to verify the cumulative-overlays invariant, raising CumulativeInvariantError (with a structured diff) when applying cumulative + per_run overlays to the immutable bundled input does not reproduce the produced spec. 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. Note: repair is a hard dependency (used by both the import flow and the new improve orchestrator).
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
Metadata
Release files for jentic-apitools-pipelines 1.0.0a27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jentic_apitools_pipelines-1.0.0a27.tar.gz | 47.8 kB | Without provenance | Details for jentic_apitools_pipelines-1.0.0a27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jentic_apitools_pipelines-1.0.0a27-py3-none-any.whl | Python 3 | none | any | Details for jentic_apitools_pipelines-1.0.0a27-py3-none-any.whl |
Total release size: 103.9 kB
Release files / jentic_apitools_pipelines-1.0.0a27.tar.gz
| Download URL | jentic_apitools_pipelines-1.0.0a27.tar.gz |
|---|---|
| Size | 47.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66f56e2ac1b150e78bc61a25134a8bb36488fcab3f1a479890038ff01b9a1494
|
|
BLAKE2b-256 checksum How to use checksums |
9913565f80210ab9d0f3064fe035bec6221a51599b5c6a1e1683084afc8e3e7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / jentic_apitools_pipelines-1.0.0a27-py3-none-any.whl
| Download URL | jentic_apitools_pipelines-1.0.0a27-py3-none-any.whl |
|---|---|
| Size | 56.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71a4be093e61d2b7a62cbc37d0c4d66e17abed9e18329893bc7ce21741d81b7d
|
|
BLAKE2b-256 checksum How to use checksums |
7f7f15dfa17e726fd778efe5bb830f62ddb3f08432cf9712c2c2f9434919bb3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for jentic-apitools-pipelines 1.0.0a27
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.