A local Pokemon data repository/Pokedex with fast offline access.
- Fast offline access to Pokemon data
- Comprehensive Pokemon information including stats, moves, abilities, and items
- Support for all Pokemon generations
- Easy-to-use Python API
- Command-line interface
- Extensible data loading system
pip install localdexFor development installation:
pip install -e .from localdex import LocalDex
# Initialize the Pokedex
dex = LocalDex()
# Get Pokemon by name
pikachu = dex.get_pokemon("Pikachu")
print(f"Pikachu's HP: {pikachu.base_stats.hp}")
# Get Pokemon by ID
charizard = dex.get_pokemon_by_id(6)
print(f"Charizard's type: {charizard.types}")
# Get move information
thunderbolt = dex.get_move("Thunderbolt")
print(f"Thunderbolt power: {thunderbolt.power}")# Get Pokemon information
localdex pokemon pikachu
# Get move information
localdex move thunderbolt
# Get ability information
localdex ability levitate
# Get item information
localdex item leftoverspytestblack localdex/
isort localdex/mypy localdex/MIT License - see LICENSE file for details.