A python library to interact with Tournament Software
Project description
Tournament Software
Tournament Software python library
Description
Installation
To install the latest version:
pip install tsw
To install the library from GitHub:
pip install git+https://github.com/userlerueda/tournamentsw.git
Usage Guide
Using via CLI
Getting Events
$ tsw events B88B8B48-E97D-45EF-BCB5-D2B393B0EAC6
+------+--------------------+---------+-----------+
| id | Name | Draws | Entries |
|------+--------------------+---------+-----------|
| 7 | HASTA 14 AÑOS | 1 | 18 |
| 2 | INTERMEDIA MIXTO A | 1 | 32 |
| 3 | INTERMEDIA MIXTO B | 1 | 22 |
| 1 | PRIMERA | 1 | 11 |
| 4 | SEGUNDA MIXTO | 1 | 32 |
| 8 | TERCERA DAMAS | 1 | 21 |
| 5 | TERCERA MIXTO A | 1 | 20 |
| 6 | TERCERA MIXTO B | 1 | 23 |
+------+--------------------+---------+-----------+
Getting Draws for a Tournament
❯ tsw draws B88B8B48-E97D-45EF-BCB5-D2B393B0EAC6 7
+------+---------------+--------+-------------+-----------------+---------------+
| id | Draw | Size | Type | Qualification | Consolation |
|------+---------------+--------+-------------+-----------------+---------------|
| 11 | HASTA 14 AÑOS | 32 | Elimination | No | nan |
+------+---------------+--------+-------------+-----------------+---------------+
Getting Matches for a Draw
tsw matches B88B8B48-E97D-45EF-BCB5-D2B393B0EAC6 11
+-----------------------+------------------+--------------------+-----------------+--------------------+------------------------------+
| Timestamp | Winner Country | Winner Name | Loser Country | Loser Name | Score |
|-----------------------+------------------+--------------------+-----------------+--------------------+------------------------------|
| Sat 5/14/2022 2:00 PM | COL | Gabriel Echeverri | COL | Rafael Sanint | [[6, 1], [6, 0]] |
| Sat 5/14/2022 2:00 PM | COL | Juan Martin Siegel | COL | Emma Villa | [[3, 6], [6, 2], [10, 7]] |
| Sun 5/15/2022 2:00 PM | COL | Juan Marulanda | COL | Gabriel Echeverri | [[4, 6], [6, 3], [10, 7]] |
| Sun 5/15/2022 2:00 PM | COL | Matias Lopez | COL | Violeta Gonzalez | [[6, 0], [6, 1]] |
| Sun 5/15/2022 2:00 PM | COL | Manuel Orozco | COL | Samuel Escandon | [[6, 3], [6, 1]] |
| Sun 5/15/2022 2:00 PM | COL | Simon Scanzani Iza | | | [[6, 3], [6, 2]] |
| Sun 5/15/2022 4:00 PM | COL | Pamela Duque | COL | Emiliano Fernandez | [[6, 4], [5, 7], [10, 8]] |
| Sun 5/15/2022 4:00 PM | COL | Mariana Guerrero | COL | Pablo Rueda | [[6, 3], [4, 6], [10, 6]] |
| Sun 5/15/2022 4:00 PM | COL | Matias Castro | COL | Jacobo Castro | [[6, 0], [6, 0]] |
| Sun 5/15/2022 4:00 PM | COL | Pedro Gutierrez | COL | Juan Martin Siegel | [[3, 6], [6, 4], [10, 0]] |
| Sat 5/21/2022 2:00 PM | COL | Juan Marulanda | COL | Matias Lopez | [[6, 4], [6, 4]] |
| Sat 5/21/2022 2:00 PM | COL | Manuel Orozco | COL | Simon Scanzani Iza | [[6, 1], [6, 3]] |
| Sat 5/21/2022 2:00 PM | COL | Pamela Duque | COL | Mariana Guerrero | [[6, 3], [6, 3]] |
| Sat 5/21/2022 2:00 PM | COL | Pedro Gutierrez | COL | Matias Castro | [[7, 5], [1, 6], [10, 6]] |
| Sun 5/22/2022 2:00 PM | COL | Juan Marulanda | COL | Manuel Orozco | [[7, 6, 3], [2, 6], [10, 3]] |
| Sun 5/22/2022 2:00 PM | COL | Pedro Gutierrez | COL | Pamela Duque | [[6, 3], [6, 3]] |
| Sat 5/28/2022 3:00 PM | COL | Juan Marulanda | COL | Pedro Gutierrez | [[6, 3], [6, 3]] |
+-----------------------+------------------+--------------------+-----------------+--------------------+------------------------------+
Using as a Library
Credits
License
This project is covered under the terms described in LICENSE.
Contributing
See the Contributing if you want to contribute.
Changes
See the Changelog for a full list of changes.
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
tsw-0.2.1.tar.gz
(19.4 kB
view details)
Built Distribution
tsw-0.2.1-py3-none-any.whl
(32.0 kB
view details)
File details
Details for the file tsw-0.2.1.tar.gz
.
File metadata
- Download URL: tsw-0.2.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50732de293e21dd4c8dcf2ff867a6fa0518c4cb4b5caf8c7a43274c16ac2269a |
|
MD5 | 33c8598e349539819fb7a36691c1df2f |
|
BLAKE2b-256 | b6b30db1e38c2b086719a4997674d6ddbc4a08f03391ca2fdce9afd68d511551 |
File details
Details for the file tsw-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: tsw-0.2.1-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e292985ddf3df27962e421a1a2a2db5c96ec5287d7502ce1057803f0c4e773de |
|
MD5 | 6a43e74bfdbdc80fc5523080e972ed7f |
|
BLAKE2b-256 | 3e097d74aed032d72e179ca15888b9d5159d2541d06d263f32f7e8d3146e4fbb |