https://github.com/kyoto7250/roundrobin_match
round robin matching algorithm for python3
https://github.com/kyoto7250/roundrobin_match
algorithm cli
Last synced: about 1 month ago
JSON representation
round robin matching algorithm for python3
- Host: GitHub
- URL: https://github.com/kyoto7250/roundrobin_match
- Owner: kyoto7250
- License: mit
- Created: 2024-12-26T06:19:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-26T12:19:40.000Z (11 months ago)
- Last Synced: 2025-08-20T21:20:57.964Z (3 months ago)
- Topics: algorithm, cli
- Language: Python
- Homepage: https://pypi.org/project/roundrobin-match/
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# roundrobin_match
A CLI library for creating 1on1 and game match schedules.
It uses round robin matching algorithm for python3.
## requirement
- `python3.10 >=`
## install
```bash
pip install roundrobin_match
```
## usage
```bash
# if you do not pass the seed, the result is not shuffled.
roundrobin_match --seed 40 --list alice bob dave
| DAY | alice | bob | dave | break |
| ---- | -------|-----|------|-------|
| 0 | dave | break | alice | bob|
| 1 | break | dave | bob | alice|
| 2 | bob | alice | break | dave|
```
## contribute
- If you want to fix, or add the function, please feel free to submit a PR.