For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install

Install the Stratix Python SDK from the LayerLens package registry.

Requirements

  • Python 3.8 or higher

  • pip

Install

pip install layerlens --extra-index-url https://sdk.layerlens.ai/package

Verify

import layerlens
print(layerlens.__version__)

You should see 1.3.0 (or later).

Set your API key

Get an API key from stratix.layerlens.ai/settings/api-keys. Then export:

export LAYERLENS_STRATIX_API_KEY="your-api-key"

Or pass it explicitly when creating the client:

from layerlens import Stratix
client = Stratix(api_key="your-api-key")

Upgrade

Dependencies installed

  • httpx — HTTP client

  • pydantic — data validation

  • requests — file upload (presigned S3 URLs)

Where to next

Last updated

Was this helpful?