Skip to main content

Get genuine data for your testing requirements.

Project description

Genuine-Fake documentation

Definition

Genuine Fake means an imitation of a (usually) valuable object that is so good that it is, to all intents and purposes, identical. Literally genuine fake means something that is real but not real at the same time. Take it like this, it's more of a perfect replica of the original.

Why

As I was building a Django app that involved forms a lot, I got tired from filling the forms and having to think of the testing data at the same time. As curious as I am I wondered if there might be a package that can handle this for me, fortunately there was one, but I didn't like it, well not because it wasn't good, it was brilliant actually but it didn't have all the necessary and broad range of data I was looking for. Then I asked myself "What now?" The decision was to write my own. I did write it within 6 hours. I have changed it's name about 3 times now, hopefully this time it will stick.

Inspiration

Well, truthfully the inspiration came from me trying to challenge myself and be out there. I was so inspired to write the code for this to the point that I wrote half the code on paper as I was travelling from school to home on the train.

How It Works

Installation

$ pip install genuine-fake

Different Environments

MacOS and Linux Terminal

$ pip3 install Genuine-fake
$ python3
>>>

Windows Command Prompt

C:\Users\andil> pip install genuine-fake
C:\Users\andil> python
>>> from genuine.fake import GenuineFake as gf
>>>

In Action

>>> from genuine.fake import GenuineFake as gf
>>> gf.name()
'Mbonisi Ncube'
>>> gf.first_name()
'Phumzile'
>>> gf.last_name()
'Moyo'
>>> gf.hospital()
'Queen of Peace Clinic'
>>> gf.medical_aid()
'For All Medical Aid Society'
>>> gf.medical_professions()
'Orthotist'
>>> gf.national_id()
'08-906712V35'
>>> gf.phone_number()
'+263 77 647 5160'
>>> gf.email()
'ivynkala@outlook.com'
>>> gf.address()
'32 Casper Road, Sunninghill'
>>> gf.career()
'Physician'
>>> gf.company()
'Standard Chartered Bank'
>>> gf.career_position()
'Chauffeur'
>>> gf.date()
'2020-04-13'
>>> gf.random_date()
'1988-06-21'
>>> gf.date_of_birth()
'1995-05-19'
>>> gf.allergies()
'Fish'
>>> gf.house_account_number()
'34746237'
>>> gf.covid_symptom()
'fever'
>>> gf.payment_method()
'EcoCash'
>>> gf.covid_age_group()
'13 - 19'

Other functions include

>>> import genuine
>>> genuine.__author__
'Andile Jaden Mbele'
>>> genuine.__email__
'andilembele020@gmail.com'
>>> genuine.__package__
'genuine-fake'
>>> genuine.__github__
'https://github.com/xeroxzen/genuine-fake'
>>>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genuine-fake-1.2.23.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genuine_fake-1.2.23-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file genuine-fake-1.2.23.tar.gz.

File metadata

  • Download URL: genuine-fake-1.2.23.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for genuine-fake-1.2.23.tar.gz
Algorithm Hash digest
SHA256 27973b793e82f9c1b6457ac711174f3d8904445dcfb9e57298e7b4729f5940a1
MD5 b9fd301968e0b753f086a443129ef115
BLAKE2b-256 f087761cac917cae6cbfdcc9d48ccd0744c7808ead92b0e878b9e38e291dd114

See more details on using hashes here.

File details

Details for the file genuine_fake-1.2.23-py3-none-any.whl.

File metadata

  • Download URL: genuine_fake-1.2.23-py3-none-any.whl
  • Upload date:
  • Size: 53.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for genuine_fake-1.2.23-py3-none-any.whl
Algorithm Hash digest
SHA256 f509bc6837be8aec5571292945fc1b939574a21e2b582ecbb3e070441140aa33
MD5 538fc8f8f1ebabd1fb8c6926d18484a2
BLAKE2b-256 24c43dd4312473c5f2641762944130913e47ec992abba61fab55a7795d7021cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page