semvec/pypi-packages huggingface dataset:
pokepy 0.6.2
A Python wrapper for PokéAPI (https://pokeapi.co)
License: BSD
Keywords: pokepy PokéAPI

# Pokepy <a href="https://pokeapi.co/api/v2/pokemon/kakuna"><img src='https://veekun.com/dex/media/pokemon/global-link/14.png' height=50px/></a>

[![pypi](https://img.shields.io/pypi/v/pokepy.svg "pypi package")](https://pypi.org/project/pokepy)
[![python versions](https://img.shields.io/pypi/pyversions/pokepy.svg "supported python versions")](https://pypi.org/project/pokepy)
[![downloads](https://img.shields.io/pypi/dm/pokepy.svg?style=popout "pypi downloads")](https://pypi.org/project/pokepy/)
[![build status](https://circleci.com/gh/PokeAPI/pokepy.svg?style=svg "build status")](https://circleci.com/gh/PokeAPI/pokepy)
[![coverage](https://codecov.io/gh/PokeAPI/pokepy/branch/master/graph/badge.svg "code coverage")](https://codecov.io/gh/PokeAPI/pokepy)
[![snyk](https://snyk.io/test/github/PokeAPI/pokepy/badge.svg?targetFile=requirements.txt "known vulnerabilities")](https://snyk.io/test/github/PokeAPI/pokepy?targetFile=requirements.txt)
[![license](https://img.shields.io/pypi/l/pokepy.svg "license")](https://github.com/PokeAPI/pokepy/blob/master/LICENSE)

A python wrapper for [PokéAPI](https://pokeapi.co). (former [pykemon](https://github.com/PokeAPI/pokepy/tree/bb72105f4c5402aaa5d4fd2b9c142bf9b678b254))

Maintainer: [Kronopt](https://github.com/Kronopt)

## Installation

Nice and simple:

```sh
$ pip install pokepy
```

## Usage

Even simpler:

```python
>>> 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](https://github.com/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!