get_random_people ·

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. Useful to create graphs, tables, etc.
Installation
pip install get_random_people
Examples
To get single person, get_person()
from get_random_people import get_random_people
user = get_random_people()
user.get_person() # eg:{"firstname": "Harry", "lastname": "Potter", ...}
In the above example get_random_people().get_person() will return a dictionary that has all the information of a person.
To get multiple person, get_peoples([n])
from get_random_people import get_peoples
users = get_random_people().get_peoples()
hundered_users = get_random_people().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 100 people
To get the property of a person
user = get_random_people().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,
phone_number,
address,
gender,
religion,
age,
skin_color,
eye_color,
hair_style,
hair_color,
is_married,
highest_education,
occupation,
side_bussiness,
annaul_income_USD,
nationality,
height_in_feet,
weight_in_kg
Functions
from get_random_people import get_random_people
get_random_people().get_highest_education() # returns a qualification
get_random_people().get_phone_number([n]) # returns a phone number with n number of get_random_people().digits, if nothing is passed 10 digit number will be returned
get_random_people().get_DOB(age) # returns a date of birth, must pass age as integer
get_random_people().get_nationality() # returns a country name
© 2022 InternetWebSoftwares | Ata Shaikh | Nicholes Viktor
This repository is licensed under the MIT license See License for details.
Metadata
Release files for get-random-people 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| get_random_people-1.1.3.tar.gz | 8.9 kB | Without provenance | Details for get_random_people-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| get_random_people-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for get_random_people-1.1.3-py3-none-any.whl |
Total release size: 18.8 kB
Release files / get_random_people-1.1.3.tar.gz
| Download URL | get_random_people-1.1.3.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fb1376aeee364d8218d45c158eb65b4a8764e4891ffa730e84a2e7c7de74a88
|
|
BLAKE2b-256 checksum How to use checksums |
fc54ffe301a24d4123f5cdbb239a5263e71e7a53679f3b516cd2a1a5f2ae40ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / get_random_people-1.1.3-py3-none-any.whl
| Download URL | get_random_people-1.1.3-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d995e2b58ef10a405bfc54fe8e06b2cee559d86b4fabc90f69b6b25265f6d3ad
|
|
BLAKE2b-256 checksum How to use checksums |
ebea9a6a6e199f5724435cbd84cab3c5f61ecdfd822a33e31afcfdb75efbc3c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Security for get-random-people 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.