Pokewrap
A wrapper library for PokeAPI in Python
Introducing Pokewrap
Pokewrap is a lightweight wrapper library for PokeAPI designed to stay out of your way and get you to adding Pokémon data into your project as quickly as possible.
It's at its best for personal projects, casual use, or as a learning tool. After all, I built it to do just that.
I hope you find it useful in your own projects, and if you find areas where I can improve it, please let me know!
Technical Details
Pokewrap is written entirely in Python, as a 3-file distribution (plus tests).
It uses API controller classes to properly manage API calls and translate the received data into dictionary data for you to access through the class. It then extends those classes with helper classes (like the class Pokemon) to allow you to get more specific when you want to be, and ignore all the extra endpoints you don't need.
Dependencies
Pokewrap makes thorough use of the Requests library as the only external dependency beyond Python's core libraries. It also uses json to parse API data, and os to configure directories.
It is compatible with Python 3.8 and forward by design, and may be compatible with older versions of Python but is not guaranteed to be as stable.
How to Use
I wanted Pokewrap to be as accessible as possible, so you can find it on PyPI, install it through pip, or download/fork it from GitHub.
Installation With pip
All you need is a quick pip command from the command line:
pip install pokewrap
Reporting Issues
You can report bugs, issues, or submit feature requests using the GitHub repository.
Submit an issue and I'll get back to you ASAP.
Open Source
Pokewrap is fully open-source, so you can check it out on GitHub!
Visit the RepoLightweight
With just a few hundred lines of code, Pokewrap helps to keep your project scale and dependencies low.
Did you know?
Pokewrap is named after the Poké Rap, a ridiculously catchy rap song of all 150 Pokémon that played at the end of the Pokémon original series episodes.