Elo ratings from Challonge tournament results.
Project description
This script implements the Elo rating system for Challonge tournament results. The ratings are output to a CSV file, and they are also saved in a JSON file so that you can go back and update them later with future tournament results.
Note that this script relies on players having the same name for each tournament. If you are a tournament organizer, make sure your naming scheme is consistent!
Installation
$ pip install challonge2elo
Configuration
Log in to your Challonge account and get your API key. Then export your username and API key as environment variables:
$ export CHALLONGE_USERNAME="<Your Challonge username>"
$ export CHALLONGE_API_KEY="<Your Challonge API key>"
Usage
Create your ratings by passing tournament IDs:
$ challonge2elo ggsmash-116_smash4 ggsmash-416_smash4
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file challonge2elo-0.1.0.tar.gz
.
File metadata
- Download URL: challonge2elo-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a248410103f83df48fa70199b3dd699d6a52192d1155b6b92e319f2398ec70b |
|
MD5 | 383c934378c9b65116dc2ab1b2d819bb |
|
BLAKE2b-256 | 10a507b75389e4f5f0a29e4d81a79c07f063e12f8d8d62781d64a91aac66badd |