Skip to main content

Faker community provider for Pokemon data

Project description

faker_pokemon

Faker community provider that overrides standard Faker methods with Pokemon-themed data.

Installation

uv add faker_pokemon

Usage

from faker import Faker
from faker_pokemon import PokemonProvider

fake = Faker()
fake.add_provider(PokemonProvider)

# Standard Faker methods, now Pokemon-themed
fake.company()          # "Silph Co."
fake.city()             # "Cerulean City"
fake.country()          # "Kanto"
fake.first_name()       # "Pikachu"
fake.full_name()        # "Charizard Fire"
fake.product_name()     # "Ultra Ball"

# Pokemon-specific methods
fake.pokemon_name()     # "Bulbasaur"
fake.pokemon_type()     # "Water"
fake.pokemon_move()     # "Thunderbolt"
fake.pokemon_ability()  # "Levitate"
fake.pokemon_nature()   # "Jolly"
fake.pokemon_berry()    # "Oran"

Available methods

Standard Faker overrides

Method Returns
company() A Pokemon world company (str)
company_suffix() A company suffix (str)
city() A Pokemon location (str)
country() A Pokemon region (str)
street_name() A Pokemon-themed street name (str)
first_name() A Pokemon name (str)
last_name() A Pokemon type (str)
full_name() A Pokemon name + type (str)
product_name() A Pokemon item (str)
product_category() A Pokemon item category (str)

Pokemon-specific methods

Method Returns
pokemon_name() A random Pokemon name (str)
pokemon_type() A random Pokemon type (str)
pokemon_move() A random Pokemon move (str)
pokemon_ability() A random Pokemon ability (str)
pokemon_nature() A random Pokemon nature (str)
pokemon_berry() A random Pokemon berry (str)

Updating data

Fetch the latest data from PokeAPI:

uv run scripts/update_data.py

PokeAPI is a free, open API with no authentication required. Please respect their fair use policy:

  • Do not make excessive requests — the update script only needs ~10 calls
  • Cache locally (which is exactly what this package does by committing the data)
  • Do not abuse the service — it is primarily an educational tool

Disclaimer

Pokemon names, types, and moves are trademarks of Nintendo/The Pokemon Company. This package is not affiliated with or endorsed by Nintendo or The Pokemon Company. Data sourced from PokeAPI.

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

faker_pokemon-0.1.0.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

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

faker_pokemon-0.1.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file faker_pokemon-0.1.0.tar.gz.

File metadata

  • Download URL: faker_pokemon-0.1.0.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for faker_pokemon-0.1.0.tar.gz
Algorithm Hash digest
SHA256 992aa291fe91fbd06029e3c240fb0e6d0e14f552cbbbe4f12dc5db21b6c0ca79
MD5 9e8956e6b91cb6946aec0015fee1e277
BLAKE2b-256 88a928c1578484ecb2d19d323099803611c792f7b0c6b7a6f19e856802b7e9da

See more details on using hashes here.

Provenance

The following attestation bundles were made for faker_pokemon-0.1.0.tar.gz:

Publisher: publish.yml on Arussil/faker-pokemon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faker_pokemon-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: faker_pokemon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for faker_pokemon-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a61ca57f8407c847a9f02ecacca677804825963ac90cf293fc11451bd205f1e
MD5 426a5ed79ec97a33f851410ce0186838
BLAKE2b-256 206da28b0c4d6d2bda8f1cab61945a1bf9661cb1c3abc728f6da11c49723205b

See more details on using hashes here.

Provenance

The following attestation bundles were made for faker_pokemon-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Arussil/faker-pokemon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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