Skip to main content
https://badge.fury.io/py/pokemonNames.png https://travis-ci.org/darkowlzz/pokemonNames.png?branch=master

Generate random pokemon names.

  • Free software: GPL license

Installation

The script is available on PyPI. To install with pip:

pip install pokemonNames

Features

  • TODO

Usage

>> from pokemonNames.pokemonNames import PokemonNames
>> p = PokemonNames()
>> p.get_random_name()
'Flareon'
>> p.get_name(4)
'Charmander'
>> p.append_to_list(['myNewPokemon1', 'myNewPokemon2'])
>> p.get_name(720)
'myNewPokemon1'
>> p.get_name(721)
'myNewPokemon2'
>> p.append_to_list(['anotherNewPokemon1', 'anotherNewPokemon2'], start=900)
>> p.get_name(900)
'anotherNewPokemon1'

Let a file be newNames.txt with content

Pikasaur
Charfairy
Ponidog

Import the above list as:

...
>> p.append_to_list('newNames.txt')
>> p.get_name(722)
'Pikasaur'
...

An indexed file:

...
1000 Flanyx
1005 Catmeow
...

Import indexed file as:

...
>> p.append_to_list('indexedFileName', hasIndex=True)
>> p.get_name(1000)
'Flanyx'
>> p.get_name(1005)
'Catmeow'

Docs

For detailed docs of the package use python’s help utility.

History

0.1.0 (2014-09-11)

  • First release on PyPI.

Metadata

Release files for pokemonNames 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pokemonNames 0.1.0
File Size Uploaded
pokemonNames-0.1.0.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pokemonNames 0.1.0
File Interpreter ABI Platform
pokemonNames-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 21.4 kB

Release files / pokemonNames-0.1.0.tar.gz

Download URL pokemonNames-0.1.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8c3a6810a5c65ef148adf41aad731fa9f3ad7d61c5f8deea0817b7230268efc8
BLAKE2b-256 checksum
How to use checksums
c8daeb87989a91913394ac54971f65a0c0071a1d33683beff54285d26e1b8eed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pokemonNames-0.1.0-py2.py3-none-any.whl

Download URL pokemonNames-0.1.0-py2.py3-none-any.whl
Size 10.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e9e28d2622f3cd4f2f87ec8697f141b493591dbb1e703dccb1f415ae54ab6dc6
BLAKE2b-256 checksum
How to use checksums
47c54fd9a310487583d57b7c24f6d963777041a4e427ba3f262d46bf04b17cff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page