Skip to main content

Python Library

The official Python library wraps the Ollang integration API — projects, uploads, orders, revisions, and custom instructions — in a simple, Pythonic client. Source code lives in the python/ directory of the SDK repository.

Installation

Requires Python 3.8+. The only dependency is requests.

Authentication

  1. Sign up or log in at Olabs
  2. Create or select a project
  3. Generate an API key from project settings

Quick Start

Resources

All methods return the parsed JSON response as plain dicts and lists. Non-2xx responses raise ollang.OllangAPIError, which carries status_code and the parsed error body.

More Examples

For endpoints the library doesn’t wrap yet, the underlying HTTP client is available: client.client.get("/integration/supported-languages"). See the full API reference for all endpoints.