HubBasePE 0.0.1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
HubBasePE/Main.py ADDED
@@ -0,0 +1,995 @@
1
+ import time #(16.03.2026)
2
+ import random
3
+ from turtle import *
4
+ import tkinter as tkr
5
+
6
+ def Enter(): #(13.03.2026)
7
+ VN = "0.0.1.0.00"
8
+ global VipAccess, PassGuess, AdminAccess
9
+ VipAccess = "F"
10
+ Password = str(1041)
11
+ PassGuess = 0
12
+ print("--- HubBase (base - "+VN+") (plus, Apr 10 2026, 16:27:52) ---")
13
+ while PassGuess != Password:
14
+ Num = input("Number = ")
15
+ Num2 = input("Number2 = ")
16
+ PassGuess = Num + Num2
17
+ if PassGuess == str(5280):
18
+ print("--Vip level access awarded--")
19
+ print("Pass = 1041")
20
+ VipAccess = "T"
21
+ PassGuess = str(1041)
22
+ if PassGuess == "A52-80A":
23
+ print("--Welcome, Mark--")
24
+ VipAccess = "T"
25
+ AdminAccess = "T"
26
+ PassGuess = str(1041)
27
+ if PassGuess != Password:
28
+ print("Incorrect")
29
+ print("Correct")
30
+ if VipAccess == "T":
31
+ PassGuess = str(5280)
32
+
33
+ def Programm1(): #(15.03.2026)
34
+ print("Hello world")
35
+
36
+ def Programm2(): #(15.03.2026)
37
+ Num = input("Number = ")
38
+ Num2 = input("Number2 = ")
39
+ num = int(Num)
40
+ num2 = int(Num2)
41
+ print(num+num2)
42
+ print(num-num2)
43
+ print(num*num2)
44
+ print(num**num2)
45
+ print(num/num2)
46
+ print(num//num2)
47
+ print(num%num2)
48
+
49
+ def Programm3(): #(15.03.2026)
50
+ Bananas = input("Bananas = ")
51
+ BananasEaten = input("Bananas Eaten = ")
52
+ print(int(Bananas)-int(BananasEaten))
53
+
54
+ def Programm4(): #(15.03.2026)
55
+ Uname = input("What is your name? -- ")
56
+ print("Create a character")
57
+ Cname = input("What is his name? -- ")
58
+ Cage = input("What is his age? -- ")
59
+ Cpower = input("What are his powers? -- ")
60
+ Cweak = input("What are his weaknesses? -- ")
61
+ print("His name is", Cname)
62
+ print("He is", Cage, "years old")
63
+ print("Powers:", Cpower)
64
+ print("Weaknesses:", Cweak)
65
+ print('"'+"Thanks for creating me,", Uname+'"',"- says", Cname)
66
+
67
+ def Programm5(): #(15.03.2026)
68
+ User_reply = input("Do you like robots? -- ").upper()
69
+ if User_reply == "YES":
70
+ User_reply = "Y"
71
+ elif User_reply == "NO":
72
+ User_reply = "N"
73
+ elif User_reply == "MAYBE":
74
+ User_reply = "M"
75
+ if User_reply == "Y":
76
+ print("Beep Boop!")
77
+ elif User_reply == "N":
78
+ print("Well, robots don't like you either")
79
+ global VipAccess
80
+ if VipAccess == "T":
81
+ print("--Vip level access taken--")
82
+ VipAccess = "F"
83
+ elif User_reply == "M":
84
+ print("Make up your mind, human")
85
+ else:
86
+ print("Print('input(something sensible)')")
87
+
88
+ def Programm6(): #(16.03.2026)
89
+ print("You are in a castle of a dragon.")
90
+ DoorChoice = input("There are four doors. Which one do you enter? -- ")
91
+ if DoorChoice == "1":
92
+ print("You found a treasure")
93
+ VipTreasure = random.randint(1,100)
94
+ if VipTreasure > 95:
95
+ print("A Vip password was in it")
96
+ print("It is 5-2-8-0")
97
+ print("You win!")
98
+ elif DoorChoice == "2":
99
+ print("You are quickly attacked by an angry ogre.")
100
+ print("You lose!")
101
+ elif DoorChoice == "3":
102
+ print("You see a sleeping dragon.")
103
+ print("You can...")
104
+ print("...1)Try to steal gold")
105
+ print("...2)Try to escape")
106
+ DragonChoice = input("1 or 2 -- ")
107
+ if DragonChoice == "2":
108
+ print("You were able to escape!")
109
+ print("You win!")
110
+ else:
111
+ print("The dragon wakes up and eats you.")
112
+ print("You lose!")
113
+ if DoorChoice == "4":
114
+ print("You see a sphinx.")
115
+ SPass = str(random.randint(1,10))
116
+ SGuess = input("Can you guess my number.It is inbetween 1 to 10 -- ")
117
+ if SGuess == SPass:
118
+ print("You are freed.")
119
+ print("You win!")
120
+ else:
121
+ print("The sphinx traps you.")
122
+ print("You lose!")
123
+
124
+ def Programm7(): #(17.03.2026)
125
+ aliens = 2
126
+ APass = "ALIENS"
127
+ print("Aliens are invading the earth!")
128
+ print("Activate the defence platform!")
129
+ print("")
130
+ print("------------------------------------------")
131
+ print(" The defence platform ")
132
+ print("------------------------------------------")
133
+ time.sleep(1)
134
+ print("")
135
+ print("------------------------------------------")
136
+ print(" Checking VipAccess ")
137
+ print("------------------------------------------")
138
+ global VipAccess
139
+ time.sleep(1)
140
+ if VipAccess == "T":
141
+ print("VipAccess = 'T'")
142
+ print("--Access granted--")
143
+ print("Password =",APass)
144
+ else:
145
+ print("VipAccess = 'F'")
146
+ APassGuess = input("Please enter the password -- ").upper()
147
+ while APassGuess != APass:
148
+ print("")
149
+ print("INCORRECT PASSWORD")
150
+ print("")
151
+ aliens = aliens ** 2
152
+ print("There are", aliens, "aliens now on earth")
153
+ if aliens > 8000000000:
154
+ break
155
+ print("")
156
+ print("Hint: The thing is attacking us.")
157
+ print("")
158
+ APassGuess = input("Please enter the password -- ").upper()
159
+ if APassGuess == APass:
160
+ print("We won! Hooray!")
161
+ else:
162
+ print("No! The aliens have out numbered us!")
163
+
164
+ def Programm8(): #(18.03.2026)
165
+ GNum = str(random.randint(1,20))
166
+ if VipAccess == "T":
167
+ GPstate = input("Learn correct answer(skips programm)[Y/N] -- ").upper()
168
+ if GPstate != "Y":
169
+ GGuess = input("Can you guess my number. It is inbetween 1 to 20 -- ")
170
+ while GGuess != GNum:
171
+ if int(GGuess) < int(GNum):
172
+ print("Too low")
173
+ else:
174
+ print("Too high")
175
+ GGuess = input("Can you guess my number. It is inbetween 1 to 20 -- ")
176
+ print("Correct!")
177
+ else:
178
+ print("The number is", GNum)
179
+ else:
180
+ GGuess = input("Can you guess my number. It is inbetween 1 to 20 -- ")
181
+ while GGuess != GNum:
182
+ if int(GGuess) < int(GNum):
183
+ print("Too low")
184
+ else:
185
+ print("Too high")
186
+ GGuess = input("Can you guess my number. It is inbetween 1 to 20 -- ")
187
+ print("Correct!")
188
+
189
+ def Programm9(): #(18.03.2026)
190
+ Num = input("Number = ")
191
+ Num2 = input("Number2 = ")
192
+ num = int(Num)
193
+ num2 = int(Num2)
194
+ for Cyc1 in range(num,num2):
195
+ print(Cyc1)
196
+
197
+ def Programm10(): #(18.03.2026)
198
+ TTMN = int(input("What number to muitiply by -- "))
199
+ TTEN = int(input("The final number -- ")) + 1
200
+ for Cyc2 in range(1,TTEN):
201
+ print(Cyc2, "x", TTMN, "=", Cyc2*TTMN)
202
+
203
+ def Programm11(): #(18.03.2026)
204
+ for Cyc3 in range(1,5):
205
+ print("Bleep")
206
+ for Cyc4 in range(1,5):
207
+ print("Bloop")
208
+ print("Bzzzt")
209
+
210
+ def Programm12(): #(24.03.2026)
211
+ print("Create a list with 4 elements")
212
+ print("")
213
+ El1 = input("Element 1 -- ")
214
+ El2 = input("Element 2 -- ")
215
+ El3 = input("Element 3 -- ")
216
+ El4 = input("Element 4 -- ")
217
+ print("")
218
+ print("The list will now change")
219
+ List1 = [El1,El2,El3,El4]
220
+ List1E = [El1,El2,El3,El4]
221
+ print(List1)
222
+ List1[0] = "Change?"
223
+ print(List1)
224
+ del List1[0]
225
+ print(List1)
226
+ List1.append("Change!")
227
+ print(List1)
228
+ Num = random.randint(0,3)
229
+ Num2 = random.randint(1,3)
230
+ Num3 = random.randint(0,2)
231
+ List2 = [List1E[Num],List1E[Num3],List1E[Num2]]
232
+ List1 = List2 + List1
233
+ print(List1)
234
+ print('')
235
+ for Cyc5 in List1:
236
+ print(Cyc5)
237
+
238
+ def Programm13(): #(11.04.2026)
239
+ print("Create a list with 2 elements and 2 keys")
240
+ print("")
241
+ El1 = input("Element 1 -- ")
242
+ El2 = input("Element 2 -- ")
243
+ Key1 = input("Key 1 -- ")
244
+ Key2 = input("Key 2 -- ")
245
+ print("")
246
+ print("The list will now change")
247
+ List1 = {Key1: El1, Key2: El2}
248
+ List1E = {Key1: El1, Key2: El2}
249
+ print(List1)
250
+ List1["Change?"] = "Change!"
251
+ print(List1)
252
+ del List1[Key1]
253
+ print(List1)
254
+ List1[Key2] = "Changeful!"
255
+ print(List1)
256
+ print('')
257
+ for Cyc6 in List1:
258
+ print(Cyc6)
259
+
260
+ def Programm14(): #(12.04.2026)
261
+ alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
262
+ alphabet = alphabet * 2
263
+ STE = input("The string that you want to encrypt -- ").upper()
264
+ Key = int(input("Enter a number between -25 and 25 -- "))
265
+ ES = ""
266
+ for x in STE:
267
+ pos = alphabet.find(x)
268
+ NewPos = pos + Key
269
+ if x in alphabet:
270
+ ES = ES + alphabet[NewPos]
271
+ else:
272
+ ES = ES + x
273
+ print("The message is:", ES)
274
+
275
+ def Programm15(): #(13.04.2026)
276
+ color("blue")
277
+ shape("turtle")
278
+ speed(10)
279
+ pensize(4)
280
+ NoA = int(input("How many sides do you want? -- "))
281
+ Angle = 360 / NoA
282
+ for Cyc7 in range(NoA):
283
+ forward(50)
284
+ right(Angle)
285
+
286
+ def Programm16(): #(15.04.2026)
287
+
288
+ def VShape(size):
289
+ right(25)
290
+ forward(size)
291
+ backward(size)
292
+ left(50)
293
+ forward(size)
294
+ backward(size)
295
+ right(25)
296
+
297
+ def SnowflakeArm(size):
298
+ for Cyc8 in range(4):
299
+ forward(size)
300
+ VShape(size)
301
+ backward(size*4)
302
+
303
+ def Snowflake(size):
304
+ color(random.choice(colors))
305
+ for Cyc7 in range(NoA):
306
+ SnowflakeArm(size)
307
+ right(Angle)
308
+
309
+ colors = ["white","blue","cyan","purple","green","white","white"]
310
+ goto(0,0)
311
+ shape("turtle")
312
+ speed(10)
313
+ pensize(6)
314
+ Screen().bgcolor("turquoise")
315
+ clear()
316
+ NoA = int(input("How many arms do you want? -- "))
317
+ NoS = int(input("How many snowflakes do you want? -- "))
318
+ Angle = 360 / NoA
319
+ for Cyc9 in range(NoS):
320
+ size = random.randint(5,30)
321
+ x = random.randint(-400, 400)
322
+ y = random.randint(-400, 400)
323
+ penup()
324
+ goto(x,y)
325
+ pendown()
326
+ Snowflake(size)
327
+
328
+ def Programm17(): #(24.04.2026)
329
+ window1 = tkr.Tk()
330
+ button1 = tkr.Button(window1, text="Do not press this button", width=40)
331
+ button1.pack(padx=10, pady=10)
332
+ global clicks1
333
+ clicks1 = 0
334
+
335
+ def onClick(event):
336
+ global clicks1
337
+ clicks1 = clicks1 + 1
338
+ if clicks1 == 1:
339
+ button1.configure(text="Seriously? Do. Not. Press. It.")
340
+ elif clicks1 == 2:
341
+ button1.configure(text="Gah! Next next time no-no-no more butt-utt-on-on")
342
+ elif clicks1 == 3:
343
+ time.sleep(1.0)
344
+ button1.configure(text="Opps. I said 'Next next time'")
345
+ else:
346
+ button1.pack_forget()
347
+
348
+ button1.bind("<ButtonRelease-1>", onClick)
349
+ window1.mainloop()
350
+
351
+ def Programm18(): #(27.04.2026)
352
+ print("To draw, use LMB.")
353
+ window2 = tkr.Tk()
354
+ canvas1 = tkr.Canvas(window2, bg="white", width=750, height=500)
355
+ canvas1.pack()
356
+ global lastX, lastY
357
+ lastX, lastY = 0,0
358
+ global Scolor
359
+ Scolor = "black"
360
+ width = int(input("How wide do you want your pencil? -- "))
361
+ red_id = canvas1.create_rectangle(10,10,30,30, fill="red")
362
+ blue_id = canvas1.create_rectangle(10,35,30,55, fill="blue")
363
+ black_id = canvas1.create_rectangle(10,60,30,80, fill="black")
364
+ white_id = canvas1.create_rectangle(10,85,30,105, fill="white")
365
+
366
+ def StoreNewPos(event):
367
+ global lastX, lastY
368
+ lastX = event.x
369
+ lastY = event.y
370
+
371
+ def onClick(event):
372
+ StoreNewPos(event)
373
+
374
+ def onDrag(event):
375
+ global Scolor
376
+ canvas1.create_line(lastX, lastY, event.x, event.y, fill=Scolor,width=width)
377
+ StoreNewPos(event)
378
+
379
+ def CCTR(event):
380
+ global Scolor
381
+ Scolor = "red"
382
+
383
+ def CCTB(event):
384
+ global Scolor
385
+ Scolor = "blue"
386
+
387
+ def CCTb(event):
388
+ global Scolor
389
+ Scolor = "black"
390
+
391
+ def CCTW(event):
392
+ global Scolor
393
+ Scolor = "white"
394
+
395
+ canvas1.bind("<Button-1>", onClick)
396
+ canvas1.bind("<B1-Motion>", onDrag)
397
+ canvas1.tag_bind(red_id, "<Button-1>", CCTR)
398
+ canvas1.tag_bind(blue_id, "<Button-1>", CCTB)
399
+ canvas1.tag_bind(black_id, "<Button-1>", CCTb)
400
+ canvas1.tag_bind(white_id, "<Button-1>", CCTW)
401
+ window2.mainloop()
402
+
403
+ def Programm19(): #(29.04.2026)
404
+ def Setup_minesweeper():
405
+ global gameOver, score, squaresLeft, minefield
406
+ gameOver = False
407
+ score = 0
408
+ squaresLeft = 0
409
+ minefield = []
410
+
411
+ def printfield(minefield):
412
+ for rowList in minefield:
413
+ print(rowList)
414
+
415
+ def create_minefield(minefield, window):
416
+
417
+ def generate_minefield(minefield):
418
+ global squaresLeft
419
+ for row in range(10):
420
+ rowList = []
421
+ for column in range(10):
422
+ BombRN = random.randint(1,100)
423
+ if BombRN <= 20:
424
+ rowList.append(1)
425
+ else:
426
+ rowList.append(0)
427
+ squaresLeft = squaresLeft + 1
428
+ minefield.append(rowList)
429
+
430
+ def set_Flag(event):
431
+ global score, squaresLeft, gameOver, minefield, PFQ
432
+ square = event.widget
433
+ currentText = square.cget("text")
434
+ if currentText == " ":
435
+ square.config(bg= "yellow", text= ""+"B"+"")
436
+ if currentText == "B":
437
+ square.config(bg= "green", text= " ")
438
+
439
+
440
+ def check_Bombs(event):
441
+ global score, squaresLeft, gameOver, minefield, PFQ
442
+ square = event.widget
443
+ row = int(square.grid_info()["row"])
444
+ column = int(square.grid_info()["column"])
445
+ currentText = square.cget("text")
446
+ if gameOver == False:
447
+ if minefield[row][column] == 1:
448
+ gameOver = True
449
+ square.config(bg= "red")
450
+ print("Game over! You hit a bomb!")
451
+ if PFQ == "Y":
452
+ print("**Even with a cheat!!!**")
453
+ print("Your score was:", score)
454
+ elif currentText == " ":
455
+ square.config(bg= "brown")
456
+ totalBombs = 0
457
+ if row < 9:
458
+ if minefield[row+1][column] == 1:
459
+ totalBombs = totalBombs + 1
460
+ if row > 0:
461
+ if minefield[row-1][column] == 1:
462
+ totalBombs = totalBombs + 1
463
+ if column > 0:
464
+ if minefield[row][column-1] == 1:
465
+ totalBombs = totalBombs + 1
466
+ if column < 9:
467
+ if minefield[row][column+1] == 1:
468
+ totalBombs = totalBombs + 1
469
+ if row > 0 and column > 0:
470
+ if minefield[row-1][column-1] == 1:
471
+ totalBombs = totalBombs + 1
472
+ if row < 9 and column < 9:
473
+ if minefield[row+1][column+1] == 1:
474
+ totalBombs = totalBombs + 1
475
+ if row > 0 and column < 9:
476
+ if minefield[row-1][column+1] == 1:
477
+ totalBombs = totalBombs + 1
478
+ if row < 9 and column > 0:
479
+ if minefield[row+1][column-1] == 1:
480
+ totalBombs = totalBombs + 1
481
+ square.config(text= " "+str(totalBombs)+" ")
482
+ score += 1
483
+ squaresLeft -= 1
484
+ if squaresLeft == 0:
485
+ gameOver = True
486
+ print("Well done!")
487
+ print("Your score was:", score)
488
+
489
+ def layout_minefield(window, minefield):
490
+ global VipAccess
491
+ for rowNumber, rowList in enumerate(minefield):
492
+ for columnNumber, columnEntry in enumerate(rowList):
493
+ RSC = random.randint(1,100)
494
+ if RSC < 25:
495
+ square = tkr.Label(window, text=" ", bg= "darkgreen")
496
+ elif RSC > 75:
497
+ square = tkr.Label(window, text=" ", bg= "seagreen")
498
+ else:
499
+ square = tkr.Label(window, text=" ", bg= "green")
500
+ square.grid(row= rowNumber, column= columnNumber)
501
+ square.bind("<Button-1>", check_Bombs)
502
+ square.bind("<Button-3>", set_Flag)
503
+
504
+ generate_minefield(minefield)
505
+ layout_minefield(window, minefield)
506
+
507
+ def Play_minesweeper():
508
+ global VipAccess, minefield, PFQ
509
+ window3 = tkr.Tk()
510
+ create_minefield(minefield, window3)
511
+ if VipAccess == "T":
512
+ PFQ = input("Do you want a cheat?[Y/N] -- ").upper()
513
+ if PFQ == "Y":
514
+ printfield(minefield)
515
+ window3.mainloop()
516
+
517
+ Setup_minesweeper()
518
+ Play_minesweeper()
519
+
520
+ def ProgrammP1(): #T1
521
+
522
+ def Drift(): #(19.03.2026)
523
+ global x, y, z, a
524
+ a = max((y-y*2)*2,z)
525
+ y = random.randint(min(a,y*2),max(a,y*2))
526
+ if y == 0:
527
+ y = 1
528
+ x = x + y
529
+
530
+ def Drift2(): #(19.03.2026)
531
+ global i, o, r, p
532
+ p = max((o-o*2)*2,r)
533
+ o = random.randint(min(p,o*2),max(p,o*2))
534
+ if o == 0:
535
+ o = 1
536
+ i = i + o
537
+
538
+ def ProgrammP1E1(): #(19.03.2026)
539
+ global x, y, i, o, z, r
540
+ Goal = float(input("Set a goal -- "))
541
+ x = int(input("First S.N. -- "))
542
+ y = int(input("First D.N. -- "))
543
+ i = int(input("Second S.N. -- "))
544
+ o = int(input("Second D.N. -- "))
545
+ z = 1
546
+ r = 1
547
+ Opr = 1
548
+ while True:
549
+ Drift()
550
+ Drift2()
551
+ print(x)
552
+ print(i)
553
+ if x > Goal or i > Goal:
554
+ if x > Goal:
555
+ z = -random.randint(1,max(1,y))
556
+ if i > Goal:
557
+ r = -random.randint(1,max(1,o))
558
+ if x < Goal or i < Goal:
559
+ if x < Goal:
560
+ z = random.randint(1,max(1,y))
561
+ if i < Goal:
562
+ r = random.randint(1,max(1,o))
563
+ if x == Goal or i == Goal: #(20.03.2026)
564
+ if x == Goal:
565
+ print("First D reached the goal")
566
+ if i == Goal:
567
+ print("Second D reached the goal")
568
+ break
569
+ Opr = Opr + 1
570
+ if Opr >= 10000:
571
+ print("Fail")
572
+ break
573
+
574
+ ProgrammP1E1() #(19.03.2026)
575
+
576
+ def ProgrammP2(): #T3
577
+ WordLib = ["hi"]
578
+ ES = input("The string that you want to encrypt -- ").split()
579
+ if WordLib != []:
580
+ print("Currently the words are:")
581
+ for Cyc2 in WordLib:
582
+ print(Cyc2)
583
+ Do1 = input("Do you want to add new words?[Y/N] -- ").upper()
584
+ if Do1 == "Y":
585
+ Count = input("How many? -- ")
586
+ for Cyc1 in range(int(Count)):
587
+ NewWord = [str(input("The word? -- "))]
588
+ WordLib = WordLib + NewWord
589
+ NewWord = []
590
+ for Cyc3 in ES:
591
+ if Cyc3 in WordLib:
592
+ pass
593
+ else:
594
+ NewESWord = [Cyc3]
595
+ WordLib = WordLib + NewESWord
596
+ NewESWord = []
597
+ WordLibP = WordLib
598
+ WordLib = WordLib * 2
599
+ CES = []
600
+ for Cyc3 in ES:
601
+ Index = WordLib.index(Cyc3)
602
+ Index = [WordLib[Index + 2]]
603
+ CES = CES + Index
604
+ CESP = ""
605
+ for l in CES:
606
+ CESP = CESP + l + " "
607
+ print(CESP)
608
+
609
+ def ProgrammP3(): #T4
610
+ window = tkinter.Tk()
611
+ button1 = tkinter.Button(window, text="Do not press this button", width=40)
612
+ button1.pack(padx=50, pady=20)
613
+ global clicks1
614
+ clicks1 = 0
615
+ print("Please do not close the window before the turtle finishes!")
616
+ print("It may cause bugs.")
617
+
618
+ def VShape(size):
619
+ right(25)
620
+ forward(size)
621
+ backward(size)
622
+ left(50)
623
+ forward(size)
624
+ backward(size)
625
+ right(25)
626
+
627
+ def SnowflakeArm(size):
628
+ for Cyc8 in range(4):
629
+ forward(size)
630
+ VShape(size)
631
+ backward(size * 4)
632
+
633
+ def Snowflake(size):
634
+ color('white')
635
+ for Cyc7 in range(4):
636
+ SnowflakeArm(size)
637
+ right(90)
638
+
639
+ def onClick(event):
640
+ global clicks1
641
+ clicks1 = clicks1 + 1
642
+ shape("turtle")
643
+ speed(10)
644
+ pensize(6)
645
+ Screen().bgcolor("turquoise")
646
+ if clicks1 < 20:
647
+ Snowflake(20)
648
+ if clicks1 < 20:
649
+ button1.pack_forget()
650
+ print("Fail")
651
+ Terminator()
652
+ else:
653
+ button1.configure(text="You outsmarted me!")
654
+ print("Success")
655
+ speed(100000)
656
+ Terminator()
657
+ time.sleep(1)
658
+ button1.pack_forget()
659
+ Terminator()
660
+
661
+ button1.bind("<ButtonRelease-1>", onClick)
662
+ window.mainloop()
663
+
664
+ def ProgrammP4():
665
+ print("HB-JS python port 0.0.1.0.00")
666
+ time.sleep(1)
667
+
668
+
669
+ def JSProgramm1(repeats):
670
+ for i in range(repeats):
671
+ print(str(i)+". =^.^=")
672
+
673
+ def JSProgramm2():
674
+ SecInMin = 60
675
+ MinInHour = 60
676
+ SecInHour = SecInMin * MinInHour
677
+ HourInDay = 24
678
+ SecInDay = SecInHour * HourInDay
679
+ MinInDay = MinInHour * HourInDay
680
+ DayInWeek = 7
681
+ SecInWeek = SecInDay * DayInWeek
682
+ MinInWeek = MinInDay * DayInWeek
683
+ HourInWeek = HourInDay * DayInWeek
684
+ DayInYear = 365
685
+ SecInYear = SecInDay * DayInYear
686
+ MinInYear = MinInDay * DayInYear
687
+ HourInYear = HourInDay * DayInYear
688
+ currentYear = 2026
689
+ print("There are " + str(SecInMin) + " seconds in a minute")
690
+ print("There are " + str(MinInHour) + " minutes in an hour")
691
+ print("There are " + str(SecInHour) + " seconds in an hour")
692
+ print("There are " + str(HourInDay) + " hours in a day")
693
+ print("There are " + str(SecInDay) + " seconds in a day")
694
+ print("There are " + str(MinInDay) + " minutes in a day")
695
+ print("There are " + str(DayInWeek) + " days in a week")
696
+ print("There are " + str(SecInWeek) + " seconds in a week")
697
+ print("There are " + str(MinInWeek) + " minutes in a week")
698
+ print("There are " + str(HourInWeek) + " hours in a week")
699
+ print("There are " + str(DayInYear) + " days in a year")
700
+ print("There are " + str(SecInYear) + " seconds in a year")
701
+ print("There are " + str(MinInYear) + " minutes in a year")
702
+ print("There are " + str(HourInYear) + " hours in a year")
703
+ print("I am aproximately " + str(((currentYear - 2014) * SecInYear)) + " seconds old")
704
+
705
+ def JSProgramm3():
706
+ HighFives = 0
707
+ print(HighFives+1)
708
+ print(HighFives+1)
709
+ print(HighFives-1)
710
+ print("Delayed:")
711
+ print(HighFives)
712
+ print(HighFives+1)
713
+ print(HighFives+1)
714
+ print(HighFives-1)
715
+
716
+ print("Programm1:")
717
+ JSProgramm1(10)
718
+ time.sleep(1)
719
+ print("Programm2:")
720
+ JSProgramm2()
721
+ time.sleep(1)
722
+ print("Programm3:")
723
+ JSProgramm3()
724
+ time.sleep(1)
725
+
726
+ def CTNP(): #Mainline
727
+ Cstate = input("Continue[Y/N]").upper()
728
+ if Cstate == "Y":
729
+ Cstate = 1
730
+ elif Cstate == "N":
731
+ Cstate = 0
732
+ else:
733
+ print("Choose properly!")
734
+ Cstate = 2
735
+ if Cstate == 1:
736
+ Advance()
737
+ else:
738
+ print("Bye")
739
+ PStop()
740
+
741
+ def Advance(): #Mainline
742
+ Adv = 1
743
+ global Stop
744
+ Stop = 0
745
+
746
+ def PStop(): #Mainline
747
+ global Stop
748
+ Stop = 1
749
+
750
+ def Start():
751
+ ProgrammP1()
752
+ CTNP()
753
+ if Stop == 1:
754
+ pass
755
+ else:
756
+ ProgrammP2()
757
+ CTNP()
758
+ if Stop == 1:
759
+ pass
760
+ else:
761
+ ProgrammP3()
762
+ CTNP()
763
+ if Stop == 1:
764
+ pass
765
+ else:
766
+ ProgrammP4()
767
+
768
+ def Code():
769
+ global Stop, VipAccess
770
+ print("PE programms are enabled on default!")
771
+ TAEstate = "N" #(15.03.2026)
772
+ EPstate = "N"
773
+ if VipAccess == "T":
774
+ TAEstate = input("Skip procedure[Y/N] -- ").upper()
775
+ if TAEstate != "Y":
776
+ Programm1()
777
+ CTNP()
778
+ if Stop == 1:
779
+ pass
780
+ else:
781
+ Programm2()
782
+ CTNP()
783
+ if Stop == 1:
784
+ pass
785
+ else:
786
+ Programm3()
787
+ CTNP()
788
+ if Stop == 1:
789
+ pass
790
+ else:
791
+ Programm4()
792
+ CTNP()
793
+ if Stop == 1:
794
+ pass
795
+ else:
796
+ Programm5()
797
+ CTNP()
798
+ if Stop == 1: #(16.03.2026)
799
+ pass
800
+ else:
801
+ Programm6()
802
+ CTNP()
803
+ if Stop == 1: #(17.03.2026)
804
+ pass
805
+ else:
806
+ Programm7()
807
+ CTNP()
808
+ if Stop == 1: #(18.03.2026)
809
+ pass
810
+ else:
811
+ Programm8()
812
+ if VipAccess == "T": #(20.03.2026)
813
+ EPstate = input("Skip programms 9-11[Y/N] -- ").upper()
814
+ if EPstate != "Y":
815
+ CTNP()
816
+ if Stop == 1:
817
+ pass
818
+ else:
819
+ Programm9()
820
+ CTNP()
821
+ if Stop == 1:
822
+ pass
823
+ else:
824
+ Programm10()
825
+ CTNP()
826
+ if Stop == 1:
827
+ pass
828
+ else:
829
+ Programm11()
830
+ else:
831
+ pass
832
+ CTNP() #(24.03.2026)
833
+ if Stop == 1:
834
+ pass
835
+ else:
836
+ Programm12()
837
+ CTNP() #(11.04.2026)
838
+ if Stop == 1:
839
+ pass
840
+ else:
841
+ Programm13()
842
+ CTNP() #(12.04.2026)
843
+ if Stop == 1:
844
+ pass
845
+ else:
846
+ Programm14()
847
+ CTNP() #(15.04.2026)
848
+ if Stop == 1:
849
+ pass
850
+ else:
851
+ Programm15()
852
+ CTNP()
853
+ if Stop == 1:
854
+ pass
855
+ else:
856
+ Programm16()
857
+ CTNP()
858
+ if Stop == 1:
859
+ pass
860
+ else:
861
+ Programm17()
862
+ CTNP()
863
+ if Stop == 1:
864
+ pass
865
+ else:
866
+ Programm18()
867
+ CTNP()
868
+ if Stop == 1:
869
+ pass
870
+ else:
871
+ Programm18()
872
+ CTNP()
873
+ if Stop == 1:
874
+ pass
875
+ else:
876
+ Programm19()
877
+ CTNP()
878
+ if Stop == 1:
879
+ pass
880
+ else:
881
+ ProgrammP1()
882
+ CTNP()
883
+ if Stop == 1:
884
+ pass
885
+ else:
886
+ ProgrammP2()
887
+ CTNP()
888
+ if Stop == 1:
889
+ pass
890
+ else:
891
+ ProgrammP3()
892
+ CTNP()
893
+ if Stop == 1:
894
+ pass
895
+ else:
896
+ ProgrammP4()
897
+ else:
898
+ pass
899
+ print("") #(16.03.2026)
900
+ print("Stop!")
901
+ print("")
902
+ print("------------------")
903
+ print("Checking VipAccess")
904
+ print("------------------")
905
+ print("")
906
+ time.sleep(1.5)
907
+ if VipAccess == "T":
908
+ print("VipAccess = 'T'")
909
+ Restart()
910
+ else:
911
+ print("VipAccess = 'F'")
912
+ print("You shall not pass")
913
+ global RA
914
+ RestartAttempt = RestAtt = RA = int(RA) + 1
915
+ print("Restart №"+str(RA),"initialaizing")
916
+ Restart()
917
+
918
+ def Restart(): #(16.03.2026)
919
+ global E_C
920
+ if VipAccess == "F":
921
+ Code()
922
+ else:
923
+ Exit_Chioce = E_C = input("Do you want to exit the programm?[Y/N] -- ").upper()
924
+ if E_C == "N":
925
+ PrStart = input("What programm to launch? -- ")
926
+ if PrStart == "2":
927
+ Programm2()
928
+ Restart()
929
+ elif PrStart == "3":
930
+ Programm3()
931
+ Restart()
932
+ elif PrStart == "4":
933
+ Programm4()
934
+ Restart()
935
+ elif PrStart == "5":
936
+ Programm5()
937
+ Restart()
938
+ elif PrStart == "6":
939
+ Programm6()
940
+ Restart()
941
+ elif PrStart == "7":
942
+ Programm7()
943
+ Restart()
944
+ elif PrStart == "8":
945
+ Programm8()
946
+ Restart()
947
+ elif PrStart == "9":
948
+ Programm9()
949
+ Restart()
950
+ elif PrStart == "10":
951
+ Programm10()
952
+ Restart()
953
+ elif PrStart == "11":
954
+ Programm11()
955
+ Restart()
956
+ elif PrStart == "12":
957
+ Programm12()
958
+ Restart()
959
+ elif PrStart == "13":
960
+ Programm13()
961
+ Restart()
962
+ elif PrStart == "14":
963
+ Programm14()
964
+ Restart()
965
+ elif PrStart == "15":
966
+ Programm15()
967
+ Restart()
968
+ elif PrStart == "16":
969
+ Programm16()
970
+ Restart()
971
+ elif PrStart == "17":
972
+ Programm17()
973
+ Restart()
974
+ elif PrStart == "18":
975
+ Programm18()
976
+ Restart()
977
+ elif PrStart == "19":
978
+ Programm19()
979
+ Restart()
980
+ elif PrStart == "P1":
981
+ ProgrammP1()
982
+ Restart()
983
+ elif PrStart == "P2":
984
+ ProgrammP2()
985
+ Restart()
986
+ elif PrStart == "P3":
987
+ ProgrammP3()
988
+ Restart()
989
+ elif PrStart == "P4":
990
+ ProgrammP4()
991
+ Restart()
992
+ else:
993
+ Code()
994
+ else:
995
+ pass
HubBasePE/__init__.py ADDED
File without changes
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.4
2
+ Name: HubBasePE
3
+ Version: 0.0.1.0.0
4
+ Summary: HubBasePE – 3 new programs + all the original!!
5
+ Project-URL: Homepage, https://github.com/HubBase-Authority/HubBasePE
6
+ Project-URL: Issues, https://github.com/HubBase-Authority/HubBasePE/issues
7
+ Project-URL: Documentation, https://github.com/HubBase-Authority/HubBasePE/wiki/Releases
8
+ Author-email: Voice659 <E.R.Fahretdinov@yandex.ru>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Requires-Python: !=3.5.0,>=3.5
14
+ Description-Content-Type: text/markdown
15
+
16
+ # HubBasePE
17
+ ## This is HubBasePE.
18
+ # You can use Main.Code() to activate the PE.
19
+
@@ -0,0 +1,6 @@
1
+ HubBasePE/Main.py,sha256=iCjmEHiscyxkS4o4oo69sMfAKSpwEwPDmdYm7RYCkuE,34646
2
+ HubBasePE/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ hubbasepe-0.0.1.0.0.dist-info/METADATA,sha256=qEJyxX7u-3eOrHQ4x6YmmN30m0SBamZAZ9tVEYylvqI,695
4
+ hubbasepe-0.0.1.0.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
5
+ hubbasepe-0.0.1.0.0.dist-info/licenses/LICENSE,sha256=V9jqBmYg1UQtke9B2GnyHTqiiHdtlySAjMQCVeAnpR0,1095
6
+ hubbasepe-0.0.1.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 HubBase Authority
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.