Skip to main content

Competition grids for volleyball tournaments

Project description

Volley-grids

Please note: Volley-grids is still an active work in progress, do not expect it to be complete.

Description

Volley-grids is a simple python library that allows you to create tournaments brackets for beach volleyball.

Installation

Install using pip install -U volley-grids.

Usage

from pprint import pprint
from volley_grids.models.players import WomenPlayer, MenPlayer
from volley_grids.seeders.king_of_the_beach import KingOfTheBeachSeeder


# Create players
rebecca = WomenPlayer(name='Rebecca', surname='Silva')
melissa = WomenPlayer(name='Melissa', surname='Hummel')
john = MenPlayer(name='John', surname='Doe')
cristian = MenPlayer(name='Cristian', surname='Pereira')

# seed games
matches = KingOfTheBeachSeeder(participants=(rebecca, melissa, john, cristian,), match_type='full').seed()
pprint(matches)
#> [Silva R./Hummel M. VS Doe J./Pereira C.,
# Silva R./Doe J. VS Hummel M./Pereira C.,
# Silva R./Pereira C. VS Hummel M./Doe J.]

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

volley-grids-0.0.1a0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

volley_grids-0.0.1a0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file volley-grids-0.0.1a0.tar.gz.

File metadata

  • Download URL: volley-grids-0.0.1a0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for volley-grids-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 ce910b1c3a01f4553d1d258a37ea2fcb48dffc0e3ca19ae514165a0cde06038c
MD5 3363c74226d2993c1295bb676609e498
BLAKE2b-256 a75cbf3ee10b0b325c356d1a6041736643cd01010df911a03e0f4381d2d64c93

See more details on using hashes here.

File details

Details for the file volley_grids-0.0.1a0-py3-none-any.whl.

File metadata

  • Download URL: volley_grids-0.0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for volley_grids-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 852a72255f41f7ee0be43d56894482ddc1744b4e167c04da490e7086a637bf45
MD5 ddae1196459e187454d3c3602ecf7b08
BLAKE2b-256 a398301b3f4597692508213fcff2c6975497a5ed980bb31aa668ebfc1d17ee59

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