Skip to main content

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


Download files

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

Source Distribution

rname-0.2.1.tar.gz (723.9 kB view hashes)

Uploaded Source

Built Distribution

rname-0.2.1-py3-none-any.whl (724.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page