Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterjclaw/league-checker
Checks for schedules of league matches
https://github.com/peterjclaw/league-checker
league schedule
Last synced: about 1 month ago
JSON representation
Checks for schedules of league matches
- Host: GitHub
- URL: https://github.com/peterjclaw/league-checker
- Owner: PeterJCLaw
- Created: 2022-04-19T14:32:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T10:36:38.000Z (7 months ago)
- Last Synced: 2024-04-16T07:01:54.702Z (7 months ago)
- Topics: league, schedule
- Language: Python
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# League Checker
[![CircleCI](https://circleci.com/gh/PeterJCLaw/league-checker/tree/main.svg?style=svg)](https://circleci.com/gh/PeterJCLaw/league-checker/tree/main)
Checks for a schedule of league matches.
These checks are extracted from https://github.com/PeterJCLaw/match-scheduler.
## Schedule format
The expected format for a schedule file is one match per line, entrants
separated by pipes (`|`). Comments are started with hashes (`#`). Empty lines
and whitespace around entrants are ignored.Typically entrants are specified as numbers so that the schedules are agnostic
of the actual competitors. (For any fair non-seeded schedule it should always be
possible to assign any entrant id to any competitor anyway).For example:
``` plain
# This is a comment
1|3|22|0
13|2|6|9 # This is also a comment
10|14|3|7
```## Checks
A summary of the most common checks can be obtained by running:
``` shell
./checks/summary.py path/to/schedule.txt
```See the help messages of each check command for details.