Skip to main content

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'
>>>

Release files for genuine-fake 1.2.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genuine-fake 1.2.24
File Size Uploaded
genuine_fake-1.2.24.tar.gz 54.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genuine-fake 1.2.24
File Interpreter ABI Platform
genuine_fake-1.2.24-py3-none-any.whl Python 3 none any Details

Total release size: 107.8 kB

Release files / genuine_fake-1.2.24.tar.gz

Download URL genuine_fake-1.2.24.tar.gz
Size 54.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cc88afd7fb5a2cf7075fcdc15016bc183782e0d03c9ad8af4b97f881e96a4bf8
BLAKE2b-256 checksum
How to use checksums
59be8b68d6bec51924434fdfdbce4c18a8c9b4989a0f2b54154cb146b9c06f46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / genuine_fake-1.2.24-py3-none-any.whl

Download URL genuine_fake-1.2.24-py3-none-any.whl
Size 53.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67486d76e59569d48b63fe09664561f08ea4ddfe6130a8cd94e77cb935808ce7
BLAKE2b-256 checksum
How to use checksums
a54109820f986428b75256d74906897f14d99d414d0b42e25579a066a80f3dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.2.24 This release

2 release files

1.2.23

2 release files

1.2.22

2 release files

1.2.21

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page