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.]
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce910b1c3a01f4553d1d258a37ea2fcb48dffc0e3ca19ae514165a0cde06038c
|
|
| MD5 |
3363c74226d2993c1295bb676609e498
|
|
| BLAKE2b-256 |
a75cbf3ee10b0b325c356d1a6041736643cd01010df911a03e0f4381d2d64c93
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
852a72255f41f7ee0be43d56894482ddc1744b4e167c04da490e7086a637bf45
|
|
| MD5 |
ddae1196459e187454d3c3602ecf7b08
|
|
| BLAKE2b-256 |
a398301b3f4597692508213fcff2c6975497a5ed980bb31aa668ebfc1d17ee59
|