https://github.com/navchandar/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.
https://github.com/navchandar/python-random-name-generator
data-generator python-random random randomdatagenerator sampledataset samples test-data test-data-generator testing
Last synced: 5 months ago
JSON representation
Python data provider module that returns random people names, addresses, state names, country names as output. Useful for unit testing and automation.
- Host: GitHub
- URL: https://github.com/navchandar/python-random-name-generator
- Owner: navchandar
- License: gpl-3.0
- Created: 2018-03-16T04:26:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T14:48:30.000Z (over 1 year ago)
- Last Synced: 2024-12-07T20:12:03.590Z (about 1 year ago)
- Topics: data-generator, python-random, random, randomdatagenerator, sampledataset, samples, test-data, test-data-generator, testing
- Language: Python
- Homepage:
- Size: 1.12 MB
- Stars: 38
- Watchers: 3
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python-Random-Name-Generator

[](https://codeclimate.com/github/navchandar/Python-Random-Name-Generator) [](https://github.com/navchandar/Python-Random-Name-Generator/blob/master/LICENSE)
[](https://github.com/navchandar/Python-Random-Name-Generator/issues)
[](https://www.python.org/)
- 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](https://github.com/navchandar/Python-Random-Name-Generator/releases/latest) the repo to your project folder or
```bash
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](https://github.com/navchandar/Python-Random-Name-Generator/issues).
### Usage
```py
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
[](https://paypal.me/navchandar/)
[](https://ko-fi.com/navchandar/)
[](https://www.buymeacoffee.com/navchandar/)