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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
992aa291fe91fbd06029e3c240fb0e6d0e14f552cbbbe4f12dc5db21b6c0ca79
|
|
| MD5 |
9e8956e6b91cb6946aec0015fee1e277
|
|
| BLAKE2b-256 |
88a928c1578484ecb2d19d323099803611c792f7b0c6b7a6f19e856802b7e9da
|
Provenance
The following attestation bundles were made for faker_pokemon-0.1.0.tar.gz:
Publisher:
publish.yml on Arussil/faker-pokemon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faker_pokemon-0.1.0.tar.gz -
Subject digest:
992aa291fe91fbd06029e3c240fb0e6d0e14f552cbbbe4f12dc5db21b6c0ca79 - Sigstore transparency entry: 976481353
- Sigstore integration time:
-
Permalink:
Arussil/faker-pokemon@466abc4fcbe0b8348c190addcb8ba9aed6f9d4cd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Arussil
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@466abc4fcbe0b8348c190addcb8ba9aed6f9d4cd -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a61ca57f8407c847a9f02ecacca677804825963ac90cf293fc11451bd205f1e
|
|
| MD5 |
426a5ed79ec97a33f851410ce0186838
|
|
| BLAKE2b-256 |
206da28b0c4d6d2bda8f1cab61945a1bf9661cb1c3abc728f6da11c49723205b
|
Provenance
The following attestation bundles were made for faker_pokemon-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Arussil/faker-pokemon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faker_pokemon-0.1.0-py3-none-any.whl -
Subject digest:
5a61ca57f8407c847a9f02ecacca677804825963ac90cf293fc11451bd205f1e - Sigstore transparency entry: 976481358
- Sigstore integration time:
-
Permalink:
Arussil/faker-pokemon@466abc4fcbe0b8348c190addcb8ba9aed6f9d4cd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Arussil
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@466abc4fcbe0b8348c190addcb8ba9aed6f9d4cd -
Trigger Event:
release
-
Statement type: