Skip to main content
Pre-release

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

async_pokepy

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

Documentation

Available available @ readthedocs.

Installing

At the moment you can only install it from git with:
pip install git+github.com/PendragonLore/async_pokepy.git

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.6a0.tar.gz (8.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.0.6a0-py3.7.egg (31.2 kB view details)

Uploaded Egg

async_pokepy-0.0.6a0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_pokepy-0.0.6a0.tar.gz
  • Upload date:
  • Size: 8.4 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.6a0.tar.gz
Algorithm Hash digest
SHA256 20fef6761a03e3ec3cdbcef136a0334dfe0aafd1741f544330537af2cf80eb51
MD5 53b6cc8f9c6c323edf7394728ad4e80c
BLAKE2b-256 d9365c566de9078a724e3e64cb2cf4786e49121f366bf17677dbb79d78fe59e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_pokepy-0.0.6a0-py3.7.egg
  • Upload date:
  • Size: 31.2 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.6a0-py3.7.egg
Algorithm Hash digest
SHA256 e88b14d1aef4f40a6afe5339d5c0f9aace4a360926ff31a58333fd9895c77793
MD5 ca044d5f5fefdff0dbe09bb1ef1435e1
BLAKE2b-256 fb88b17ee938a09299008dbd14a53911def26b1e2483587c95730906f2825bd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_pokepy-0.0.6a0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 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.6a0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb7be028a92571c4a739aee62085f96d283b838117faa4a46fae8c7ebf044dc3
MD5 fa051da36ff8f252458b6cc44349345b
BLAKE2b-256 52f85bbb32ac8582292a62d4dcdb9622835b8d281f56a9d68e278c77163cf1aa

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