Skip to main content

Generate pokemon names.

Project description

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.

Project details


Release history Release notifications

This version

0.1.0

Download files

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

Files for pokemonNames, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pokemonNames-0.1.0-py2.py3-none-any.whl (10.4 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size pokemonNames-0.1.0.tar.gz (11.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page