pokebase icon indicating copy to clipboard operation
pokebase copied to clipboard

Python 3 wrapper for Pokéapi v2

Results 18 pokebase issues
Sort by recently updated
recently updated
newest added

Vou experimentar, qualquer coisa, mando algumas perguntas aqui.

@Naramsim Hi there. Once you guys figure out the Pypi bureaucracy, I'd like to propose changing the CI and automating the publishing process. The CI will be split to 2...

If I wanted to get, say, the Gen 4 sprite of Pikachu, my first instinct would be the following: ``` import pokebase as pb pikachu = pb.pokemon("pikachu") pikachu_sprite = pikachu.sprites.versions.generation-iv.front_default...

Not sure if this is an API error or REST multi-call issue. Already tried reinstalling the module. Strangest part is that it was working like 10 minutes before this issue...

Tried on both Windows and Linux, when requesting for pokemons type, the API always answers something like this (instead of "fire"): ```python >>> import pokebase as pb >>> print(pb.pokemon('charmander').types) []...

Hello, I have a question about caching data. I wonder if I have to manually call `pokebase.cache.save()` to save cache. When sending `pokebase.pokemon("charmander")` multiple times to Python console, it seems...

Operating system: macOS Sequoia 15.2, M3 chip, 2024 To reproduce: ``` python -m venv ~/pokebase-env source ~/pokebase-env/bin/activate # export PATH=$HOME/pokebase-env/bin:$PATH python -m pip install -U pip git clone https://github.com/PokeAPI/pokebase cd...

The current implementation of get_data directly calls save, which introduces a risk when used in multithreaded contexts. The disk I/O performed by save is not protected, but locking around it...