Skip to content

natrixdev/python-name-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Python names generator.

Summary

1

Requires module "names"

pip install names

Supported By Names Module :

Male Names Female Names
Create random male names Create random female names
Create random male first names Create random female first names
Neutral Names
Create random last names
Create random names

Usages:

2

Create random names with python

Then to create random names just do:

import names

for i in range(10):
    print(names.get_full_name())

3

Create random male names

for i in range(10):
    rand_name = names.get_full_name(gender='male')
    print(rand_name)

4

Create random female names

for i in range(10):
    rand_name = names.get_full_name(gender='female')
    print(rand_name)

5

Create random male first names

for i in range(10):
        rand_name = names.get_first_name(gender='male')
        print(rand_name)

6

Create random female first names

for i in range(10):
    rand_name = names.get_first_name(gender='female')
    print(rand_name)

7

Create random last names

for i in range(10):
    rand_name = names.get_last_name()
    print(rand_name)

Made by natrix

Support Us Please

Star Fork
Star Fork