Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

async_pokepy

PyPI pyversions PyPI status PyPI license Documentation Status Pipelines Status

An, in the works, asynchronous wrapper for the PokeAPI.co API.

You can check out the (failing) pipelines @ gitlab.

Documentation

The docs are available @ readthedocs.

Installing

The wrapper is available on PyPi, you can install it with:

pip install async_pokepy

Example

import asyncio

import async_pokepy


async def main(query):
    client = await async_pokepy.Client.connect()

    pokemon = await client.get_pokemon(query)

    fmt = " ".join(map(str, pokemon.abilities))
    print("{0} has the abilities {1}".format(pokemon, fmt))

    await client.close()


loop = asyncio.get_event_loop()
loop.run_until_complete(main("Snorlax"))

This will output: "snorlax has the abilities gluttony thick-fat immunity"

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async_pokepy-0.0.9a0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

async_pokepy-0.0.9a0-py3.7.egg (33.6 kB view details)

Uploaded Egg

async_pokepy-0.0.9a0-py3.6.egg (33.7 kB view details)

Uploaded Egg

async_pokepy-0.0.9a0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file async_pokepy-0.0.9a0.tar.gz.

File metadata

  • Download URL: async_pokepy-0.0.9a0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for async_pokepy-0.0.9a0.tar.gz
Algorithm Hash digest
SHA256 877d12a4c39cfee78ed64a49806fb08ed3612d7d435d5472e86ef47e44ba8c5d
MD5 2937ba266cc4038dba54bae1ed7ec6bc
BLAKE2b-256 fca1543776927114b6cd2324fb3a6c98de660d2f645ef2acc47d89e5190ec559

See more details on using hashes here.

File details

Details for the file async_pokepy-0.0.9a0-py3.7.egg.

File metadata

  • Download URL: async_pokepy-0.0.9a0-py3.7.egg
  • Upload date:
  • Size: 33.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for async_pokepy-0.0.9a0-py3.7.egg
Algorithm Hash digest
SHA256 f121f3dac0d05dd7515ece56441cfba288914caad5b20b47ef9e7dbc2caa6e53
MD5 bb2335d5da7e624ca397d56c20c3fe2c
BLAKE2b-256 cc718cb9875cd8ac59a5577d0032794c58d7d074eaee58da256c09ff02072d95

See more details on using hashes here.

File details

Details for the file async_pokepy-0.0.9a0-py3.6.egg.

File metadata

  • Download URL: async_pokepy-0.0.9a0-py3.6.egg
  • Upload date:
  • Size: 33.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for async_pokepy-0.0.9a0-py3.6.egg
Algorithm Hash digest
SHA256 72d6a0c9cb4e629c500013219cc8190a5230d7ec1cd8fc375dc100e774256a12
MD5 bd349cf1917710e17e415ee90f7b7e61
BLAKE2b-256 7d28cb4356bddcc7f24aa734a339858805363a4f13611ee256f4f81bafc9d85b

See more details on using hashes here.

File details

Details for the file async_pokepy-0.0.9a0-py3-none-any.whl.

File metadata

  • Download URL: async_pokepy-0.0.9a0-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for async_pokepy-0.0.9a0-py3-none-any.whl
Algorithm Hash digest
SHA256 de6b315ea64bbc5a50bc780b24b3bec80a3390fd415d14f7788b3473a42c0a11
MD5 b09e5a235c54881a57c37fdc1f8a9b35
BLAKE2b-256 f9aea10ac3b4585570823f09cb787cefddf0e319e2356ba51f05f9b2355b4f17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page