Skip to content

feat(sdk): add Python SDK #12

@majcheradam

Description

@majcheradam

Summary

Create a Python SDK for the OCRBase API to complement the existing TypeScript SDK.

Motivation

  • Python is widely used in data science, ML, and automation workflows where document processing is common
  • Many potential users may prefer Python over TypeScript for their integrations
  • Expands the reach of the API to a broader developer audience

Proposed Features

  • Type-safe API client with Pydantic models
  • Async support (httpx/aiohttp)
  • Sync support for simpler use cases
  • WebSocket support for real-time processing updates
  • File upload handling
  • Comprehensive error handling with custom exceptions
  • Published to PyPI

Additional Context

The SDK should mirror the functionality of the existing TypeScript SDK in packages/sdk/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions