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 Build Status CircleCI AppYevorCI

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.2a0.tar.gz (15.5 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.2a0-py3.7.egg (55.5 kB view details)

Uploaded Egg

async_pokepy-0.1.2a0-py3.6.egg (55.9 kB view details)

Uploaded Egg

async_pokepy-0.1.2a0-py3.5.egg (56.4 kB view details)

Uploaded Egg

async_pokepy-0.1.2a0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_pokepy-0.1.2a0.tar.gz
  • Upload date:
  • Size: 15.5 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.2a0.tar.gz
Algorithm Hash digest
SHA256 1282277b044524f396d520ed40c5b5be66739c385eff593a6155c76bb9328a16
MD5 8bf8b8e917466fb89720d6891f07be71
BLAKE2b-256 dd238aedfe4de55dfb8fc1a7765791d851f6dac6bd6cc636e87d7a2f45743472

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_pokepy-0.1.2a0-py3.7.egg
  • Upload date:
  • Size: 55.5 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.2a0-py3.7.egg
Algorithm Hash digest
SHA256 8ff560e59f77bb18187e32bde3b18c9f516ae4953ad6b0fe8c4c96e37aeed043
MD5 976a9376a614be8ae818b1113a8956a2
BLAKE2b-256 b1f53800391786a5186e67b0f1b373f0c25794bddde7deccc9301279c575f1f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_pokepy-0.1.2a0-py3.6.egg
  • Upload date:
  • Size: 55.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.2a0-py3.6.egg
Algorithm Hash digest
SHA256 5c6e11f051166b570456c7fa09cbb95fc691ee039e0df41a60f5620540d8c23e
MD5 8504a8ca8ac36245ab170d3f895bf5e9
BLAKE2b-256 d51f0778ca6e724914576d5868b5f1801e9c27b337711c2ed4f8119492684160

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_pokepy-0.1.2a0-py3.5.egg
  • Upload date:
  • Size: 56.4 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.2a0-py3.5.egg
Algorithm Hash digest
SHA256 a31b5dacfffca66b998a8b10af1b059458697cbb2a5988d3e065f04a540b38c1
MD5 b1d5525ad6fe4b7146cd50a958d8bf65
BLAKE2b-256 47a7edf0abcd5afb466ea890f6098c463383c897e36a1dabcc05f0478305a241

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_pokepy-0.1.2a0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 e10a482d2add6f3716f73e0d293ed10df199d0a5f6a5ecae1372886d83ca2024
MD5 23e83e5af87b4e9751d0834cfacdafaf
BLAKE2b-256 760596ecc89469ce1f37fc9c9b19d8a7a4577a032a950043f793e4a0a24c84c1

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