Skip to content

orouvinen/challonge-ranking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

challongeranking

challongeranking is a Python-module for ranking players in tournaments hosted in Challonge. The rating algorithm is a basic Elo rating with a constant K value of 32.

Players are identified by an email hash provided by the Challonge API. This means that in order for a match to be ranked, both players must have been registered to the processed tournament(s) with their Challonge-accounts.

Installing

pip install iso8601
pip install -e git+http://github.com/russ-/pychallonge#egg=pychallonge
pip install challongeranking

Usage

To import, use from challongeranking import challongeranking. Please see the examples directory for example code.

Using the stored data

challongeranking stores ratings in a SQL database (or any other store that provides the Python DB-API interface (described in PEP 249). See README-database for details.

About

Elo rating for tournaments hosted on challonge.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages