elote

A python package for rating systems (like Elo)

Python MIT
27 Stars
3 Forks
9 Issues

Languages

Python 99.3%

Recent Activity

Last 12 weeks

Top Contributors

Recent Releases

Project Info

Created
November 26, 2017
Last Updated
June 21, 2025
License
MIT
Default Branch
master

About This Project

Elote is a Python library implementing various rating and ranking algorithms. Named after the Mexican street corn, it provides implementations of Elo, Glicko, ECF, DWZ, and other competitive rating systems.

Features

  • Multiple Rating Systems: Elo, Glicko, Glicko-2, ECF, DWZ, and more
  • Simple API: Easy-to-use interface for all rating calculations
  • Head-to-Head: Direct comparison and match simulation
  • Ensemble Methods: Combine multiple rating systems

Installation

pip install elote

Quick Start

from elote import EloCompetitor

player1 = EloCompetitor()
player2 = EloCompetitor()

# Simulate a match where player1 wins
player1.beat(player2)

print(f"Player 1 rating: {player1.rating}")
print(f"Player 2 rating: {player2.rating}")

# Get expected win probability
prob = player1.expected_score(player2)

Related Posts