Skip to main content

A package to simulate synthetic sports players/teams

Project description

synthSportPlayer Package

Last updated - 3/3/2021

This is a package designed to simulate sports players/teams that compete against each other in a head-to-head elemination tournaments. This was created in support of another project for more information/documentation please see the github repo.

Official fully written documentation shall be coming.

There are 3 primary classes contained within this package:

  1. player These are the teams/players that do the competeing. They are simply defined by a 'skill' level and a variance and whenever they have to 'compete' that is created from a normal distribution defined by these two properties.
  2. tournament This is an event that a collection of players enter and compete pair-wise with the winners moving forward to the next round, and is complete when there is one player remaining.
  3. season This is a collection of tournaments that are played in order. at the end of the rounament the players recieve point based on how far they got in tha tournament.

There are two extra child classes that were written to extra both tournament and season to be able to have 'real-time' functionality for dashboarding purposes. They are:

  1. liveTourn
  2. liveSeason The main difference is their respective playTourn and playSeason function. In the parent classes the functions would run to completition of the tournament/season. In these child classes they move forward one step in the current tournament.

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

synthSportPlayer-DJS-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

synthSportPlayer_DJS-1.0.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file synthSportPlayer-DJS-1.0.0.tar.gz.

File metadata

  • Download URL: synthSportPlayer-DJS-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.8

File hashes

Hashes for synthSportPlayer-DJS-1.0.0.tar.gz
Algorithm Hash digest
SHA256 65633b8b90f81a6ce9b1bff2a2e162303141a99762b5f3119d60920d01b75a0c
MD5 1401966c75a4633202852aa54b34fea5
BLAKE2b-256 44b4eed73e742887e1f237cc7a676ef302ddb0b0e94cd9cfc99afc36ce221e97

See more details on using hashes here.

File details

Details for the file synthSportPlayer_DJS-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: synthSportPlayer_DJS-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.8

File hashes

Hashes for synthSportPlayer_DJS-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf7e08b1dd737b37a8fc3cc451c661e93a174b64763eb8b459e38bee4d1692fc
MD5 58851d56d2c2ef738751e4df610c0c2e
BLAKE2b-256 b44e36364f35e3a57a41442ca4d652ef0328e89de819b90f73d9ee866d29f2b5

See more details on using hashes here.

Supported by

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