Metadata-Version: 2.4
Name: ascent-science
Version: 0.1.0
Summary: Python SDK for the Ascent Science algorithm and evidence platform
Author: Ascent Science
License-Expression: LicenseRef-Proprietary
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# Ascent Science Python SDK

The SDK is the supported Python client for an Ascent Science server. It does
not install solver runtimes locally.

```python
from ascent import Client

client = Client(endpoint="http://127.0.0.1:8000/v1", api_key="asc_live_...")
job = client.algorithms.submit(
    "GraphColoring",
    inputs={"data_size": 32},
    parameters={"nodes": 12, "edge_density": 0.2},
    idempotency_key="graph-demo-1",
)
result = job.wait(timeout=60)
print(result.result)
```

`ASCENT_ENDPOINT` and `ASCENT_API_KEY` can be used instead of constructor
arguments. API keys are created in an authenticated browser session and shown
only once.

