Skip to main content

Pokepy

pypi python versions downloads build status coverage snyk license

A python wrapper for PokéAPI. (former pykemon)

Maintainer: Kronopt

Installation

Nice and simple:

$ pip install pokepy

Usage

Even simpler:

>>> import pokepy
>>> client = pokepy.V2Client()
>>> client.get_pokemon(14)
<Pokemon - Kakuna>

Documentation

For more information, check the documentation at https://pokeapi.github.io/pokepy

Features

  • Generate Python objects from PokéAPI resources
  • Cache
  • Human-friendly API

History

0.6.2 (2021-05-16)

  • Add version subproperty to FlavorTextSubResource

0.6.1 (2020-05-31)

  • Fixed disk-based cache not handling different filesystems on Windows

0.6.0 (2019-05-3)

  • V2Client get methods now return element instead of single element list
  • set urllib3 version to >=1.24.3, <1.25 (CVE-2019-11236)
  • Support for Python 3.4 and 3.5

0.5.2 (2019-03-01)

  • Fixed bug that caused pokemon_encounters subresource to not be detected in LocationAreaResource (thanks to jachymb)

0.5.1 (2019-02-16)

  • New V2Client cache-related methods:
    • cache_info
    • cache_clear
    • cache_location

0.5.0 (2019-01-19)

  • Pykemon is now Pokepy!
  • Cache (disk- and memory-based)

0.4.0 (2018-10-11)

  • Removed code from pre-beckett versions
  • Removed V1 API support, as it is now deprecated
  • Added some tweaks to the beckett package

0.3.0 (2017-10-19)

  • V2 support added
  • Added some missing V1 resources
  • Removed files related to API 0.1

0.2.0 (2016-06-11)

  • Beckett API Client framework added

0.1.2 (2014-1-3)

  • Sprite attribute added to Pokemon class

0.1.1 (2013-12-24)

  • Description attribute added to Pokemon class

0.1.0 (2013-12-23)

  • First release on PyPI
  • All PokéAPI resources fully supported and represented in an object-oriented style
  • Easy-to-use API: just one method!

Release files for pokepy 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pokepy 0.6.2
File Size Uploaded
pokepy-0.6.2.tar.gz 17.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pokepy 0.6.2
File Interpreter ABI Platform
pokepy-0.6.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 35.8 kB

Release files / pokepy-0.6.2.tar.gz

Download URL pokepy-0.6.2.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f052ca7200bca29283ba624b45324b251d1cdaca1a43188684eb648df5e1c9d
BLAKE2b-256 checksum
How to use checksums
a0778e15232887c8b41233f6403cccff1b82670315459eeac4e53c1140314cee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.7.0 requests/2.21.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

Release files / pokepy-0.6.2-py2.py3-none-any.whl

Download URL pokepy-0.6.2-py2.py3-none-any.whl
Size 18.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e6e537e2c2a43121c11b655c4432b9200dbf37050783b5af45e6a8b13f86d374
BLAKE2b-256 checksum
How to use checksums
aded9f987e07efbd40ff7f34131a9546aa3cd73c4ef1675a6f150a7891d156da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.7.0 requests/2.21.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.6.2 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page