Metadata-Version: 2.4
Name: scalix-sdk
Version: 1.3.1
Summary: The official client for Scalix Cloud — one token for AI inference, database, functions, storage, KV, auth, and every platform service. Generated from the OpenAPI spec.
Project-URL: Homepage, https://scalix.world
Project-URL: Documentation, https://github.com/scalixworld/scalix-cloud/tree/main/sdk/python#readme
Project-URL: Repository, https://github.com/scalixworld/scalix-cloud
Project-URL: Issues, https://github.com/scalixworld/scalix-cloud/issues
Author-email: Scalix World <sdk@scalix.world>
License-Expression: MIT
License-File: LICENSE
Keywords: ai,chat,llm,rag,scalix,sdk,tts
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: attrs>=24.0.0
Requires-Dist: httpx>=0.28.1
Provides-Extra: dev
Requires-Dist: mypy>=1.13.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
Requires-Dist: pytest-cov>=7.1.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.15.18; extra == 'dev'
Description-Content-Type: text/markdown

# Scalix SDK — Python

The official Python client for **Scalix Cloud** — one API key for AI inference,
database, functions, storage, KV, auth, registry, and every platform service.

This client is **generated** from the OpenAPI spec (`sdk/openapi.json`, produced from
the gateway's `utoipa` annotations) via
[`openapi-python-client`](https://github.com/openapi-generators/openapi-python-client)
(attrs + httpx). **Do not hand-edit `scalix_sdk/generated/`.**

## Installation

```bash
pip install scalix-sdk
```

## Usage

Operations are grouped by tag under `scalix_sdk.generated.api.<tag>`; each has
`sync` / `sync_detailed` / `asyncio` callables:

```python
from scalix_sdk import AuthenticatedClient
from scalix_sdk.generated.api.account import get_me  # see generated/api/ for all tags

client = AuthenticatedClient(base_url="https://api.scalix.world", token="scalix_sk_...")
me = get_me.sync(client=client)
```

## Regenerating

After the API (OpenAPI spec) changes:

```bash
bash scripts/generate.sh
```

CI's `SDK/CLI codegen drift-guard` enforces that the committed client matches
`sdk/openapi.json`.

## License

MIT
