Skip to content

Extract and publish openapi-client-core #2

@dougborg

Description

@dougborg

openapi-client-core Extraction and Publishing Plan

  • Inventory duplicated logic in katana & stocktrim (retry, pagination, auth, error translation) and prepare migration notes.
  • Decide on httpx vs requests (recommend httpx for async/sync interface).
  • Define public API: BaseOpenAPIClient, PaginationStrategy, RetryPolicy, RateLimiter interface.
  • Write README.md including MIT OSS licensing and code headers.
  • Add type hints, and at least minimal unit tests (smoke + fake API server OK).
  • Publish first package to TestPyPI and verify install in downstream repo.
  • Promote to PyPI under MIT once validation complete.

  • Document design decisions in README and code comments.
  • Document any risk areas (e.g., pagination edge cases, rate limiting strategies).
  • Tag initial release as v0.1.0.

After Issue #2 is complete, sync and update template projects to use published package.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions