Yanked
This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.9.7 instead.
Reason given by maintainers: SDK 已迁移为 0.9.2 核心包加独立算法插件架构;旧版本停止推荐安装。
Ascent Science Python SDK
The SDK is the supported Python client for an Ascent Science server. It does not install solver runtimes locally.
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.
Metadata
Release files for ascent-science 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ascent_science-0.1.0.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ascent_science-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / ascent_science-0.1.0.tar.gz
| Download URL | ascent_science-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f5f182460ca11a6f6e6339c5a3d7315b94740db7fa9f4aee0116eabb43a17e0
|
|
BLAKE2b-256 checksum How to use checksums |
bb719d460d2f03dcf41fedb46b70938386ff4fd70a85e40e2b685913c7efdf18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / ascent_science-0.1.0-py3-none-any.whl
| Download URL | ascent_science-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebcb2a071dbe65580fd32b8492347d7969b52a4a3aab32ab69d310ab48079fa5
|
|
BLAKE2b-256 checksum How to use checksums |
bd2db8fd20a90fd149be6bd704b6a53279221356f481cc39e0af45b586f62b56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|