/PYNGEN-Learn

Cloning Nav Chander's cool script. Mostly for learning. Check the original out, it's cool and has a niec data set. 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

I'm learning, and this is a temporary fork in the road to this cool snake. Respect to the original - NavChander

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