Skip to main content

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.

Source Distribution

forgettable-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

forgettable-0.1.0-py2-none-any.whl (5.4 kB view details)

Uploaded Python 2

File details

Details for the file forgettable-0.1.0.tar.gz.

File metadata

  • Download URL: forgettable-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for forgettable-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c477abff73c023c43f3c332220420826ddc603446f6599dbff584a3a4cf3a26
MD5 b8443c63b911982f5ac7f08bf635f5f5
BLAKE2b-256 080c9074a92187e5a868041fa7d47cbfeb509a51707ff9916d0786632722ff51

See more details on using hashes here.

File details

Details for the file forgettable-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for forgettable-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 aeacfefe42cc1585da7b5660be764297b174741f08f75b48824200f36095467e
MD5 0dbda8a448ceb346cb9d98566a9d0be4
BLAKE2b-256 e3e257aca8a9c7cfe2aee36f56c5649c11bb682e295442bc0d85fe4148177b81

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page