Metadata-Version: 2.4
Name: jentic-apitools-public-apis-client
Version: 1.0.0a17
Summary: Shared GitHub client and improve orchestration for jentic-public-apis interactions
Author: Jentic
Author-email: Jentic <hello@jentic.com>
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Requires-Dist: jentic-apitools-common~=1.0.0a17
Requires-Dist: jentic-apitools-pipelines~=1.0.0a17
Requires-Dist: httpx>=0.27,<1.0
Requires-Python: >=3.11
Project-URL: Homepage, https://github.com/jentic/jentic-apitools
Description-Content-Type: text/markdown

# jentic-apitools-public-apis-client

Shared GitHub client and improve-flow orchestration for interactions with the
[`jentic-public-apis`](https://github.com/jentic/jentic-public-apis) repository.

This package is consumed by both `jentic-apitools-cli` and `jentic-apitools-api`
so that:

- The CLI can drive imports, rescores, and improvements against
  `jentic-public-apis` without going through the API layer.
- The API can serve the same operations over HTTP without duplicating GitHub
  client logic.

It contains:

- `github_service` — REST client for the GitHub Contents and Git Data APIs,
  re-exporting the PR primitives from `jentic-apitools-pipelines.github_pr`.
- `improve` — synchronous orchestrator (`submit_improve`) that runs
  `improve_openapi` against repo state and creates the resulting PR.
- `helpers` — pure helpers (`validate_path_component`, `get_github_token`)
  shared between callers.
