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.2.1.tar.gz (19.7 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.2.1-cp312-cp312-manylinux_2_31_x86_64.whl (364.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

File details

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

File metadata

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

File hashes

Hashes for belo-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6b76a79736cbcc1966cbaa614574b2ddcc6a76d7c53044653ee12e17eb56ee62
MD5 330690294b1f0babbecdad830020a129
BLAKE2b-256 e16309a6a9f9eaf9bd9ad07d138d09fbce9fa0b4ae4ec7a5c884aec3820c87b2

See more details on using hashes here.

File details

Details for the file belo-0.2.1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for belo-0.2.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e5370501c7ac1b7caa80fad37370cf0e45feff4b760db7f397eb59814b47d82f
MD5 b000b590bd49a7ccbe74c30bebdd2e74
BLAKE2b-256 57c87924c37fd7ba08a0b780c74e41a6fc3c44e8f3928a116dc9c2cf7cebed21

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