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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file belo-0.2.2.tar.gz.
File metadata
- Download URL: belo-0.2.2.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4e49c39a46d437c946107e0e54ebdc5d35e3f5271679405c845f38aefcb42e5
|
|
| MD5 |
25858471e0caaa55077523aeebc1370e
|
|
| BLAKE2b-256 |
febd518e73f2a35803a093910d1dad553f123270a8be695fbcff86ed10ed82e9
|
File details
Details for the file belo-0.2.2-cp313-cp313-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: belo-0.2.2-cp313-cp313-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 366.2 kB
- Tags: CPython 3.13, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c716b31a065082a178c74dd12b00eeb8b299d1478b3e7572bf25fdc7faad517
|
|
| MD5 |
e1c84aa0d2e2feed552a611b46fc84b3
|
|
| BLAKE2b-256 |
40efa8a418851d924bb9c64dca04b72e74a308f90b37d21ad2417afba366aa1c
|
File details
Details for the file belo-0.2.2-cp312-cp312-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: belo-0.2.2-cp312-cp312-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 365.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
028f5ce682b1e72b22653076212baec5fbcd3cc06cd558172a808021cd620052
|
|
| MD5 |
ac42172152151f72dea407d3c411e2e0
|
|
| BLAKE2b-256 |
7bd803e7cb12357eeaf3036df7182128922d3fe9adf42192e176adaad1e1bf2d
|
File details
Details for the file belo-0.2.2-cp38-cp38-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: belo-0.2.2-cp38-cp38-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 368.0 kB
- Tags: CPython 3.8, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b02166053e03a5fded17ae986a2d002a3e61aa57074c5ec343479f8862008b9
|
|
| MD5 |
96f55ec1f72b1c7c86e09740a03f4176
|
|
| BLAKE2b-256 |
ded2d5ab37ff6138421a5b7ce2f6a0c7289f770d9da2b24b91221c2dffd66f91
|