Get random first/last name
Project description
randnames
Python module to draw random names.
Summary
to be done
Installation
Randnames is availabe in python repository, and can be downloaded with pip.
pip3 install randnames
Simple Usage
For more visit project website or documentation
>>> import randnames
# Get first name
>>> randnames.first_name()
'John'
# Get last name
>>> randnames.last_name()
'Doe'
# Get full name
>>>randnames.full_name()
'John Doe'
Documentation
Detailed documentation of module can by found here: randnames documentation
Database
So far project uses databases from www.census.gov and www.ssa.gov.
Last names
Databases for USA last names:
https://www.census.gov/topics/population/genealogy/data/1990_census.html https://www.census.gov/topics/population/genealogy/data/2000_surnames.html https://www.census.gov/topics/population/genealogy/data/2010_surnames.html
first names
Database for USA first names:
https://www.ssa.gov/oact/babynames/limits.html
license
https://www.census.gov/data/software/x13as/disclaimer.html
License
Randnames is licensed under the terms of the MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.