An asynchronous Python API wrapper for the PokéAPI
Installation
MacOS / Linux:
python3 -m pip install -U asyncpokepy
Windows:
py -3 -m pip install -U asyncpokepy
Usage
You must create an instance of the pokeclient in order to utilise its functionality:
from asyncpokepy import pokeclient
pokeclient = pokeclient()
Examples
These examples assume you have created an instance as above.
async def getpikachu():
# This will return an object, setting object to False will return a dictionary
return pokeclient.getpokemon('pikachu', object=True)
Output:
<asyncpokepy.objects.Pokemon object at 0x7fa4bb929580>
Metadata
Release files for asyncpokepy 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| asyncpokepy-0.1.4.tar.gz | 5.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncpokepy-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.6 kB
Release files / asyncpokepy-0.1.4.tar.gz
| Download URL | asyncpokepy-0.1.4.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7183c995ac1ec266845d7cece2b96c38f31776cf7fb2d53505ed4af113c57615
|
|
BLAKE2b-256 checksum How to use checksums |
176997aafa5664d924746a4ad2274240762ca8608125d73f373a3071afe3cab0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
|
Release files / asyncpokepy-0.1.4-py3-none-any.whl
| Download URL | asyncpokepy-0.1.4-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d023a099e503b936dee4138a1860f90df4982e3bd7331cd0af25d4026794307
|
|
BLAKE2b-256 checksum How to use checksums |
7137c8ea363b7ed86b2ba4ad7bdafae5ef3d5b41e3316f03a25ef7d1d6a2bff5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6
|
Security for asyncpokepy 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.