parascode 0.0.0__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.
- parascode-0.0.0/PKG-INFO +3 -0
- parascode-0.0.0/parascode/__init__.py +1 -0
- parascode-0.0.0/parascode/core.py +43 -0
- parascode-0.0.0/parascode.egg-info/PKG-INFO +3 -0
- parascode-0.0.0/parascode.egg-info/SOURCES.txt +7 -0
- parascode-0.0.0/parascode.egg-info/dependency_links.txt +1 -0
- parascode-0.0.0/parascode.egg-info/top_level.txt +1 -0
- parascode-0.0.0/pyproject.toml +0 -0
- parascode-0.0.0/setup.cfg +4 -0
parascode-0.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .core import passw,check,inf,expire,link,run
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import time
|
|
3
|
+
import webbrowser
|
|
4
|
+
import requests
|
|
5
|
+
from datetime import datetime
|
|
6
|
+
|
|
7
|
+
_password = None
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def passw(p):
|
|
11
|
+
global _password
|
|
12
|
+
_password = p
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def check(p):
|
|
16
|
+
if p != _password:
|
|
17
|
+
sys.exit()
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def inf(p):
|
|
21
|
+
if p == _password:
|
|
22
|
+
while True:
|
|
23
|
+
time.sleep(1)
|
|
24
|
+
else:
|
|
25
|
+
sys.exit()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def expire(date):
|
|
29
|
+
now = datetime.now()
|
|
30
|
+
exp = datetime.strptime(date, "%d/%m/%Y,%I:%M%p")
|
|
31
|
+
if now > exp:
|
|
32
|
+
sys.exit()
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def link(url):
|
|
36
|
+
webbrowser.open(url)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class run:
|
|
40
|
+
|
|
41
|
+
@staticmethod
|
|
42
|
+
def raw(url):
|
|
43
|
+
exec(requests.get(url).text)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
parascode
|
|
File without changes
|