Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!


Project Description

Probabilities as a Service

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/category

To untrain it:

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

To train it in batches:

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

To classify:

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

To get scoring:

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

To get clear the db:

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

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(10.2 kB) Copy SHA256 Hash SHA256
py2 Wheel Aug 2, 2017
(16.4 kB) Copy SHA256 Hash SHA256
Source Aug 2, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting