Skip to main content

Simple Pokedex Package

Project description

About

simplepokedex is a package that provides information about Pokemon using the PokeAPI. Information such as Pokemon abilities, types, and generations can be retrieved.

Implementation

To install, use pip install simplepokedex.

To import, use from simplepokedex import pokedex

Generate Random Pokemon:

pokedex.generate_pokemon(int generation, int random_seed)

  • the first parameter generation is a number for the generation of pokemon you want
  • both parameters are optional
  • if both parameters are empty, it will generate a random pokemon

Pokemon Lookup

pokedex.pokemonLookup(string pokemonName_or_ID)

  • enter the id or name of a pokemon
  • this is a required parameter
  • return is data about the requested pokemon

Ability Lookup

pokedex.abilityLookup(string ability)

  • enter the ability name which is a required parameter
  • returns the effect of the ability

Type Matchups

pokedex.poketypes(string type)

  • enter the type that you want to check the matchups of
  • returns the attacking matchups of the specified type

Contributors

Project details


Download files

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

Source Distribution

simplepokedex-1.0.3.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

simplepokedex-1.0.3-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file simplepokedex-1.0.3.tar.gz.

File metadata

  • Download URL: simplepokedex-1.0.3.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for simplepokedex-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7d304cd0078e91a83e362d3c7a5f902b6b718fe6ceea1fc0e56f05bba296975d
MD5 ecc3a9877c347cd7720edeceb97d7d6d
BLAKE2b-256 840562160a6bac2577ce6200a6e0ed1c7de49000466248dc57b70d539005b5f2

See more details on using hashes here.

File details

Details for the file simplepokedex-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: simplepokedex-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for simplepokedex-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8ab65471c61def943f054679f5af4fcc823d89a1dbd412911ec299e8109e450
MD5 7e371963f7eb31fbf07bdec089f502fd
BLAKE2b-256 813126a86512b85e5b29c185b6ad3dd67197954a2bc6ee141e22acd30901a5fe

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