Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

UNKNOWN

Project description

# This is the Python implementation of Forget Table

Written by [Mike Dewar](http://twitter.com/mikedewar) and [Micha Gorelick](http://micha.gd/).

To install run pip install forgettable.

To start the service run forgettable –port=8080 which will start the wrapper. Note that you will need a Redis database running locally on port 6379. Forget Table will write into db 2 by default.

Upon recieving an event, to increment a bin in a distribution call

localhost:8080/incr?key=colours&bin=red

where colours is the name of the distribution and red is the name of the bin you want to increment. The distribution and bin will be created if they don’t already exist.

To query the whole distribution call

localhost:8080/dist?key=colours

This will return a JSON blob with the normalised distribution in it. To query a specific bin of a distribution call

localhost:8080/bin?key=colours&bin=blue

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 forgettable, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size forgettable-0.1.0-py2-none-any.whl (5.4 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size forgettable-0.1.0.tar.gz (3.2 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