> For the complete documentation index, see [llms.txt](https://docs.everesteer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.everesteer.ai/for-developers/python-sdk.md).

# Python SDK

The Python client (`everestapi`) wraps every HTTP endpoint with typed dataclasses, automatic retry on idempotent reads, and parquet-aware dataset downloads. Python 3.10 or newer.

```bash
pip install everestapi
```

{% tabs %}
{% tab title="Tournament" %}

```python
import os
import everestapi as eq

client = eq.EverestAPI(api_key=os.environ["EIQ_API_KEY"])
client.submit_futures_predictions(model_id="my-model", predictions=preds_dict)
```

{% endtab %}

{% tab title="Hackathon / diagnostics" %}

```python
import os
import pandas as pd
import everestapi as eq

client = eq.EverestAPI(api_key=os.environ["EIQ_API_KEY"])
client.create_model(name="my-model")  # once, before any submit
live = pd.read_parquet(client.download_dataset(split="live"))
feature_cols = [c for c in live.columns if c.startswith("feature")]
preds_df = pd.DataFrame({"id": live["id"], "prediction": my_model.predict(live[feature_cols])})
client.submit_validation_diagnostics(model_id="my-model", predictions=preds_df)
```

{% endtab %}
{% endtabs %}

## Extras

| Extra     | What it adds                                                                     |
| --------- | -------------------------------------------------------------------------------- |
| `compute` | A Modal adapter for remote training.                                             |
| `scoring` | numpy, pandas and scipy for offline self-scoring.                                |
| `mcp`     | The MCP server, runnable as a module.                                            |
| `dev`     | pytest and fixtures for local testing against a lightweight local database stub. |

```bash
pip install "everestapi[compute]"
```

Runnable examples, a zero-to-submission notebook and a LightGBM starter, live at [github.com/everestquant/example-scripts](https://github.com/everestquant/example-scripts). Open an issue if a method on the HTTP API is not reflected in the client.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.everesteer.ai/for-developers/python-sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
