Pokewrap

Latest version: v1.0.8

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.8

None

1.0.1

Phew, I had to make some final (final) changes to get everything set up properly. Fingers crossed this is truly, legitimately the version that gets released to PyPI.

Changes

Everything is the same as the previous release, but with minor bugfixes and build fixes:
- Passing a capitalized Pokemon name now works instead of breaking the API call
- Installing the library from the command line with pip now installs the requisite requests library

Final thoughts

That about wraps it up! This has been an insane process, and I'm floored by how many additional things need configuration and can go wrong even once the library is ready to go.

1.0

This is the fully released version of Pokewrap with its current suite of features.

Features

Pokewrap is designed as a simple, easy-to-use wrapper to abstract the details of querying PokeAPI away and allows the user (typically me) to spend more time creating Pokemon support tools instead of fiddling with API calls.

The current features include:
- Supports Python 3.9+
- Easily query the PokeAPI endpoint with default configurations
- Query for Pokemon using either name or ID
- Query for all other resource types (Berries, etc.) using name or ID
- Retrieve and locally store endpoint data as JSON
- Load locally stored data to reduce redundant API calls
- Query PokeAPI for a list of resources in a given subcategory (Pokemon, Berries, etc.)
- Set custom limits and offsets for resource data returned as JSON
- Testing to ensure the core elements of the library stay functional

Closing Thoughts

As a learning tool, this project is now complete.

Further updates depend on long-term support or interest in the library. I'm not wholly opposed to future updates and may continue to expand the library as the need (or desire) arises.

Working on this library has been an incredible learning experience, full of challenging and oft-unforeseen problems. Managing inter-project dependencies, import statement errors from parallel directories, and building release-ready code has been a wonderful investment of my time, and I'm glad to have completed this project within my original scope successfully!

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.