Skip to main content

OptHub Scorer

Project description

OptHub Scorer

OptHub Scorer is a worker program that scores a solution submitted to OptHub.


  • Python >=3.6
  • Docker >=1.12

See also requirements.txt for dependent python packages.


$ pip install opthub-scorer


How to start a scorer runner

Login the docker registry where the problem image is stored.

$ docker login <registry>

Start a scorer.

$ opthub-scorer


Parameter Type Default Description
url path URL to OptHub
apikey str ApiKey
interval int 2 Polling interval
verify/no-verify bool True Verify SSL certificate
retries int 3 Retries to establish HTTPS connection
timeout int 600 Timeout to process a query
rm Remove containers after exit
quiet Be quieter
verbose Be more verbose
config path opthub-scorer.yml Configuration file

How to make a scorer

  1. Write an indicator program in your favorite language.
  2. Dockerize it.
  3. Push the docker image to DockerHub or somewhere else accessible from OptHub. For this purpose, OptHub hosts its own docker private registry.
  4. Register the image tag to OptHub.

See also example.


Naoki Hamada (



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opthub-scorer-0.4.0.tar.gz (7.6 kB view hashes)

Uploaded source

Built Distribution

opthub_scorer-0.4.0-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page