cable_club.data.configparser module

Functions to interact with config files.

cable_club.data.configparser.PokeDex

Maps Pokemon names to their information.

class cable_club.data.configparser.PokeInfo[source]

Bases: TypedDict

Information about a Pokemon found in config files.

abilities: set[str]
forms: set[int]
genders: set[int]
moves: set[str]
cable_club.data.configparser.parse_pokemon_data(file_path: Path) PokeDex[source]

Read all Pokemon data from a config file.

cable_club.data.configparser.sections(file_path: Path) set[str][source]

Read a config file and return its sections.