This repository contains the Thor Python Client, which is a client-side interface for Thor Server. The Thor Server and Thor Python Client together provide a light-weight and powerful architecture for Bayesian optimization in Python.
- Install dependent libraries with pip.
pip install -r requirements.txt
- Clone this repository.
git clone git@github.com:JamesBrofos/Thor-Python-Client.git
- Run the
setup.py
function to install the client-side software:python setup.py install
- Make sure you have signed up for an account with Thor.
- If you are using Thor for multiple projects, you could place the
config.ini.example
configuration file in your home directory as~/.thorconfig.ini
. The client will look first in the current directory, and then in your home directory. - Edit your new config file to include your
AUTH_TOKEN
, available from your Thor server account, and thebase_url
of your Thor server. Note: leave the/api/{}/
portion of thebase_url
configuration parameter unchanged; just update the protocol, hostname, and port, if necessary.