Sign inSign up

dnaevolutions/jopt_py_example_server

By dnaevolutions

•Updated 6 months ago

Get started with our examples in python and Jupyter without installing an IDE in your Browser.

Image
Integration & delivery
API management
Machine learning & AI
0

1.5K

dnaevolutions/jopt_py_example_server repository overview

⁠JOpt.TourOptimizer — Python REST Client Sandbox

DNA Evolutions

A browser-based IDE (code-server⁠ / Visual Studio Code) with Python and the latest JOpt.TourOptimizer Python REST client examples pre-installed. Start exploring the TourOptimizer REST API from Python without any local setup.


⁠Quick start

docker run -it -d \
  --name jopt-py-examples \
  -p 127.0.0.1:8043:8080 \
  -v "$PWD/:/home/coder/project" \
  dnaevolutions/jopt_py_example_server:latest

Open http://localhost:8043⁠ and log in with password: jopt

On the first launch the latest examples are cloned automatically into the mounted volume. On subsequent launches existing files are preserved.

System requirements: 2 GB RAM and 2 CPU cores minimum.


⁠What's inside

The container clones and runs examples from:

github.com/DNA-Evolutions/Python-REST-Client-Examples⁠

The examples demonstrate how to interact with the JOpt.TourOptimizer REST API from Python — submitting optimization jobs, reading results, streaming progress, and working with the full feature set via the generated OpenAPI client.

A running TourOptimizer instance is required to execute the examples. The easiest way to start one locally is:

docker run -d --rm --name jopt-touroptimizer \
  -p 8081:8081 \
  -e SPRING_PROFILES_ACTIVE=cors \
  dnaevolutions/jopt_touroptimizer:latest

⁠Further reading


A product by DNA Evolutions GmbH⁠ ©

Tag summary

Content type

Image

Digest

sha256:be679a194…

Size

641.5 MB

Last updated

6 months ago

docker pull dnaevolutions/jopt_py_example_server