Skip to main content

A fast bayesian elo rating system, written in Rust.

Project description

belo

Belo is a command-line tool for managing player ratings using the Elo rating system. It is designed to be simple and easy to use, with a focus on the core functionality of managing player ratings. It allows you to containerize projects, add players, record match outcomes, and view player statistics in a neatly formatted table.

Features

  • Project Management: Initialize, activate, list, and deactivate multiple projects.
  • Player Management: Add, remove, and list players within a project.
  • Match Recording: Record match outcomes between players.

Quick Start

Note Belo is only tested on linux. Windows support is not guaranteed.

pip install belo

You can now use the belo command to manage player ratings. Here are some example commands to get you started:

# Initialize a new project
belo init my_project

# Add players to the project
belo add player1
belo add player2
belo add player3

You can now record match outcomes between players and view player statistics. Here are some example commands:

# Record a match outcome
belo vs player1 gt player2
belo vs player2 eq player3
belo vs player3 lt player1

# View player statistics
belo head {optional n}
belo info player1

# Deactivate the project
belo deactivate

# Delete the project
belo delete my_project

Testing

Make sure to use only one thread when running

  • This is because of a race condition in the current implementation of belo
  • Hopefully this will be fixed in the future..!
cargo test -- --test-threads=1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

belo-0.1.5.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

belo-0.1.5-py3-none-manylinux_2_31_x86_64.whl (648.9 kB view details)

Uploaded Python 3manylinux: glibc 2.31+ x86-64

File details

Details for the file belo-0.1.5.tar.gz.

File metadata

  • Download URL: belo-0.1.5.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.1

File hashes

Hashes for belo-0.1.5.tar.gz
Algorithm Hash digest
SHA256 659acdbcbb02c11b34a6f0f7a68989ff97d9d45721dec6de3ad3e5b52c264eb3
MD5 8156efd682de52cd4c800cac7f932c1d
BLAKE2b-256 632daa4a0a0fe14999e4ff7d53e614d16530b07e276f5231da261297324bcf07

See more details on using hashes here.

File details

Details for the file belo-0.1.5-py3-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for belo-0.1.5-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 dd3656877570aa4745b35d43405055fd8354eb381c2efca10d3a6df225c2128e
MD5 680da9504103089d2f0d7f0f06bbdb63
BLAKE2b-256 7c482c0f4c7e76cc8c8b4cbfd9d45cced13f89ecf4882e22529d2c1ce657dedf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page