Skip to content

j4mie/stathat-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stathat-async

A simple multithreaded async wrapper around Kenneth Reitz's stathat.py

Usage

>>> from stathatasync import StatHat
>>> stats = StatHat('[email protected]')
>>> stats.count('wtfs/minute', 10)
>>> stats.value('connections.active', 85092)

The calls to count and value won't block your program while the HTTP request to the StatHat API is made. Instead, the requests will be made in a separate thread.

Enjoy!

Installation

Installation is simple::

$ pip install stathat-async

About

A simple multithreaded async API wrapper for StatHat.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages