Skip to main content

Ascent Science Python SDK

ascent-science is the lightweight core SDK. Algorithm implementations are installed independently and discovered through Python entry points.

python -m pip install ascent-science==0.9.2
python -m pip install ascent-science-aco==0.1.0
import ascent

solver = ascent.combinatorial.ACOOptimizer(ants=30, iterations=100, seed=42)
result = solver.solve_tsp([[0, 2, 3], [2, 0, 1], [3, 1, 0]])
print(result.best_route, result.best_distance)
Distribution Public Python API
ascent-science-aco ascent.combinatorial.ACOOptimizer
ascent-science-pso ascent.combinatorial.PSOOptimizer
ascent-science-exact-qubo ascent.qubo.ExactQUBOOptimizer

Trying to access a missing plugin raises an actionable error containing its exact pip install command. Installing or removing one algorithm does not change any other algorithm package.

Metadata

Release files for ascent-science 0.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ascent-science 0.9.2
File Size Uploaded
ascent_science-0.9.2.tar.gz 21.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ascent-science 0.9.2
File Interpreter ABI Platform
ascent_science-0.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 49.2 kB

Release files / ascent_science-0.9.2.tar.gz

Download URL ascent_science-0.9.2.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1f7083af5299ca4eb678ce711026fa4e3a4159fcbc8191c19a563c4708f6914b
BLAKE2b-256 checksum
How to use checksums
a3d569f0a8454fadf099b66ddf29be20611928f5850c448d8c0e975f4462ad97
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.9.2-py3-none-any.whl

Download URL ascent_science-0.9.2-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcba4db96db1d2978aebb0dcbe9d557b7573d32768ef680530304c633d48c6e3
BLAKE2b-256 checksum
How to use checksums
a797ac177680b19768e1cf802280481c3c6eedb45c05f35de6db942c68d2fb3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

0.9.7

1 release file

0.9.6

2 release files

0.9.5

2 release files

0.9.3

2 release files

This release

0.9.2 This release

2 release files

0.9.1

2 release files

0.9.0

1 release file

0.8.0

2 release files

0.7.0

2 release files

0.5.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page