The official Python SDK and CLI for SoMark.
This repository is the Python implementation of the shared SoMark SDK + CLI contract. The JavaScript/TypeScript implementation lives in somark-js. Same product, different runtime.
pip install somarkRead the official documentation at docs.somark.tech/documentation.
The docs cover authentication, CLI usage, SDK examples, async tasks, local preview, PDF utilities, API parameters, and error handling. This README stays intentionally short so it does not become a second, worse documentation site.
- Python 3.10+
- A SoMark API key for remote parsing and usage queries
- No API key required for local PDF utilities or SoMarkDown preview
- Docker/Ubuntu PDF rendering may require system libraries:
apt-get install -y --no-install-recommends libxcb1 libgl1 libglib2.0-0
Apache-2.0