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.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distributions

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

belo-0.2.0-cp312-cp312-win_amd64.whl (206.7 kB view details)

Uploaded CPython 3.12Windows x86-64

belo-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl (357.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

File details

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

File metadata

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

File hashes

Hashes for belo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 62c1c2088718ac874a0ce548af0015481f18902f6d604709606598903a13af84
MD5 3bc4986e5cf2f28f93378f1e5e19ca52
BLAKE2b-256 1b4df472c284477ca8bfe9bb931d7f302ff465ee7ebf6589fe3f4e039992bd13

See more details on using hashes here.

File details

Details for the file belo-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: belo-0.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 206.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for belo-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b39f402a1dc3c2b268e72b20e4f57847cabf2115c00d88f0638fc9f8ef9cd28d
MD5 4a3fd39a45730a99cec3df5498a511ea
BLAKE2b-256 d3202f2aa4ef6a21bd2163d14b5e84a8e87220132a77a0b16bdef0af8479f61f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for belo-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 312fc61838968e24a762959f9c65c4f068d22db8cb7a67de1de14359701d4ea9
MD5 9d0d6d76d2090568324d00285c581702
BLAKE2b-256 f9df3abfce706f091549be6c00b40d41f206f58f0217ba397111513c7bd05e13

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