parse_endpoint#
- parse_endpoint(endpoint: str)#
Parse an endpoint string and return a tuple (letter, integer).
- Parameters:
endpoint – String representing an endpoint (e.g., “a9”).
- Returns:
Tuple of (letter, integer) if valid.
- Raises:
ValueError – If the string is not in the correct format.