HXN1

space.py

May 16th, 2022
163
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.62 KB | None | 1 0
  1. import os
  2. try:
  3.     import requests
  4.     import socket as s
  5.     import webbrowser
  6.     from sys import platform
  7.     import colorama
  8.     import ISS_Info
  9.  
  10. except ModuleNotFoundError:
  11.     os.system("pip install ISS_Info")
  12.     os.system("pip install requests")
  13.     os.system("pip install socket")
  14.     os.system("pip install webbrowser")
  15.     os.system("pip install sys")
  16.     os.system("pip install platform")
  17.     os.system("pip install colorama")
  18.     os.system("pip install Today")
  19.     os.system("pip install Date")
  20.     os.system("pip install os")
  21.     os.system('cls' if os.name == 'nt' else 'clear')
  22. else:
  23.     pass
  24. import webbrowser
  25. url = "https://t.me/HEXiN1K"
  26. webbrowser.open(url)
  27. from sys import platform
  28. from colorama import *
  29. import socket
  30. import requests
  31. from datetime import datetime
  32.  
  33. now = datetime.now()
  34.  
  35. current_time = now.strftime
  36.  
  37. name = socket.gethostname()
  38.  
  39. myHostName = socket.gethostname()
  40.  
  41. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  42.  
  43. print("\n===========================================================")
  44. name = ("""\n                    Hello sir """ +name+Style.RESET_ALL)
  45. print(name)
  46.  
  47. import datetime
  48. e = datetime.datetime.now()
  49. print (Fore.CYAN+"""\n                   Your Day is """+"%s/%s/%s" % (e.day, e.month, e.year))
  50. print ("""\n                   The time is """+ "%s:%s:%s" % (e.hour, e.minute, e.second))
  51.  
  52. host = (Fore.WHITE+"""\n                  Your platform is """+ platform+Style.RESET_ALL)
  53. print(host)
  54.  
  55. api = "https://api.ipify.org/?format=json"
  56. req = requests.get(api)
  57. response = req.json()
  58. a = response["ip"]
  59.  
  60. IP = ("""\n                Your Local iP is """+Fore.RED+a+Style.RESET_ALL)
  61. print(IP)
  62.  
  63. v = (Fore.RED+"""\n                    Your iNFO PROXY is\n"""+Style.RESET_ALL)
  64.  
  65. print(v)
  66. print(s)
  67.  
  68. print("\n===========================================================")
  69.  
  70. lib = input("""
  71. \n  من صنع هيكسن انستجرام @hxn.py
  72. \n  BY HEXiN INSTA @hxn.py
  73. \n  tarafından yapılmış HEXiN Instagram @hxn.py
  74. \n
  75. ===========================================================
  76. \n   من صنع هيكسن تيليجرام @HEXiN1K
  77. \n  BY HEXiN TELeGRaM @HEXiN1K
  78. \n  Bir telgraf HEXiN oluşturun @HEXiN1K
  79. \n ===========================================================
  80.  
  81. [1] DOWNLOAD LiP & UPDATE . تنزيل وتحديث المكاتب
  82.  
  83. \n [2] SKiP DOWNLOAD & UPDATE LiP . تخطي تنزيل وتحديث المكاتب
  84.  
  85. \n [+] Please Choice >> """)
  86.  
  87. if lib == "1":
  88.     try:
  89.         os.system('pip install ISS_Info')
  90.         os.system('cls' if os.name == 'nt' else 'clear')
  91.         pass
  92.     except:
  93.         pass
  94. else:
  95.     os.system('cls' if os.name == 'nt' else 'clear')
  96.     pass
  97. import ISS_Info
  98. from colorama import *
  99. bn1 = (Fore.RED+"""
  100. :'######::'########:::::'###:::::'######::'########:
  101. '##... ##: ##.... ##:::'## ##:::'##... ##: ##.....::
  102. ##:::..:: ##:::: ##::'##:. ##:: ##:::..:: ##:::::::
  103. . ######:: ########::'##:::. ##: ##::::::: ######:::
  104. :..... ##: ##.....::: #########: ##::::::: ##...::::
  105. '##::: ##: ##:::::::: ##.... ##: ##::: ##: ##:::::::
  106. . ######:: ##:::::::: ##:::: ##:. ######:: ########:
  107. :......:::..:::::::::..:::::..:::......:::........::
  108. """)
  109. print (bn1)
  110. gg = input(Fore.YELLOW+" [=] Press Enter to continue : ")
  111.  
  112. if gg == '':
  113.     nap = ISS_Info.iss_people_in_space()
  114.     print(Fore.CYAN+" \n  Currently there {} astronauts in space:"
  115.     .format(nap['number']))
  116. for n in nap['people']:
  117.     print("  Name: {} ('Craft: {}'))"
  118.     .format(n['name'],n['craft']))
  119.  
  120. loc = ISS_Info.iss_current_loc()
  121. print(" 📍The current location of the International Space Station: ",loc)
  122.  
  123. url = "https://instagram.com/hxn.py/"
  124. webbrowser.open(url)
Advertisement
Add Comment
Please, Sign In to add comment