skateboarderr-password 1.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.
@@ -0,0 +1,4 @@
1
+ Metadata-Version: 2.4
2
+ Name: skateboarderr-password
3
+ Version: 1.0.0
4
+ Summary: A simple popup password lock made with Turtle
@@ -0,0 +1 @@
1
+ import password
@@ -0,0 +1,37 @@
1
+ import turtle
2
+ import os
3
+ from tkinter import messagebox
4
+
5
+ turtle.Screen()._root.withdraw()
6
+
7
+ if not os.path.exists("password.txt"):
8
+ open("password.txt", "w").write("000")
9
+
10
+ current_password = open("password.txt").read()
11
+
12
+ def password_box():
13
+
14
+ def settings():
15
+ old_password_input = turtle.textinput("Enter Old Password", "Enter Old Password To Change Password")
16
+
17
+ if old_password_input == current_password:
18
+ new_password_input = turtle.textinput("Enter New Password", "Enter New Pasword")
19
+
20
+ if new_password_input:
21
+ open("password.txt", "w").write(new_password_input)
22
+ messagebox.showinfo("Done!", "Password Changed")
23
+ else:
24
+ messagebox.showerror("Wrong Password", "Password Not Changed")
25
+
26
+ password = turtle.textinput("Enter Password", "Enter Password or Type Settings To Change Password")
27
+
28
+ if password == current_password:
29
+ return
30
+ elif password == "Settings":
31
+ settings()
32
+ exit()
33
+ elif password == "settings":
34
+ settings()
35
+ exit()
36
+ else:
37
+ exit()
@@ -0,0 +1,11 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "skateboarderr-password"
7
+ version = "1.0.0"
8
+ description = "A simple popup password lock made with Turtle"
9
+
10
+ [tool.setuptools]
11
+ packages = ["password"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,4 @@
1
+ Metadata-Version: 2.4
2
+ Name: skateboarderr-password
3
+ Version: 1.0.0
4
+ Summary: A simple popup password lock made with Turtle
@@ -0,0 +1,7 @@
1
+ pyproject.toml
2
+ password/__init__.py
3
+ password/password.py
4
+ skateboarderr_password.egg-info/PKG-INFO
5
+ skateboarderr_password.egg-info/SOURCES.txt
6
+ skateboarderr_password.egg-info/dependency_links.txt
7
+ skateboarderr_password.egg-info/top_level.txt