semvec/pypi-packages huggingface dataset:
generate-random-people 1.0.0
Generates random information of a person
Requires Python: >=3.6
Keywords: random,fake,dataset,user data,fake data,user information,python,generate data,generate fake data,users

# generate_random_people &middot; ![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) [![Generic badge](https://img.shields.io/badge/version-1.0.0-<COLOR>.svg)](https://shields.io/)
A python package that generates huge dataset of fake, but real looking data of a person, that can be used to practice data science tools such as pandas. Usefull to create graphs, tables etc.
# Installation

```
pip install generate_random_people
```

## Examples

### To get single person, ```get_person()```

```
from generate_random_people import getPerson

user = get_person()
```

In the above example ```get_person()``` will return a dictionary that has all the information of a person.

### To get multiple person, ```get_peoples([n])```

```
from generate_random_people import get_peoples

users = get_peoples() 
hundered_users = get_peoples(100)
```

In the above example ```get_peoples()``` will return a list of 10 person by default, but if you pass any numbers in the parenthesis it will return the list of that numbers of people, eg ```get_peoples(100)``` will return list of hundered people

### To get the property of a person
```
user = get_person()

print(user["firstname"]) #eg: Harry
print(user["lastname"]) #eg: Potter
print(user["age"]) #eg: 33
print(user["nationality"]) #eg: England
```

### All the properties of a person
```
 id,
 firstname,
 lastname,
 dob,
 email,
 phoneNumber,
 address,
 gender,
 religion,
 age,
 skinColor,
 eyeColor,
 hairStyle,
 hairColor,
 isMarried,
 highestEducation,
 occupation,
 sideBussiness,
 annaulIncomeUSD,
 nationality,
 heightInFeet,
 weightInKg
```
&copy; 2022 InternetWebSoftwares | Ata Shaikh | Nicholes Viktor

This repository is licensed under the MIT license
See License for details.