├── FakeNameGenerator.egg-info ├── PKG-INFO ├── SOURCES.txt ├── dependency_links.txt └── top_level.txt ├── FakeNameGenerator └── __init__.py ├── README.md ├── dist └── FakeNameGenerator-0.0.1.tar.gz ├── requirements.txt └── setup.py /FakeNameGenerator.egg-info/PKG-INFO: -------------------------------------------------------------------------------- 1 | Metadata-Version: 1.0 2 | Name: FakeNameGenerator 3 | Version: 0.0.1 4 | Summary: a pip-installable Fake Data Generator 5 | Home-page: https://github.com/mrkinaujr/FakeNameGenerator 6 | Author: MrKinauJr 7 | Author-email: FakeNameGen@mrkinaujr.xyz 8 | License: MIT 9 | Description: UNKNOWN 10 | Keywords: Fake Data Generator 11 | Platform: UNKNOWN 12 | -------------------------------------------------------------------------------- /FakeNameGenerator.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- 1 | README.rst 2 | setup.py 3 | FakeNameGenerator/__init__.py 4 | FakeNameGenerator.egg-info/PKG-INFO 5 | FakeNameGenerator.egg-info/SOURCES.txt 6 | FakeNameGenerator.egg-info/dependency_links.txt 7 | FakeNameGenerator.egg-info/top_level.txt -------------------------------------------------------------------------------- /FakeNameGenerator.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /FakeNameGenerator.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | FakeNameGenerator 2 | -------------------------------------------------------------------------------- /FakeNameGenerator/__init__.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | class FakeNameGenerator(): 4 | def __init__(self): 5 | self.html = "" 6 | 7 | def GenerateIdenity(self): 8 | self.html = requests.get("https://www.fakenamegenerator.com/",headers={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0"}).text 9 | self.name = {"completename":self.html.split('
')[1].split('

')[1].split('

')[0],"first":self.html.split('
')[1].split('

')[1].split('

')[0].split(" ")[0],"last":self.html.split('
')[1].split('

')[1].split('

')[0].split(" ")[-1]} 10 | 11 | addy = self.html.split('
')[1].split(" ")[1].split("
")[0] 12 | addynum = addy.split(" ")[0] 13 | streetlist = self.html.split('
')[1].split(" ")[1].split("
")[0].split("
")[:1][0].split(" ")[1:] 14 | street = "" 15 | 16 | province = addy.split('
')[1].split(",")[0] 17 | ZIP = addy.split(", ")[1].split(' ')[0] 18 | for i in streetlist: 19 | street = street + " " + i 20 | self.addy = {"addynum":addynum,"street":street[1:],"province":province,"zip":ZIP} 21 | 22 | self.SSN = self.html.split('tal">
SSN
')[1].split('
')[0] 23 | self.phone = self.html.split("
Phone
")[1].split("")[0].split("
")[1] 24 | self.phoneprefix = "+" + self.html.split("
Country code
")[1].split("")[0].split("
")[1] 25 | birthday = "+" + self.html.split("
Birthday
")[1].split("")[0].split("
")[1] 26 | Month = birthday.split(" ")[0].replace("+","") 27 | Day = birthday.split(" ")[1].replace(",","") 28 | Year = birthday.split(" ")[-1] 29 | self.birthday = {"Day":Day,"Month":Month,"Year":Year} 30 | self.age = self.html.split("
Age
")[1].split(" years old")[0].split("
")[1] 31 | self.tropicalzodiac = self.html.split("
Tropical zodiac
")[1].split("")[0].split("
")[1] 32 | self.email = self.html.split('
Email Address
')[1].split('
')[1].split(' ')[0] 33 | self.username = self.html.split("
Username
")[1].split("")[0].split("
")[1] 34 | self.password = self.html.split("
Password
")[1].split("")[0].split("
")[1] 35 | self.website = self.html.split("
Website
")[1].split("")[0].split("
")[1] 36 | self.useragent = self.html.split("
Browser user agent
")[1].split("")[0].split("
")[1] 37 | self.cardtype = self.html.split('

Finance

')[1].split('
')[1].split('
')[0] 38 | self.card = self.html.split(f"
{self.cardtype}
")[1].split("")[0].split("
")[1] 39 | self.exp = self.html.split("
Expires
")[1].split("")[0].split("
")[1] 40 | try: 41 | self.CVC = self.html.split("
CVC2
")[1].split("")[0].split("
")[1] 42 | except: 43 | self.CVC = self.html.split("
CVV2
")[1].split("")[0].split("
")[1] 44 | self.company = self.html.split("
Company
")[1].split("")[0].split("
")[1] 45 | self.job = self.html.split("
Occupation
")[1].split("")[0].split("
")[1] 46 | self.height = self.html.split("
Height
")[1].split("")[0].split("
")[1] 47 | self.weight = self.html.split("
Weight
")[1].split("")[0].split("
")[1] 48 | self.bloodtype = self.html.split("
Blood type
")[1].split("")[0].split("
")[1] 49 | self.UPSTrackingnum = self.html.split("
UPS tracking number
")[1].split("")[0].split("
")[1] 50 | self.MoneyGram = self.html.split("
MoneyGram MTCN
")[1].split("")[0].split("
")[1] 51 | self.WesternUnion = self.html.split("
Western Union MTCN
")[1].split("")[0].split("
")[1] 52 | self.favcolor = self.html.split("
Favorite color
")[1].split("")[0].split("
")[1] 53 | self.car = self.html.split("
Vehicle
")[1].split("")[0].split("
")[1] 54 | self.GUID = self.html.split("
GUID
")[1].split("")[0].split("
")[1] 55 | 56 | 57 | def Test(self): 58 | self.GenerateIdenity() 59 | print(self.name["first"] + " " + self.name["last"]) 60 | print(self.addy["addynum"] + " " + self.addy["street"] + " " + self.addy["province"] + " " + self.addy["zip"]) 61 | print(self.SSN) 62 | print(self.phone) 63 | print(self.phoneprefix) 64 | print(self.birthday["Day"] + " " + self.birthday["Month"] + " " + self.birthday["Year"]) 65 | print(self.age) 66 | print(self.tropicalzodiac) 67 | print(self.email) 68 | print(self.username) 69 | print(self.password) 70 | print(self.website) 71 | print(self.useragent) 72 | print(self.cardtype) 73 | print(self.card) 74 | print(self.exp) 75 | print(self.CVC) 76 | print(self.company) 77 | print(self.job) 78 | print(self.height) 79 | print(self.weight) 80 | print(self.bloodtype) 81 | print(self.UPSTrackingnum) 82 | print(self.MoneyGram) 83 | print(self.WesternUnion) 84 | print(self.favcolor) 85 | print(self.car) 86 | print(self.GUID) 87 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Fake Name Generator 2 | 3 | A useful tool to generate fake data quickly, without writing a lot of Code! 4 | -------------------------------------------------------------------------------- /dist/FakeNameGenerator-0.0.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MrKinauJr/FakeNameGenerator/6151ba4ec29baf93340452c667675bb6ecf2ddeb/dist/FakeNameGenerator-0.0.1.tar.gz -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | requests==2.22.0 -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | 3 | setup( 4 | name='FakeNameGenerator', 5 | version='0.0.1', 6 | description='a pip-installable Fake Data Generator', 7 | license='MIT', 8 | packages=['FakeNameGenerator'], 9 | author='MrKinauJr', 10 | author_email='FakeNameGen@mrkinaujr.xyz', 11 | keywords=['Fake Data Generator'], 12 | url='https://github.com/mrkinaujr/FakeNameGenerator' 13 | ) --------------------------------------------------------------------------------