Skip to main content

Utility package for using Terrarium.ai

Project description

Example usage

import random from terrariumai import connectRemoteModel, createAction

def randomAction(): return random.randint(0, 1) def randomDirection(): return random.randint(0, 3)

def modelFunc(obsv): action = createAction(obsv.id, randomAction(), randomDirection()) return action

` connectRemoteModel(

Find your secret key in your dashboard at http://terrarium.ai

secret='secret-key', modelFunc=modelFunc, ) `

Project details


Download files

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

Files for terrariumai, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size terrariumai-0.1.2-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page