Skip to main content


Project description

Probabilities as a Service Code Coverage Robby Documentation

Available as a docker container with docker pull sdehaan/robby. The docker container allow the for the following environment variables:

  • REDIS_HOST, defaults to
  • REDIS_PORT, defaults to 6379
  • REDIS_DB, defaults to 1
  • ROBBY_PORT, defaults to 8080
  • ROBBY_PREFIX, the prefix for Redis keys, defaults to robby
  • ROBBY_STEMMING_LANGUAGE, defaults to english
  • ROBBY_TOKENIZER, the python callable to use for tokenizing. Defaults to robby.utils.english_tokenizer, robby.utils.dumb_tokenizer is also available.

Or pip install robby and run directly:

robby \
    --redis-uri redis:// \
    --interface \
    --port 8080 \
    --prefix robby \
    --stemming \
    --stemming-language=english \
    --tokenizer=robby.utils.english_tokenizer \


To train it:

$ curl -d 'training sample' http://localhost:8080/train/bucket-name/category

To untrain it:

$ curl -d 'training sample' http://localhost:8080/untrain/bucket-name/category

To train it in batches:

$ curl -d '[{"category": "category", "content": "training sample"}]' http://localhost:8080/batch/train/bucket-name

To classify:

$ curl -d 'sample message' http://localhost:8080/classify/bucket-name
    "category": "category"

To get scoring:

$ curl -d 'sample message' http://localhost:8080/score/bucket-name
    "category": 0.01

To get clear the db:

$ curl -X DELETE http://localhost:8080/flush/bucket-name

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 robby, version 0.5.5
Filename, size File type Python version Upload date Hashes
Filename, size robby-0.5.5-py2-none-any.whl (9.8 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size robby-0.5.5.tar.gz (16.4 kB) File type Source Python version None 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