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 |
Create random names with python
Then to create random names just do:
import names
for i in range(10):
print(names.get_full_name())
for i in range(10):
rand_name = names.get_full_name(gender='male')
print(rand_name)
Create random female names
for i in range(10):
rand_name = names.get_full_name(gender='female')
print(rand_name)
Create random male first names
for i in range(10):
rand_name = names.get_first_name(gender='male')
print(rand_name)
Create random female first names
for i in range(10):
rand_name = names.get_first_name(gender='female')
print(rand_name)
for i in range(10):
rand_name = names.get_last_name()
print(rand_name)
Star |
Fork |
|
|