-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPyLe.py
2796 lines (2348 loc) · 109 KB
/
PyLe.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# <------CoDed By AnonCODER------>
# <------v4.0----->
# <------Now PyLe needs your support with its release------>
# <------PyLe in Github : https://github.com/AnonC0DER/PyLe------>
##################################################################
# imports
import random
import urllib.request
import json
import sys
# For Object-oriented programming
from imports.other_libraries import *
# I use this because, some libraries dosen't need installtion
from imports import libraries
# Open FreeCourses Function
from imports import Courses
# import send email functions
from imports import Emails
from os import system
# import typing function
from imports import typer
# import search function
from imports import search
from colorama import Fore
from time import sleep
#############
import time
from datetime import datetime
#############
# again
def again_1():
again_v = input(Fore.GREEN+'For Menu type (M) for Exit type (E) : ')
if again_v.upper() == 'M' or again_v.upper() == 'Menu' or again_v.lower() == 'm' or again_v.lower() == 'menu':
start()
elif again_v.upper() == 'E' or again_v.upper() == 'Exit' or again_v.lower() == 'e' or again_v.lower() == 'exit':
print(Fore.YELLOW+'[-] Good Luck !')
close_time()
else:
print(Fore.RED+'Wrong Value !')
again_1()
#colors class
class colors:
MAGENTA = Fore.LIGHTMAGENTA_EX
YELLOW = Fore.LIGHTYELLOW_EX
BLUE = Fore.LIGHTBLUE_EX
RED = Fore.LIGHTRED_EX
CYAN = Fore.LIGHTCYAN_EX
WHITE = Fore.LIGHTWHITE_EX
random_color = [colors.MAGENTA,colors.YELLOW,colors.RED,colors.BLUE,colors.CYAN,colors.WHITE]
random.shuffle(random_color)
#Colors Libraries
def c_lib():
print (random_color [0] + '''
▄████▄ ▒█████ ██▓ ▒█████ ██▀███ ██████
▒██▀ ▀█ ▒██▒ ██▒▓██▒ ▒██▒ ██▒▓██ ▒ ██▒▒██ ▒
▒▓█ ▄ ▒██░ ██▒▒██░ ▒██░ ██▒▓██ ░▄█ ▒░ ▓██▄
▒▓▓▄ ▄██▒▒██ ██░▒██░ ▒██ ██░▒██▀▀█▄ ▒ ██▒
▒ ▓███▀ ░░ ████▓▒░░██████▒░ ████▓▒░░██▓ ▒██▒▒██████▒▒
░ ░▒ ▒ ░░ ▒░▒░▒░ ░ ▒░▓ ░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░▒ ▒▓▒ ▒ ░
░ ▒ ░ ▒ ▒░ ░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒░░ ░▒ ░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░
''')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Welcome to the Python Text Coloring Libraries group.')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' You can get various information from this section')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Such as installing libraries and descriptions about them.')
print (Fore.GREEN + '[#]' + Fore.MAGENTA+ " Now Choose Your Library... ")
print (Fore.BLUE +'''
{-------------}
[1] => Colored
[2] => Colorama
[3] => Termcolor
[1000] About Author && Contact Author
[100] Update
[99] Main Menu
[0] Exit
{-------------}''')
colors_lib = int(input(Fore.YELLOW +'PyLe ~$ '))
if colors_lib == 1:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/colored/')
print()
colord = input(Fore.YELLOW +'PyLe ~$ ')
colord_info = libraries.all_libraries('colored --upgrade', 'Colors', 'colored_dec', 'colored_exm', 'https://gitlab.com/dslackw/colored/blob/master/CHANGELOG')
if colord.upper() == 'I':
colord_info.AllLibs_install()
again_1()
elif colord.upper() == 'D':
colord_info.AllLibs_dec()
again_1()
elif colord.upper() == 'E':
colord_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif colors_lib == 2:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/colorama/')
print()
colorama = input(Fore.YELLOW +'PyLe ~$ ')
colorama_info = libraries.all_libraries('colorama', 'Colors', 'colorama_dec', 'colorama_exm', 'https://github.com/tartley/colorama')
if colorama.upper() == 'I':
colorama_info.AllLibs_install()
again_1()
elif colorama.upper() == 'D':
colorama_info.AllLibs_dec()
again_1()
elif colorama.upper() == 'E':
colorama_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif colors_lib == 3:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/termcolor/')
print()
termcolor = input(Fore.YELLOW +'PyLe ~$ ')
termcolor_info = libraries.all_libraries('termcolor', 'Colors', 'termcolor_dec', 'termcolor_exm', 'http://pypi.python.org/pypi/termcolor')
if termcolor.upper() == 'I':
termcolor_info.AllLibs_install()
again_1()
elif termcolor.upper() == 'D':
termcolor_info.AllLibs_dec()
again_1()
elif termcolor.upper() == 'E':
termcolor_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif colors_lib == 1000:
system('clear')
contact()
again_1()
elif colors_lib == 100:
system('clear')
update()
elif colors_lib == 99:
system('clear')
start()
elif colors_lib == 0:
print(Fore.YELLOW+'[-]──# Se You Later :)')
close_time()
else:
print(Fore.RED+'[!]──# Wrong Value')
again_1()
# Machine Learning & DataAnalysis
def machine_learning():
print (random_color [0] + '''
__ __) _
(, /| /| /) , ___/__) ,
/ | / | _ _ (/ __ _ (, / _ _ __ __ __ _
) / |/ |_(_(_(__/ )__(_/ (__(/_ / _(/_(_(_/ (_/ (__(_/ (_(_/_
(_/ ' (_____ .-/
) (_/
''')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Welcome to the Python Machine Learning & DataAnalysis Libraries.')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' You can get various information from this section')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Such as installing libraries and descriptions about them.')
print (Fore.GREEN + '[#]' + Fore.MAGENTA+ " Now Choose Your Library... ")
print (Fore.LIGHTBLUE_EX +'''
{-------------}
[1] => Scikit-learn
[2] => Keras
[3] => Xgboost
[4] => Statsmodels
[5] => Tensorflow
[6] => Numpy
[7] => SciPy
[8] => Matplotlib
[9] => Seaborn
[10] => PyTorch
[11] => PyCaret
[1000] About Author && Contact Author
[100] Update
[99] Main Menu
[0] Exit
{-------------}''')
machine_lib = int(input(Fore.YELLOW +'PyLe ~$ '))
# scikit-learn
if machine_lib == 1:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/scikit-learn/')
print()
scikit = input(Fore.YELLOW +'PyLe ~$ ')
if scikit.upper() == 'I':
machinlearning_class.scikit_install()
again_1()
elif scikit.upper() == 'D':
machinlearning_class.scikit_dec()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# keras
elif machine_lib == 2:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/keras/')
print()
keras = input(Fore.YELLOW +'PyLe ~$ ')
keras_info = libraries.all_libraries('keras', 'Machin_Learning', 'keras_dec', 'keras_exm', 'https://keras.io/examples/')
if keras.upper() == 'I':
keras_info.AllLibs_install()
again_1()
elif keras.upper() == 'D':
keras_info.AllLibs_dec()
again_1()
elif keras.upper() == 'E':
keras_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# xgboost
elif machine_lib == 3:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.GREEN + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://xgboost.readthedocs.io/en/latest/tutorials/input_format.html')
print()
xgboost = input(Fore.YELLOW +'PyLe ~$ ')
xgboost_info = libraries.all_libraries('xgboost', 'Machin_Learning', 'xgboost_dec', 'xgboost_exm', 'https://xgboost.readthedocs.io/en/latest/tutorials/input_format.html')
if xgboost.upper() == 'I':
xgboost_info.AllLibs_install()
again_1()
elif xgboost.upper() == 'D':
xgboost_info.AllLibs_dec()
again_1()
elif xgboost.upper() == 'E':
xgboost_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# statsmodels
elif machine_lib == 4:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/statsmodels/')
print()
statsmodels = input(Fore.YELLOW +'PyLe ~$ ')
statsmodels_info = libraries.all_libraries('statsmodels', 'Machin_Learning', 'statsmodels_dec', 'statsmodels_exm', 'https://www.statsmodels.org/stable/')
if statsmodels.upper() == 'I':
statsmodels_info.AllLibs_install()
again_1()
elif statsmodels.upper() == 'D':
statsmodels_info.AllLibs_dec()
again_1()
elif statsmodels.upper() == 'E':
statsmodels_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# Tensorflow
elif machine_lib == 5:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://www.tensorflow.org/tutorials')
print()
tensorflow = input(Fore.YELLOW +'PyLe ~$ ')
tensorflow_info = libraries.all_libraries('tensorflow', 'Machin_Learning', 'tensorflow_dec', 'tensorflow_exm', 'https://rubikscode.net/2018/02/05/introduction-to-tensorflow-with-python-example/')
if tensorflow.upper() == 'I':
tensorflow_info.AllLibs_install()
again_1()
elif tensorflow.upper() == 'D':
tensorflow_info.AllLibs_dec()
again_1()
elif tensorflow.upper() == 'E':
tensorflow_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# Numpy
elif machine_lib == 6:
print(Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://numpy.org/doc/stable/user/whatisnumpy.html')
print()
numpy = input(Fore.YELLOW +'PyLe ~$ ')
numpy_info = libraries.all_libraries('numpy', 'Machin_Learning', 'numpy_dec', 'numpy_exm', 'https://numpy.org/doc/stable/user/quickstart.html')
if numpy.upper() == 'I':
numpy_info.AllLibs_install()
again_1()
elif numpy.upper() == 'D':
numpy_info.AllLibs_dec()
again_1()
elif numpy.upper() == 'E':
numpy_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# SciPy
elif machine_lib == 7:
print(Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://docs.scipy.org/doc/scipy/reference/tutorial/general.html')
print()
SciPy = input(Fore.LIGHTYELLOW_EX + 'PyLe ~$ ')
SciPy_info = libraries.all_libraries('scipy', 'Machin_Learning', 'scipy_dec', 'scipy_exm', 'https://docs.scipy.org/doc/scipy/reference/tutorial/index.html')
if SciPy.upper() == 'I':
SciPy_info.AllLibs_install()
again_1()
elif SciPy.upper() == 'D':
SciPy_info.AllLibs_dec()
again_1()
elif SciPy.upper() == 'E':
SciPy_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# Matplotlib
elif machine_lib == 8:
print(Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://matplotlib.org/stable/contents.html')
print()
Matplotlib = input(Fore.YELLOW +'PyLe ~$ ')
Matplotlib_info = libraries.all_libraries('matplotlib', 'Machin_Learning', 'matplotlib_dec', 'matplotlib_exm', 'https://matplotlib.org/stable/gallery/index.html')
if Matplotlib.upper() == 'I':
Matplotlib_info.AllLibs_install()
again_1()
elif Matplotlib.upper() == 'D':
Matplotlib_info.AllLibs_dec()
again_1()
elif Matplotlib.upper() == 'E':
Matplotlib_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# Seaborn
elif machine_lib == 9:
print(Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://seaborn.pydata.org/introduction.html')
print()
Seaborn = input(Fore.LIGHTYELLOW_EX + 'PyLe ~$ ')
Seaborn_info = libraries.all_libraries('seaborn', 'Machin_Learning', 'seaborn_dec', 'seaborn_exm', 'https://seaborn.pydata.org/examples/index.html')
if Seaborn.upper() == 'I':
Seaborn_info.AllLibs_install()
again_1()
elif Seaborn.upper() == 'D':
Seaborn_info.AllLibs_dec()
again_1()
elif Seaborn.upper() == 'E':
Seaborn_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# PyTorch
elif machine_lib == 10:
print(Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pytorch.org/get-started/locally/')
print()
PyTorch = input(Fore.YELLOW +'PyLe ~$ ')
PyTorch_info = libraries.all_libraries('torch', 'Machin_Learning', 'PyTorch_dec', 'PyTorch_exm', 'https://pytorch.org/tutorials/beginner/pytorch_with_examples.html')
if PyTorch.upper() == 'I':
PyTorch_info.AllLibs_install()
again_1()
elif PyTorch.upper() == 'D':
PyTorch_info.AllLibs_dec()
again_1()
elif PyTorch.upper() == 'E':
PyTorch_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# PyCaret
elif machine_lib == 11:
print(Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pycaret.org/')
print()
PyCaret = input(Fore.LIGHTYELLOW_EX + 'PyLe ~$ ')
if PyCaret.upper() == 'I':
machinlearning_class.pycaret_install()
again_1()
elif PyCaret.upper() == 'D':
machinlearning_class.pycaret_dec()
again_1()
elif PyCaret.upper() == 'E':
# using all_libraries.py
machinlearning_class.pycaret_exm1()
PyCaret_exm2 = input(Fore.LIGHTYELLOW_EX + 'PyLe ~$ ')
# show example 2
if PyCaret_exm2.upper() == 'Y':
machinlearning_class.pycaret_exm2()
again_1()
elif PyCaret_exm2.upper() == 'N':
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# Menu
elif machine_lib == 1000:
system('clear')
contact()
again_1()
elif machine_lib == 100:
system('clear')
update()
elif machine_lib == 99:
system('clear')
start()
elif machine_lib == 0:
print('[-]──# Se You Later :)')
close_time()
else:
print(Fore.RED+'[!]──# Wrong Value')
again_1()
#Telegram Robots
def telegram_bots():
print(random_color [0] + '''
_____ _ ______ _
|_ _| | | | ___ \ | |
| | ___| | ___ __ _ _ __ __ _ _ __ ___ | |_/ / ___ | |_ ___
| |/ _ \ |/ _ \/ _` | '__/ _` | '_ ` _ \ | ___ \/ _ \| __/ __|
| | __/ | __/ (_| | | | (_| | | | | | | | |_/ / (_) | |_\__\\
\_/\___|_|\___|\__, |_| \__,_|_| |_| |_| \____/ \___/ \__|___/
__/ |
|___/
''')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Welcome to the section on building robots with Python.')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA + ' In this section you can find libraries that help you build a telegram robot')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA + ' Choose Your Library...')
print (Fore.BLUE +'''
{-------------}
[1] => Python-telegram-bot
[2] => Pyrogram
[3] => Telegram
[1000] About Author && Contact Author
[100] Update
[99] Main Menu
[0] Exit
{-------------}''')
robots_lib = int(input(Fore.YELLOW +'PyLe ~$ '))
if robots_lib == 1:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Examples 'E.'")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/python-telegram-bot/')
print()
python_telegram_bot = input(Fore.YELLOW +'PyLe ~$ ')
python_telegram_bot_info = libraries.all_libraries('python-telegram-bot', 'Telegram_bots', 'python_telegram_bot_dec', 'python_telegram_bot_exm', 'https://python-telegram-bot.readthedocs.io/en/stable/')
if python_telegram_bot.upper() == 'I':
python_telegram_bot_info.AllLibs_install()
again_1()
elif python_telegram_bot.upper() == 'D':
python_telegram_bot_info.AllLibs_dec()
again_1()
elif python_telegram_bot.upper() == 'E':
python_telegram_bot_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif robots_lib == 2:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/Pyrogram/')
print()
pyrogram = input(Fore.YELLOW +'PyLe ~$ ')
if pyrogram.upper() == 'I':
telegrambots_class.Pyrogram_install()
again_1()
elif pyrogram.upper() == 'D':
telegrambots_class.Pyrogram_dec()
again_1()
elif pyrogram.upper() == 'E':
telegrambots_class.Pyrogram_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif robots_lib == 3:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://telegrampy.readthedocs.io/en/latest/?badge=latest')
print()
telegram_py = input(Fore.YELLOW +'PyLe ~$ ')
telegram_py_info = libraries.all_libraries('telegram.py', 'Telegram_bots', 'telegram_dec', 'telegram_exm', 'https://telegrampy.readthedocs.io/en/latest/quickstart.html')
if telegram_py.upper() == 'I':
telegram_py_info.AllLibs_install()
again_1()
elif telegram_py.upper() == 'D':
telegram_py_info.AllLibs_dec()
again_1()
elif telegram_py.upper() == 'E':
telegram_py_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif robots_lib == 1000:
system('clear')
contact()
again_1()
elif robots_lib == 100:
system('clear')
update()
elif robots_lib == 99:
system('clear')
start()
elif robots_lib == 0:
print(Fore.YELLOW+'[-]──# Se You Later :)')
close_time()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
#Game Development
def game_dev():
print(random_color [0] + '''
____ _ __ __ U _____ u ____ U _____ u__ __
U /"___|uU /"\ uU|' \/ '|u\| ___"|/ | _"\ \| ___"|/\ \ /"/u
\| | _ / \/ _ \/ \| |\/| |/ | _|" /| | | | | _|" \ \ / //
| |_| | / ___ \ | | | | | |___ U| |_| |\| |___ /\ V /_,-.
\____| /_/ \_\ |_| |_| |_____| |____/ u|_____| U \_/-(_/
_)(|_ \\ >><<,-,,-. << >> |||_ << >> //
(__)__) (__) (__)(./ \.) (__) (__) (__)_) (__) (__) (__)
''')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Welcome to the Python game development section.')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' You can get various information from this section')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Such as installing libraries and descriptions about them.')
print (Fore.GREEN + '[#]' + Fore.MAGENTA+ " Now Choose Your Library... ")
print (Fore.BLUE +'''
{-------------}
[1] => Pygame
[2] => Turtles
[3] => PyOpenGL
[1000] About Author && Contact Author
[100] Update
[99] Main Menu
[0] Exit
{-------------}''')
g_dev = int(input(Fore.YELLOW +'PyLe ~$ '))
if g_dev == 1:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://www.pygame.org/docs/')
print()
pygame = input(Fore.YELLOW +'PyLe ~$ ')
pygame_info = libraries.all_libraries('pygame', 'game_devel', 'pygame_dec', 'pygame_exm', 'https://www.pygame.org/docs/ref/examples.html')
if pygame.upper() == 'I':
pygame_info.AllLibs_install()
again_1()
elif pygame.upper() == 'D':
pygame_info.AllLibs_dec()
again_1()
elif pygame.upper() == 'E':
pygame_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif g_dev == 2:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Examples 'E.'")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://docs.python.org/3/library/turtle.html')
print()
turtles = input(Fore.YELLOW +'PyLe ~$ ')
turtles_info = libraries.all_libraries('turtles', 'game_devel', 'turtles_dec', 'turtles_exm', 'https://michael0x2a.com/blog/turtle-examples')
if turtles.upper() == 'I':
turtles_info.AllLibs_install()
again_1()
elif turtles.upper() == 'D':
turtles_info.AllLibs_dec()
again_1()
elif turtles.upper() == 'E':
turtles_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif g_dev == 3:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Examples 'E.'")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' http://pyopengl.sourceforge.net/documentation/index.html')
print()
pyopengl = input(Fore.YELLOW +'PyLe ~$ ')
pyopengl_info = libraries.all_libraries('PyOpenGL', 'game_devel', 'pyopengl_dec', 'pyopengl_dec', 'https://noobtuts.com/python/opengl-introduction')
if pyopengl.upper() == 'I':
pyopengl_info.AllLibs_install()
again_1()
elif pyopengl.upper() == 'D':
pyopengl_info.AllLibs_dec()
again_1()
elif pyopengl.upper() == 'E':
pyopengl_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif g_dev == 1000:
system('clear')
contact()
again_1()
elif g_dev == 100:
system('clear')
update()
elif g_dev == 99:
system('clear')
start()
elif g_dev == 0:
print(Fore.YELLOW+'[-]──# Se You Later :)')
close_time()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
#File & Text Encryption
def ft_enc():
print(random_color [0] + '''
███████ ██ ██ ███████ ████████ ███████ ██ ██ ████████ ███████ ███ ██ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██
█████ ██ ██ █████ █████ ██ █████ ███ ██ █████ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ███████ ███████ ██ ███████ ██ ██ ██ ███████ ██ ████ ██████
''')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Welcome to the Encryption section in Python.')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' You can get various information from this section')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Such as installing libraries and descriptions about them.')
print (Fore.GREEN + '[#]' + Fore.MAGENTA+ " Now Choose Your Library... ")
print (Fore.BLUE +'''
{-------------}
[1] => Cryptography
[2] => Pycrypto
[3] => pyAesCrypt
[1000] About Author && Contact Author
[100] Update
[99] Main Menu
[0] Exit
{-------------}''')
ft_en = int(input(Fore.YELLOW +'PyLe ~$ '))
if ft_en == 1:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://cryptography.io/en/latest/')
print()
cryptography = input(Fore.YELLOW +'PyLe ~$ ')
cryptography_info = libraries.all_libraries('cryptography', 'file_enc', 'cryptography_dec', 'cryptography_exm', 'https://cryptography.io/en/latest/')
if cryptography.upper() == 'I':
cryptography_info.AllLibs_install()
again_1()
elif cryptography.upper() == 'D':
cryptography_info.AllLibs_dec()
again_1()
elif cryptography.upper() == 'E':
cryptography_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif ft_en == 2:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://pypi.org/project/pycrypto/')
print()
pycrypto = input(Fore.YELLOW +'PyLe ~$ ')
pycrypto_info = libraries.all_libraries('pycrypto', 'file_enc', 'pycrypto_dec', 'pycrypto_exm', 'https://www.dlitz.net/software/pycrypto/')
if pycrypto.upper() == 'I':
pycrypto_info.AllLibs_install()
again_1()
elif pycrypto.upper() == 'D':
pycrypto_info.AllLibs_dec()
again_1()
elif pycrypto.upper() == 'E':
pycrypto_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif ft_en == 3:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://www.aescrypt.com/pyaescrypt.html')
print()
pyaescrypt = input(Fore.YELLOW +'PyLe ~$ ')
pyaescrypt_info = libraries.all_libraries('pyAesCrypt', 'file_enc', 'pyaescrypt_dec', 'pyaescrypt_exm', 'https://pypi.org/project/pyAesCrypt/')
if pyaescrypt.upper() == 'I':
pyaescrypt_info.AllLibs_install()
again_1()
elif pyaescrypt.upper() == 'D':
pyaescrypt_info.AllLibs_dec()
again_1()
elif pyaescrypt.upper() == 'E':
pyaescrypt_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif ft_en == 1000:
system('clear')
contact()
again_1()
elif ft_en == 100:
system('clear')
update()
elif ft_en == 99:
system('clear')
start()
elif ft_en == 0:
print(Fore.YELLOW+'[-]──# Se You Later :)')
close_time()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
#Sql Libraries
def sql_lib():
print(random_color [0] + '''
.d8888b. .d88888b. 888 888 d8b 888
d88P Y88b d88P" "Y88b 888 888 Y8P 888
Y88b. 888 888 888 888 888
"Y888b. 888 888 888 888 888 88888b.
"Y88b. 888 888 888 888 888 888 "88b
"888 888 Y8b 888 888 888 888 888 888
Y88b d88P Y88b.Y8b88P 888 888 888 888 d88P
"Y8888P" "Y888888" 88888888 88888888 888 88888P"
Y8b
''')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Welcome to the Python SQL libraries.')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' You can get various information from this section')
print (Fore.YELLOW + '[#]' + Fore.MAGENTA+ ' Such as installing libraries and descriptions about them.')
print (Fore.GREEN + '[#]' + Fore.MAGENTA+ " Now Choose Your Library... ")
print (Fore.BLUE +'''
{-------------}
[1] => SQLite
[2] => MySQL
[3] => PostgreSQL
[1000] About Author && Contact Author
[100] Update
[99] Main Menu
[0] Exit
{-------------}''')
sql_plib = int(input(Fore.YELLOW +'PyLe ~$ '))
if sql_plib == 1:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://docs.python.org/3/library/sqlite3.html#module-sqlite3')
print()
SQLite = input(Fore.YELLOW +'PyLe ~$ ')
SQLite_info = libraries.all_libraries('pysqlite3', 'sqllib', 'sqlite_dec', 'sqlite_exm', 'https://www.tutorialspoint.com/sqlite/sqlite_python.htm')
if SQLite.upper() == 'I':
SQLite_info.AllLibs_install()
again_1()
elif SQLite.upper() == 'D':
SQLite_info.AllLibs_dec()
again_1()
elif SQLite.upper() == 'E':
SQLite_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif sql_plib == 2:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://dev.mysql.com/doc/connector-python/en/connector-python-introduction.html')
print()
MySQL = input(Fore.YELLOW +'PyLe ~$ ')
MySQL_info = libraries.all_libraries('mysql-connector-python', 'sqllib', 'mysql_dec', 'mysql_exm', 'https://www.w3schools.com/python/python_mysql_select.asp')
if MySQL.upper() == 'I':
MySQL_info.AllLibs_install()
again_1()
elif MySQL.upper() == 'D':
MySQL_info.AllLibs_dec()
again_1()
elif MySQL.upper() == 'E':
MySQL_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif sql_plib == 3:
print (Fore.MAGENTA + "For Installation type 'I', Description 'D', Example 'E'.")
print (Fore.YELLOW + 'Pay attention' + Fore.WHITE + ' For More Details =>' + Fore.BLUE + ' https://www.tutorialspoint.com/postgresql/postgresql_python.htm')
print()
postgres = input(Fore.YELLOW +'PyLe ~$ ')
postgres_info = libraries.all_libraries('postgres', 'sqllib', 'postgres_dec', 'postgres_exm', 'https://stackabuse.com/working-with-postgresql-in-python/')
if postgres.upper() == 'I':
postgres_info.AllLibs_install()
again_1()
elif postgres.upper() == 'D':
postgres_info.AllLibs_dec()
again_1()
elif postgres.upper() == 'E':
postgres_info.AllLibs_exm()
again_1()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
elif sql_plib == 1000:
system('clear')
contact()
again_1()
elif sql_plib == 100:
system('clear')
update()
elif sql_plib == 99:
system('clear')
start()
elif sql_plib == 0:
print(Fore.YELLOW+'[-]──# Se You Later :)')
close_time()
else:
print(Fore.RED + '[!] Wrong Value')
again_1()
# Other Libraries