A Pokémon database
Change directory to root of the package, and then:
pip install -e .
Load the database:
>>> import pokedb
>>> database = pokedb.io.load_database("data/pokemon.js")
>>> database[302]
Sableye
Fetch information:
>>> database["enamorus"].pokemon_type
(<Type.FAIRY: 18>, <Type.FLYING: 3>)
Query the database:
>>> database.query(lambda pokemon: pokemon.name.startswith("Regi"))
[Regirock, Regice, Registeel, Regigigas, Regieleki, Regidrago]