Beautiful console application for German U19 badminton rankings
Project description
Badminton CLI
A beautiful console application for exploring German U19 badminton rankings from the German Badminton Association (DBV).
Features
- Search players by name with fuzzy matching
- View player details including rankings across all disciplines
- Compare players side-by-side
- Calculate team points for doubles partnerships
- View top rankings filtered by discipline
- Track ranking history with terminal graphs
- JSON output for all commands for programmatic access
Installation
# Using uv (recommended)
uv tool install badminton-cli
# Or using pipx
pipx install badminton-cli
# Or using pip
pip install badminton-cli
Quick Start
# Download ranking data
badminton-cli update
# Search for a player
badminton-cli search "Max Mustermann"
# View player details
badminton-cli player 01-150083
# Show top rankings in Men's Singles
badminton-cli top --discipline HE
# Compare two players
badminton-cli compare 01-150083 01-150084
# View ranking history graph
badminton-cli graph 01-150083 --since 6m
Commands
| Command | Description |
|---|---|
update |
Download and index ranking data from DBV |
search <name> |
Fuzzy search for players |
player <id> |
Show detailed player information |
compare <id1> <id2> |
Side-by-side player comparison |
team <id1> <id2> |
Calculate combined team points |
top |
Show top-ranked players |
graph <id> |
Show ranking history graph |
history |
List available ranking weeks |
All commands support --json for structured output.
Disciplines
| Code | German | English |
|---|---|---|
| HE | Herren Einzel | Men's Singles |
| DE | Damen Einzel | Women's Singles |
| HD | Herren Doppel | Men's Doubles |
| DD | Damen Doppel | Women's Doubles |
| HM | Herren Mixed | Mixed (male player) |
| DM | Damen Mixed | Mixed (female player) |
Interactive Mode
Run without arguments for an interactive TUI:
badminton-cli
Claude Code Plugin
A Claude Code plugin is available for AI-assisted ranking exploration. See the claude-plugin directory.
Requirements
- Python 3.12+
License
MIT License - see LICENSE for details.
Links
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
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 badminton_cli-0.1.1.tar.gz.
File metadata
- Download URL: badminton_cli-0.1.1.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0df031bd763826f5db2bdc9907bb3ff25fa70b3ce4db22b0a8942674e7f85b5c
|
|
| MD5 |
effca90456f73ab5f2c09fbb669151f7
|
|
| BLAKE2b-256 |
a533ad27a39892a3c129c7ab4d5244c2071d9807b61b1b99487410d0323591d0
|
File details
Details for the file badminton_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: badminton_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5da444db5e3c256c732af472d48bf6c17d247663a4afe7756cec34bac6443de
|
|
| MD5 |
98cfd611296877e542a073b6fcd9f4f5
|
|
| BLAKE2b-256 |
1106500428dc889c2191bee5b21d5b24c97109573d540b8cc5aca07070b70318
|