RIZER 1.0.0__py3-none-any.whl → 1.0.20__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.
- APIS/__init__.py +1 -0
- APIS/insta.py +140 -0
- Pb2/DEcwHisPErMsG_pb2.py +42 -0
- Pb2/Fo_pb2.py +28 -0
- Pb2/GenWhisperMsg_pb2.py +48 -0
- Pb2/MajoRLoGinrEq_pb2.py +28 -0
- Pb2/MajoRLoGinrEs_pb2.py +36 -0
- Pb2/PorTs_pb2.py +36 -0
- Pb2/Team_msg_pb2.py +48 -0
- Pb2/__init__.py +1 -0
- Pb2/sQ_pb2.py +38 -0
- rizer/APIS/__init__.py +1 -0
- rizer/APIS/__pycache__/insta.cpython-312.pyc +0 -0
- rizer/APIS/insta.py +140 -0
- rizer/Pb2/DEcwHisPErMsG_pb2.py +42 -0
- rizer/Pb2/Fo_pb2.py +28 -0
- rizer/Pb2/GenWhisperMsg_pb2.py +48 -0
- rizer/Pb2/MajoRLoGinrEq_pb2.py +28 -0
- rizer/Pb2/MajoRLoGinrEs_pb2.py +36 -0
- rizer/Pb2/PorTs_pb2.py +36 -0
- rizer/Pb2/Team_msg_pb2.py +48 -0
- rizer/Pb2/__init__.py +1 -0
- rizer/Pb2/__pycache__/DEcwHisPErMsG_pb2.cpython-312.pyc +0 -0
- rizer/Pb2/__pycache__/MajoRLoGinrEq_pb2.cpython-312.pyc +0 -0
- rizer/Pb2/__pycache__/MajoRLoGinrEs_pb2.cpython-312.pyc +0 -0
- rizer/Pb2/__pycache__/PorTs_pb2.cpython-312.pyc +0 -0
- rizer/Pb2/__pycache__/Team_msg_pb2.cpython-312.pyc +0 -0
- rizer/Pb2/__pycache__/sQ_pb2.cpython-312.pyc +0 -0
- rizer/Pb2/sQ_pb2.py +38 -0
- rizer/RIZER.egg-info/SOURCES.txt +19 -0
- rizer/RIZER.egg-info/top_level.txt +2 -0
- rizer/__init__.py +1 -0
- rizer/accounts.json +7 -0
- rizer/build/lib/APIS/__init__.py +1 -0
- rizer/build/lib/APIS/insta.py +140 -0
- rizer/build/lib/Pb2/DEcwHisPErMsG_pb2.py +42 -0
- rizer/build/lib/Pb2/Fo_pb2.py +28 -0
- rizer/build/lib/Pb2/GenWhisperMsg_pb2.py +48 -0
- rizer/build/lib/Pb2/MajoRLoGinrEq_pb2.py +28 -0
- rizer/build/lib/Pb2/MajoRLoGinrEs_pb2.py +36 -0
- rizer/build/lib/Pb2/PorTs_pb2.py +36 -0
- rizer/build/lib/Pb2/Team_msg_pb2.py +48 -0
- rizer/build/lib/Pb2/__init__.py +1 -0
- rizer/build/lib/Pb2/sQ_pb2.py +38 -0
- rizer/create_inits.py +17 -0
- rizer/dist/rizer-1.0.0-py3-none-any.whl +0 -0
- rizer/dist/rizer-1.0.0.tar.gz +0 -0
- rizer/install.sh +36 -0
- rizer/main.py +6377 -0
- rizer/package.json +13 -0
- rizer/pyproject.toml +3 -0
- rizer/requirements.txt +12 -0
- rizer/rizer_launcher.py +57 -0
- rizer/rizerrunner.py +57 -0
- rizer/runner.py +46 -0
- rizer/setup.py +13 -0
- rizer/xC4.py +499 -0
- rizer/xHeaders.py +224 -0
- rizer/xKEys.py +31 -0
- rizer-1.0.20.dist-info/METADATA +3 -0
- rizer-1.0.20.dist-info/RECORD +68 -0
- rizer-1.0.20.dist-info/entry_points.txt +2 -0
- rizer-1.0.20.dist-info/top_level.txt +3 -0
- rizer_launcher.py +59 -0
- rizer-1.0.0.dist-info/RECORD +0 -5
- /rizer-1.0.0.dist-info/METADATA → /rizer/RIZER.egg-info/PKG-INFO +0 -0
- /rizer-1.0.0.dist-info/top_level.txt → /rizer/RIZER.egg-info/dependency_links.txt +0 -0
- {rizer-1.0.0.dist-info → rizer/RIZER.egg-info}/entry_points.txt +0 -0
- {rizer-1.0.0.dist-info → rizer-1.0.20.dist-info}/WHEEL +0 -0
rizer/package.json
ADDED
rizer/pyproject.toml
ADDED
rizer/requirements.txt
ADDED
rizer/rizer_launcher.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import os
|
|
3
|
+
import signal
|
|
4
|
+
import importlib.util
|
|
5
|
+
|
|
6
|
+
# ----------------- Ctrl+C handler -----------------
|
|
7
|
+
def handle_exit(sig, frame):
|
|
8
|
+
print("\n[!] RIZER stopped by user")
|
|
9
|
+
sys.exit(0)
|
|
10
|
+
|
|
11
|
+
signal.signal(signal.SIGINT, handle_exit)
|
|
12
|
+
|
|
13
|
+
# ----------------- Main launcher -----------------
|
|
14
|
+
def main():
|
|
15
|
+
print("🚀 RIZER Launcher Started\n")
|
|
16
|
+
|
|
17
|
+
# 1️⃣ Ask UID & Password
|
|
18
|
+
uid = input("Enter UID: ").strip()
|
|
19
|
+
pw = input("Enter Password: ").strip()
|
|
20
|
+
|
|
21
|
+
# 2️⃣ Locate main.py
|
|
22
|
+
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
23
|
+
MAIN_FILE = os.path.join(BASE_DIR, "main.py")
|
|
24
|
+
|
|
25
|
+
if not os.path.exists(MAIN_FILE):
|
|
26
|
+
print(f"❌ main.py not found in {BASE_DIR}")
|
|
27
|
+
return
|
|
28
|
+
|
|
29
|
+
# 3️⃣ Add BASE_DIR to sys.path to allow absolute imports
|
|
30
|
+
sys.path.insert(0, BASE_DIR)
|
|
31
|
+
os.chdir(BASE_DIR)
|
|
32
|
+
|
|
33
|
+
# 4️⃣ Load main.py as module using importlib
|
|
34
|
+
spec = importlib.util.spec_from_file_location("main_module", MAIN_FILE)
|
|
35
|
+
main_mod = importlib.util.module_from_spec(spec)
|
|
36
|
+
try:
|
|
37
|
+
spec.loader.exec_module(main_mod)
|
|
38
|
+
except Exception as e:
|
|
39
|
+
print(f"❌ Failed to load main.py: {e}")
|
|
40
|
+
return
|
|
41
|
+
|
|
42
|
+
# 5️⃣ Override UID/PW in main module
|
|
43
|
+
setattr(main_mod, "Uid", uid)
|
|
44
|
+
setattr(main_mod, "Pw", pw)
|
|
45
|
+
|
|
46
|
+
# 6️⃣ Run main.py main function
|
|
47
|
+
try:
|
|
48
|
+
if hasattr(main_mod, "main"):
|
|
49
|
+
main_mod.main()
|
|
50
|
+
else:
|
|
51
|
+
print("❌ main.py has no main() function!")
|
|
52
|
+
except Exception as e:
|
|
53
|
+
print(f"❌ Runtime error during main(): {e}")
|
|
54
|
+
|
|
55
|
+
# ----------------- Execute launcher -----------------
|
|
56
|
+
if __name__ == "__main__":
|
|
57
|
+
main()
|
rizer/rizerrunner.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import os
|
|
3
|
+
import signal
|
|
4
|
+
import importlib.util
|
|
5
|
+
|
|
6
|
+
# ----------------- Ctrl+C handler -----------------
|
|
7
|
+
def handle_exit(sig, frame):
|
|
8
|
+
print("\n[!] RIZER stopped by user")
|
|
9
|
+
sys.exit(0)
|
|
10
|
+
|
|
11
|
+
signal.signal(signal.SIGINT, handle_exit)
|
|
12
|
+
|
|
13
|
+
# ----------------- Main launcher -----------------
|
|
14
|
+
def main():
|
|
15
|
+
print("🚀 RIZER Launcher Started\n")
|
|
16
|
+
|
|
17
|
+
# 1️⃣ Ask UID & Password
|
|
18
|
+
uid = input("Enter UID: ").strip()
|
|
19
|
+
pw = input("Enter Password: ").strip()
|
|
20
|
+
|
|
21
|
+
# 2️⃣ Locate main.py
|
|
22
|
+
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
23
|
+
MAIN_FILE = os.path.join(BASE_DIR, "main.py")
|
|
24
|
+
|
|
25
|
+
if not os.path.exists(MAIN_FILE):
|
|
26
|
+
print(f"❌ main.py not found in {BASE_DIR}")
|
|
27
|
+
return
|
|
28
|
+
|
|
29
|
+
# 3️⃣ Add BASE_DIR to sys.path to allow absolute imports
|
|
30
|
+
sys.path.insert(0, BASE_DIR)
|
|
31
|
+
os.chdir(BASE_DIR)
|
|
32
|
+
|
|
33
|
+
# 4️⃣ Load main.py as module using importlib
|
|
34
|
+
spec = importlib.util.spec_from_file_location("main_module", MAIN_FILE)
|
|
35
|
+
main_mod = importlib.util.module_from_spec(spec)
|
|
36
|
+
try:
|
|
37
|
+
spec.loader.exec_module(main_mod)
|
|
38
|
+
except Exception as e:
|
|
39
|
+
print(f"❌ Failed to load main.py: {e}")
|
|
40
|
+
return
|
|
41
|
+
|
|
42
|
+
# 5️⃣ Override UID/PW in main module
|
|
43
|
+
setattr(main_mod, "Uid", uid)
|
|
44
|
+
setattr(main_mod, "Pw", pw)
|
|
45
|
+
|
|
46
|
+
# 6️⃣ Run main.py main function
|
|
47
|
+
try:
|
|
48
|
+
if hasattr(main_mod, "main"):
|
|
49
|
+
main_mod.main()
|
|
50
|
+
else:
|
|
51
|
+
print("❌ main.py has no main() function!")
|
|
52
|
+
except Exception as e:
|
|
53
|
+
print(f"❌ Runtime error during main(): {e}")
|
|
54
|
+
|
|
55
|
+
# ----------------- Execute launcher -----------------
|
|
56
|
+
if __name__ == "__main__":
|
|
57
|
+
main()
|
rizer/runner.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import os
|
|
3
|
+
import signal
|
|
4
|
+
|
|
5
|
+
def main():
|
|
6
|
+
# Ctrl+C safe exit
|
|
7
|
+
def exit_handler(sig, frame):
|
|
8
|
+
print("\n❌ RIZER stopped by user")
|
|
9
|
+
sys.exit(0)
|
|
10
|
+
|
|
11
|
+
signal.signal(signal.SIGINT, exit_handler)
|
|
12
|
+
|
|
13
|
+
print("🚀 RIZER Launcher Started\n")
|
|
14
|
+
|
|
15
|
+
uid = input("Enter UID: ").strip()
|
|
16
|
+
pw = input("Enter Password: ").strip()
|
|
17
|
+
|
|
18
|
+
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
19
|
+
MAIN_FILE = os.path.join(BASE_DIR, "main.py")
|
|
20
|
+
|
|
21
|
+
if not os.path.exists(MAIN_FILE):
|
|
22
|
+
print("❌ main.py not found!")
|
|
23
|
+
return
|
|
24
|
+
|
|
25
|
+
# ensure imports work
|
|
26
|
+
sys.path.insert(0, BASE_DIR)
|
|
27
|
+
os.chdir(BASE_DIR)
|
|
28
|
+
|
|
29
|
+
try:
|
|
30
|
+
with open(MAIN_FILE, "r", encoding="utf-8") as f:
|
|
31
|
+
source = f.read()
|
|
32
|
+
except Exception as e:
|
|
33
|
+
print("❌ main.py read failed:", e)
|
|
34
|
+
return
|
|
35
|
+
|
|
36
|
+
# TEXT replace for UID & PW
|
|
37
|
+
old = "Uid , Pw = 'uiddd','passwordd'"
|
|
38
|
+
new = f"Uid , Pw = '{uid}','{pw}'"
|
|
39
|
+
if old in source:
|
|
40
|
+
source = source.replace(old, new, 1)
|
|
41
|
+
|
|
42
|
+
# run main.py code exactly as written
|
|
43
|
+
try:
|
|
44
|
+
exec(compile(source, MAIN_FILE, "exec"), {"__name__": "__main__", "__file__": MAIN_FILE})
|
|
45
|
+
except Exception as e:
|
|
46
|
+
print("❌ Runtime error:", e)
|