Package: g4rzk
G4RZKSebuah module packages yang biasa di pakai buat anu ea, yttaDibuat olehAngga KurniawanUsage# modulefromg4rzk.moduleimport*# warnafromg4rzk.colorimport*# date timefromg4rzk.datetimeimport*# random user agentfromg4rzk.moduleimportSamsungfromg4rzk.moduleimportXiaomi>>print(Samsung.random_ua)>>print(Xiaomi.random_ua)List Modulereossysjsontimeinquirerrandomcalendarrequestsfrom datetime import datefrom datetime import datetimefrom bs4 import BeautifulSoup as parserfrom concurrent.futures import ThreadPoolExecutorfrom rich.tree import Treefrom rich.panel import Panelfrom rich import print as iprintfrom rich.progress import trackString Date Timefromg4rzk.moduleimport*ct=datetime.now()n=ct.monthbulan=["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]try:ifn<0orn>12:exit()nTemp=n-1exceptValueError:exit()current=datetime.now()tahun=current.yearbu=current.monthhari=current.daybulan=bulan[nTemp]my_date=date.today()hr=calendar.day_name[my_date.weekday()]cv_hr={"Sunday":"Minggu","Monday":"Senin","Tuesday":"Selasa","Wednesday":"Rabu","Thursday":"Kamis","Friday":"Jumat","Saturday":"Sabtu"}nama_hari=cv_hr[hr]tgl=(f"{hari}-{bulan}-{tahun}")tanggal=(f"{nama_hari}-{hari}-{bulan}-{tahun}")bulan_ttl={"01":"Januari","02":"Februari","03":"Maret","04":"April","05":"Mei","06":"Juni","07":"Juli","08":"Agustus","09":"September","10":"Oktober","11":"November","12":"Desember"}now=datetime.now()hour=now.hourifhour<4:waktu="Selamat Dini Hari"elif4<=hour<12:waktu="Selamat Pagi"elif12<=hour<15:waktu="Selamat Siang"elif15<=hour<17:waktu="Selamat Sore"else:waktu="Selamat Malam"String Color PythonGRAY="\033[0;30m"RED="\033[0;31m"GREEN="\033[0;32m"YELLOW="\033[0;33m"BLUE="\033[0;34m"PURPLE="\033[0;35m"CYAN="\033[0;36m"LIGHT_GRAY="\033[0;37m"DARK_GRAY="\033[1;30m"LIGHT_RED="\033[1;31m"LIGHT_GREEN="\033[1;32m"LIGHT_YELLOW="\033[1;33m"LIGHT_BLUE="\033[1;34m"LIGHT_PURPLE="\033[1;35m"LIGHT_CYAN="\033[1;36m"LIGHT_WHITE="\033[1;37m"BOLD="\033[1m"FAINT="\033[2m"ITALIC="\033[3m"UNDERLINE="\033[4m"BLINK="\033[5m"NEGATIVE="\033[7m"CROSSED="\033[9m"END="\033[0m"Random User Agentfromg4rzk.moduleimport*classAsus:random_ua=["Mozilla/5.0 (Linux; Android 5.0.1; Nexus 7 Build/LRX22C; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 Safari/537.36 Viber/17.5.0.6","Mozilla/5.0 (Linux; U; Android 4.2.2; ME302KL Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Chrome/ Safari/534.30 OPR/60.0.2254.59405","Mozilla/5.0 (Linux; Android 5.0; ASUS_Z00AD Build/LRX21V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/95.0.4638.74 Mobile Safari/537.36 GSA/11.31.16.21.x86","Mozilla/5.0 (Linux; Android 6.0.1; ASUS_Z010D Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36"]classSamsung:random_ua=["Mozilla/5.0 (Linux; Android 10.0; SM-A70 Prime Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/103.0.5060.129 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-G610M Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/7.4 Chrome/59.0.3071.125 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG SM-G531F Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/3.3 Chrome/38.0.2125.102 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 5.0; SAMSUNG SM-G900F Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-N920C Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.2 Chrome/56.0.2924.87 Mobile Safari/537.36"]classXiaomi:random_ua=["Mozilla/5.0 (Linux; Android 10; XIAOMI Redmi Note 9 Pro Build/NMF26F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.111 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 6.0.1; Redmi 4A Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.116 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 7.1.2; Redmi 4X Build/N2G47H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 7.1.2; Redmi 5A Build/N2G47H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36","Mozilla/5.0 (Linux; Android 8.1.0; Redmi 6A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36"]