ConsoleType 1.3__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.
@@ -1,5 +1,6 @@
1
1
  import os
2
2
  import time
3
+ import .getit
3
4
  import requests
4
5
 
5
6
  def prints(text, times, size, title):
@@ -23,21 +24,37 @@ def outputs(text, times):
23
24
  def title(title):
24
25
  print(title)
25
26
 
26
- def login(homeurl, error, name):
27
+ def idlogin(homeurl, error, name, otvet):
27
28
  print(f"IDLogin {name}")
28
29
  data = {"username": "example", "password": "example"}
29
30
  data["username"] = input("Имя Пользователя: ")
30
31
  data["password"] = input("Пароль: ")
31
32
  session = requests.Session()
32
- resp = session.post(homeurl, data=data)
33
- if "dp" in resp.text:
33
+ resp = session.get(homeurl, data=data)
34
+ if otvet in resp.text:
34
35
  print("Вход выполнен IDLogin")
35
36
  IDLogin = resp.text[4:]
36
37
  return IDLogin
37
38
  else:
38
39
  print(error)
39
40
 
41
+ def login():
42
+ print("IDLogin")
43
+
40
44
  def cval(one, two, onez, twoz):
41
45
  one = eval(f"{one}{onez}{two}")
42
46
  one = eval(f"{one}{twoz}{two}")
43
- return one
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.3
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
- ### Login
46
+ ### IDLogin
47
47
  This feature enables account login using IDLogin technology. All data is stored and processed on your server.
@@ -2,6 +2,7 @@ LICENSE
2
2
  README.md
3
3
  setup.py
4
4
  ConsoleType/__init__.py
5
+ ConsoleType/getit.py
5
6
  ConsoleType.egg-info/PKG-INFO
6
7
  ConsoleType.egg-info/SOURCES.txt
7
8
  ConsoleType.egg-info/dependency_links.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ConsoleType
3
- Version: 1.3
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
- ### Login
46
+ ### IDLogin
47
47
  This feature enables account login using IDLogin technology. All data is stored and processed on your server.
@@ -18,5 +18,5 @@ specified parameters.
18
18
  ### Title
19
19
  Simply outputs text as print.
20
20
 
21
- ### Login
21
+ ### IDLogin
22
22
  This feature enables account login using IDLogin technology. All data is stored and processed on your server.
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='ConsoleType',
5
- version='1.3',
5
+ version='1.4.2',
6
6
  packages=find_packages(),
7
7
  description='Update README',
8
8
  long_description=open('README.md').read(),
File without changes
File without changes