Registry / ai-ml / kodexa

kodexa

JSON →
library7.4.421830084132pypypi✓ verified 84d ago

Python SDK for the Kodexa Platform, enabling AI-powered document processing, content extraction, and workflow automation. Current version 7.4.421830084132, with rapid, automated releases. Requires Python >=3.11,<3.14.

pip install kodexa
INSTALL
IMPORT
SIG · KODEXA
K
kodexa
ai-mlpythonv7.4.421830084132
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

KodexaClient
from kodexa import KodexaClient
from kodexa.client import KodexaClient
KodexaClient is directly under the kodexa package, not a submodule.
Document
from kodexa import Document

Initialize client with API key from environment variable and fetch current user info.

from kodexa import KodexaClient import os client = KodexaClient(api_key=os.environ.get('KODEXA_API_KEY', '')) print(client.get_me())
kodexa --version
Debug
Known issues
breakingThe SDK versioning uses a four-part semver with timestamp-based patch; major/minor bumps may include breaking changes without notice. Always pin your dependency and test thoroughly before upgrading.
fix
Pin to exact version: kodexa==7.4.421830084132
affects: >=7.0
deprecatedThe `KodexaPlatform` class (imported from `kodexa.platform`) is deprecated in favor of `KodexaClient`. Update all code using the old client.
fix
Replace `from kodexa.platform import KodexaPlatform` with `from kodexa import KodexaClient` and adjust method calls accordingly.
affects: >=7.0
gotchaThe SDK internally uses `httpx` with a default timeout of 30 seconds. Long-running document processing may timeout. Adjust client timeout via `KodexaClient(timeout=120)` if needed.
fix
Pass `timeout` parameter during client instantiation: `KodexaClient(..., timeout=120)`
affects: >=7.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'kodexa.client'
Incorrect import path for KodexaClient; users often try `from kodexa.client import KodexaClient` based on older patterns.
fix
Use `from kodexa import KodexaClient`
kodexa.exceptions.KodexaApiError: 401 Unauthorized
Missing or invalid API key. The SDK expects a valid Kodexa API key set as `KODEXA_API_KEY` environment variable or passed as `api_key` parameter.
fix
Set environment variable `KODEXA_API_KEY` or pass `api_key='your-key'` to `KodexaClient()`
Upgrade
Version history
7.4.421830084132latest on PyPI · released Feb 9, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources