/nameCreator

A name generator made in python. Generates names by gender and language.

Primary LanguagePythonApache License 2.0Apache-2.0

nameCreator

GitHub issues GitHub forks GitHub stars GitHub license

A python name generator for Windows.

This is a python package for name generation. It can generate names from different countries, and can generate both male and female names. Current namesets: "american", "russian", "spanish", "italian", "german", "french", "swedish", "finnish". Will be adding Chinese and Japanese in next release. Also will split spanish into mexican, latino, and spanish.

Many of the name sets come from https://github.com/ironarachne/namegen

Installation

pip install nameCreator

Usage

In python file

firstNameMale = nameCreator.firstM.FirstNameMale('nationality')

print(firstNameMale)

lastName = nameCreator.last.LastName('nationality')

print(lastName)

firstNameFemale = nameCreator.firstF.FirstNameFemale('nationality')

print(firstNameFemale)

lastName = nameCreator.last.LastName('nationality')

print(lastName)

In command line

nameCreatorCLI generate --help