Skip to content

Conversation

@DankerMu
Copy link

@DankerMu DankerMu commented Jan 27, 2026

Summary

Add a small Python SDK layer that matches the public docs, including an async client for FastAPI/async frameworks.

Changes

  • Add PageIndexClient + AsyncPageIndexClient in pageindex/client.py (chat, doc submit/status, tree/OCR, retrieval, markdown)
  • Export clients from pageindex/__init__.py, while keeping tree-generation imports optional when PDF/tree dependencies aren’t installed
  • Add basic unit tests using httpx.MockTransport

Addresses #40
Addresses #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant