Skip to main content

A Python wrapper for the friendly PokeAPI database

Project description

travis pypi

pokebase is a simple but powerful Python interface to the PokéAPI database


pip install pokebase

It can’t get much easier than that.


>>> import pokebase as pb
>>> chesto = pb.NamedAPIResource('berry', 'chesto')
>>> charmander = pb.pokemon('charmander')  # Quick lookup.
>>> charmander.height
>>> bulba = pb.pokemon_sprite(1)           # And sprites too!
>>> bulba.path

… And it’s just that simple.

Version Support

pokebase currently (officially) supports Python 2.7 and 3.6 versions.


Python unittests are in a separate tests directory, and can be run via python -m tests.test_pokebase.


The quick data lookup for a Pokémon type, is pokebase.type_('type-name'), not pokebase.type('type-name'). This is because of a naming conflict with the built-in type function.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pokebase, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pokebase-1.2.0.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page