/Python-Random-Name-Generator

Python data provider module that returns random people names, addresses, state names, country names as output. Useful for unit testing and automation.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Python-Random-Name-Generator

workflow-status Code Climate license contributions welcome made-with-python

  • Outputs RANDOM People names, US state, counties and addresses, Countries and Company names.
  • Useful for testing Name/Address fields with random data.

Installation

  • No dependencies required. Just pure Python v3+

  • Simply download the repo to your project folder or

git clone https://github.com/navchandar/Python-Random-Name-Generator.git
  • And start using for your development/testing purposes.

  • Please add your ideas/suggestions or more test data here.

Usage

import random_names
random_names.First()        # outputs random first name
random_names.Middle()       # outputs random middle name
random_names.Last()         # outputs random last name
random_names.Full()         # outputs random first and last name
random_names.Company()      # outputs random company name
random_names.Address()      # outputs random Address
random_names.StateCode()    # outputs random US State Code
random_names.States()       # outputs random US State name
random_names.Country()      # outputs random Country name
random_names.Places()       # outputs random Place name

Donate

Paypal Badge Ko-Fi Badge BuymeCoffee Badge