ConsoleType 1.4__tar.gz → 1.4.2__tar.gz
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.
- consoletype-1.4.2/ConsoleType/__init__.py +60 -0
- consoletype-1.4.2/ConsoleType/getit.py +11 -0
- {consoletype-1.4 → consoletype-1.4.2}/ConsoleType.egg-info/PKG-INFO +2 -2
- {consoletype-1.4 → consoletype-1.4.2}/ConsoleType.egg-info/SOURCES.txt +1 -0
- {consoletype-1.4 → consoletype-1.4.2}/PKG-INFO +2 -2
- {consoletype-1.4 → consoletype-1.4.2}/README.md +1 -1
- {consoletype-1.4 → consoletype-1.4.2}/setup.py +1 -1
- consoletype-1.4/ConsoleType/__init__.py +0 -60
- {consoletype-1.4 → consoletype-1.4.2}/ConsoleType.egg-info/dependency_links.txt +0 -0
- {consoletype-1.4 → consoletype-1.4.2}/ConsoleType.egg-info/top_level.txt +0 -0
- {consoletype-1.4 → consoletype-1.4.2}/LICENSE +0 -0
- {consoletype-1.4 → consoletype-1.4.2}/setup.cfg +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import time
|
|
3
|
+
import .getit
|
|
4
|
+
import requests
|
|
5
|
+
|
|
6
|
+
def prints(text, times, size, title):
|
|
7
|
+
sizes = 0
|
|
8
|
+
ot = "-"
|
|
9
|
+
tt = "-" * size
|
|
10
|
+
while not sizes == size:
|
|
11
|
+
os.system("cls")
|
|
12
|
+
print(f"{ot}{text}{tt}")
|
|
13
|
+
time.sleep(times)
|
|
14
|
+
tt = tt[:-1]
|
|
15
|
+
ot = ot + "-"
|
|
16
|
+
sizes += 1
|
|
17
|
+
|
|
18
|
+
print(title)
|
|
19
|
+
#print("Create in prints")
|
|
20
|
+
|
|
21
|
+
def outputs(text, times):
|
|
22
|
+
print(f"gf")
|
|
23
|
+
|
|
24
|
+
def title(title):
|
|
25
|
+
print(title)
|
|
26
|
+
|
|
27
|
+
def idlogin(homeurl, error, name, otvet):
|
|
28
|
+
print(f"IDLogin {name}")
|
|
29
|
+
data = {"username": "example", "password": "example"}
|
|
30
|
+
data["username"] = input("Имя Пользователя: ")
|
|
31
|
+
data["password"] = input("Пароль: ")
|
|
32
|
+
session = requests.Session()
|
|
33
|
+
resp = session.get(homeurl, data=data)
|
|
34
|
+
if otvet in resp.text:
|
|
35
|
+
print("Вход выполнен IDLogin")
|
|
36
|
+
IDLogin = resp.text[4:]
|
|
37
|
+
return IDLogin
|
|
38
|
+
else:
|
|
39
|
+
print(error)
|
|
40
|
+
|
|
41
|
+
def login():
|
|
42
|
+
print("IDLogin")
|
|
43
|
+
|
|
44
|
+
def cval(one, two, onez, twoz):
|
|
45
|
+
one = eval(f"{one}{onez}{two}")
|
|
46
|
+
one = eval(f"{one}{twoz}{two}")
|
|
47
|
+
return one
|
|
48
|
+
|
|
49
|
+
def spatext(text):
|
|
50
|
+
texts = " ".join(original_string)
|
|
51
|
+
text = texts
|
|
52
|
+
return texts
|
|
53
|
+
|
|
54
|
+
def set(size,simvol):
|
|
55
|
+
simvol = simvol * size
|
|
56
|
+
return simvol
|
|
57
|
+
|
|
58
|
+
def get(url, username,password, otvet, login):
|
|
59
|
+
text = getit.getir(url, username, password, otvet, login)
|
|
60
|
+
return text
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import requests
|
|
2
|
+
|
|
3
|
+
def getir(url, username, password, otvet, login):
|
|
4
|
+
data = {"username": "example", "password": "example"}
|
|
5
|
+
data["password"] = password
|
|
6
|
+
data["username"] = username
|
|
7
|
+
session = requests.Session()
|
|
8
|
+
resp = session.get(url, data=data)
|
|
9
|
+
if otvet in resp.text:
|
|
10
|
+
print(login)
|
|
11
|
+
return resp.text
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ConsoleType
|
|
3
|
-
Version: 1.4
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Update README
|
|
5
5
|
Home-page: https://github.com/Vaddlkk
|
|
6
6
|
Author: Vadim | Mur Studio
|
|
@@ -43,5 +43,5 @@ specified parameters.
|
|
|
43
43
|
### Title
|
|
44
44
|
Simply outputs text as print.
|
|
45
45
|
|
|
46
|
-
###
|
|
46
|
+
### IDLogin
|
|
47
47
|
This feature enables account login using IDLogin technology. All data is stored and processed on your server.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ConsoleType
|
|
3
|
-
Version: 1.4
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Update README
|
|
5
5
|
Home-page: https://github.com/Vaddlkk
|
|
6
6
|
Author: Vadim | Mur Studio
|
|
@@ -43,5 +43,5 @@ specified parameters.
|
|
|
43
43
|
### Title
|
|
44
44
|
Simply outputs text as print.
|
|
45
45
|
|
|
46
|
-
###
|
|
46
|
+
### IDLogin
|
|
47
47
|
This feature enables account login using IDLogin technology. All data is stored and processed on your server.
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import time
|
|
3
|
-
import requests
|
|
4
|
-
from warnings import *
|
|
5
|
-
|
|
6
|
-
@deprecated("Функция Login ольше не работает перепешите части с ней на idlogin")
|
|
7
|
-
def prints(text, times, size, title):
|
|
8
|
-
sizes = 0
|
|
9
|
-
ot = "-"
|
|
10
|
-
tt = "-" * size
|
|
11
|
-
while not sizes == size:
|
|
12
|
-
os.system("cls")
|
|
13
|
-
print(f"{ot}{text}{tt}")
|
|
14
|
-
time.sleep(times)
|
|
15
|
-
tt = tt[:-1]
|
|
16
|
-
ot = ot + "-"
|
|
17
|
-
sizes += 1
|
|
18
|
-
|
|
19
|
-
print(title)
|
|
20
|
-
#print("Create in prints")
|
|
21
|
-
|
|
22
|
-
def outputs(text, times):
|
|
23
|
-
print(f"gf")
|
|
24
|
-
|
|
25
|
-
def title(title):
|
|
26
|
-
print(title)
|
|
27
|
-
|
|
28
|
-
def idlogin(homeurl, error, name):
|
|
29
|
-
print(f"IDLogin {name}")
|
|
30
|
-
data = {"username": "example", "password": "example"}
|
|
31
|
-
data["username"] = input("Имя Пользователя: ")
|
|
32
|
-
data["password"] = input("Пароль: ")
|
|
33
|
-
session = requests.Session()
|
|
34
|
-
resp = session.post(homeurl, data=data)
|
|
35
|
-
if "dp" in resp.text:
|
|
36
|
-
print("Вход выполнен IDLogin")
|
|
37
|
-
IDLogin = resp.text[4:]
|
|
38
|
-
return IDLogin
|
|
39
|
-
else:
|
|
40
|
-
print(error)
|
|
41
|
-
|
|
42
|
-
@deprecated("Функция Login ольше не работает перепешите части с ней на idlogin")
|
|
43
|
-
def login(homeurl, error, name):
|
|
44
|
-
print(f"IDLogin {name}")
|
|
45
|
-
data = {"username": "example", "password": "example"}
|
|
46
|
-
data["username"] = input("Имя Пользователя: ")
|
|
47
|
-
data["password"] = input("Пароль: ")
|
|
48
|
-
session = requests.Session()
|
|
49
|
-
resp = session.post(homeurl, data=data)
|
|
50
|
-
if "dp" in resp.text:
|
|
51
|
-
print("Вход выполнен IDLogin")
|
|
52
|
-
IDLogin = resp.text[4:]
|
|
53
|
-
return IDLogin
|
|
54
|
-
else:
|
|
55
|
-
print(error)
|
|
56
|
-
|
|
57
|
-
def cval(one, two, onez, twoz):
|
|
58
|
-
one = eval(f"{one}{onez}{two}")
|
|
59
|
-
one = eval(f"{one}{twoz}{two}")
|
|
60
|
-
return one
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|