StatHat API Wrapper.
Python
Latest commit 3e19000 Feb 4, 2016 @kennethreitz v0.3.0
Failed to load latest commit information.
MANIFEST.in update Mar 25, 2012
README.rst update Mar 25, 2012
setup.py v0.3.0 Feb 4, 2016
stathat.py Accept timestamp argument to send to stathat. Aug 28, 2013

README.rst

stathat.py

A minimalistic API wrapper for StatHat.com, powered by Requests.

Usage:

>>> from stathat import StatHat
>>> stats = StatHat('me@kennethreitz.com')
>>> stats.count('wtfs/minute', 10)
True
>>> stats.count('connections.active', 85092)
True

Enjoy.

Installation

Installation is simple:

$ pip install stathat