Metadata-Version: 2.5
Name: arena-physica-atlas
Version: 0.1.3
Summary: Typed Python SDK for Atlas
Project-URL: Documentation, https://atlas-platform.mintlify.app/platform_2/sdk
Author: Arena Physica
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: httpx<0.29.0,>=0.23.0
Requires-Dist: pydantic<3.0.0,>=2.0.0
Description-Content-Type: text/markdown

# Atlas SDK for Python

Typed Python client for the Atlas API.

## Installation

```bash
pip install arena-physica-atlas
```

## Usage

Use a Bearer token **or** M2M client credentials. Do not set both. The
client secret is never sent as a Bearer token. M2M credentials are for
server-side apps only; do not put `client_secret` in a browser.

```python
from atlas_sdk import Sdk

# M2M (server-side only)
atlas = Sdk(
    base_url="https://your-atlas-domain",
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
)

# or a token you already have
atlas = Sdk(
    base_url="https://your-atlas-domain",
    token="YOUR_TOKEN",
)

jobs = atlas.get_jobs(limit=10).json()
```

`base_url` can be a host or a full URL. ``https://`` and ``/api/v1``
are added only when you omit them; any other path is kept.

If you omit `token` / `client_id` / `client_secret`, the SDK reads
`ATLAS_TOKEN` **or** `ATLAS_CLIENT_ID` and `ATLAS_CLIENT_SECRET`.

See the [Atlas SDK documentation](https://atlas-platform.mintlify.app/platform_2/sdk)
for authentication and API details.
