Skip to main content

TrueSkill

An implementation of the TrueSkill algorithm for Python. TrueSkill is a rating system among game players and it is used on Xbox Live to rank and match players.

from trueskill import Rating, quality_1vs1, rate_1vs1
alice, bob = Rating(25), Rating(30)  # assign Alice and Bob's ratings
if quality_1vs1(alice, bob) < 0.50:
    print('This match seems to be not so fair')
alice, bob = rate_1vs1(alice, bob)  # update the ratings after the match

See Also

Metadata

Release files for trueskill 0.4.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trueskill 0.4.5
File Size Uploaded Provenance Actions
trueskill-0.4.5.tar.gz 21.3 kB Without provenance Details for trueskill-0.4.5.tar.gz

Release files / trueskill-0.4.5.tar.gz

Download URL trueskill-0.4.5.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9d62b48d2428369d712bd9becff9f9a2caa325e1a2ab5f9392d34bff757867bb
BLAKE2b-256 checksum
How to use checksums
d0b1572f309178eacdccd9f9f5f3e3e14fb3543a89c6259d62b36660350af2b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.1 requests/2.6.2 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.11+

Security for trueskill 0.4.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page