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.1.0a0.tar.gz (14.4 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.1.0a0-py3.7.egg (49.9 kB view details)

Uploaded Egg

async_pokepy-0.1.0a0-py3.6.egg (50.1 kB view details)

Uploaded Egg

async_pokepy-0.1.0a0-py3.5.egg (50.6 kB view details)

Uploaded Egg

async_pokepy-0.1.0a0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for async_pokepy-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 817ba9f42316325f968c896cdaa2e76d2b95db39152881f34c8bdd840298a3f9
MD5 8ee7ce2753e9911569a13b86b555e97d
BLAKE2b-256 536e9324188a42b2e2ab0a4ce33133f0826411233c6cb942e3fb9e58a3db64fd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for async_pokepy-0.1.0a0-py3.7.egg
Algorithm Hash digest
SHA256 c6074726be021519bd72425c928fc508031c22617a9ba7517ea953096548672c
MD5 6a6b829e3be43535001624548b03e518
BLAKE2b-256 97594c1ea7d7f709d96829ad25087ae5cea4b3499b2bd553f066910fdd0a08f1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for async_pokepy-0.1.0a0-py3.6.egg
Algorithm Hash digest
SHA256 bb8a59037955ff5b0812c1ea847fd6c606a2e39db63011e13d8799b45a314c9e
MD5 08d2b6b6baff067b33f8280db693759b
BLAKE2b-256 2bab18a84d990a143553eefcf4f20a1407fe2758e7ee034416ea77788a3b70a2

See more details on using hashes here.

File details

Details for the file async_pokepy-0.1.0a0-py3.5.egg.

File metadata

  • Download URL: async_pokepy-0.1.0a0-py3.5.egg
  • Upload date:
  • Size: 50.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for async_pokepy-0.1.0a0-py3.5.egg
Algorithm Hash digest
SHA256 912fda5bab33c4bcbc1e11fe34fb3f038674ee48dff76feb2d4fcdf857aa444c
MD5 7dbc927c0696d98569750a7ce0c9a073
BLAKE2b-256 3de7d05a2dd638ae1144789801099a60c6ba0e8d756c1e80421e99e1cb67985c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for async_pokepy-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 770a702413df1c6beb2d9f6e73882d87456b0d898bcbc9026a8e7236704b4e05
MD5 f54f8192b538d69a3a2c8f2d6d80983b
BLAKE2b-256 f0d6f349cc86ab32f77eac5d6eb3245a1209872df186014181728c946320ac42

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 Sentry Error logging StatusPage Status page