tasktodo 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.
tasktodo-1.0.0/LICENSE ADDED
@@ -0,0 +1,14 @@
1
+ License & Disclaimer
2
+ Copyright © 2026-2027 Viren Sahti
3
+
4
+ This software is provided "as is", without any warranty, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
5
+
6
+ By using this software, you agree that Viren is not responsible for any direct or indirect damages, loss of data, profits, or other consequences arising from:
7
+ - Misuse of the software
8
+ - Criminal activity, hacking, or any illegal use
9
+ - Modifications or derivative works
10
+ - Software bugs, failures, or security breaches
11
+
12
+ This software may only be used for legitimate purposes. Redistribution, modification, or claiming the code as your own is strictly prohibited. All rights remain with Viren Sahti.
13
+
14
+ Use at your own risk.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: tasktodo
3
+ Version: 1.0.0
4
+ Summary: TaskTodo — a simple task management tool using NDCA for Python.
5
+ Author: Viren Sahti
6
+ License: License & Disclaimer
7
+ Copyright © 2026-2027 Viren Sahti
8
+
9
+ This software is provided "as is", without any warranty, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
10
+
11
+ By using this software, you agree that Viren is not responsible for any direct or indirect damages, loss of data, profits, or other consequences arising from:
12
+ - Misuse of the software
13
+ - Criminal activity, hacking, or any illegal use
14
+ - Modifications or derivative works
15
+ - Software bugs, failures, or security breaches
16
+
17
+ This software may only be used for legitimate purposes. Redistribution, modification, or claiming the code as your own is strictly prohibited. All rights remain with Viren Sahti.
18
+
19
+ Use at your own risk.
20
+ Keywords: tasktodo,tasks,todo,management,ndca,python,library
21
+ Classifier: Development Status :: 4 - Beta
22
+ Classifier: Intended Audience :: Developers
23
+ Classifier: License :: OSI Approved :: MIT License
24
+ Classifier: Programming Language :: Python :: 3
25
+ Classifier: Programming Language :: Python :: 3.9
26
+ Classifier: Programming Language :: Python :: 3.10
27
+ Classifier: Programming Language :: Python :: 3.11
28
+ Classifier: Programming Language :: Python :: 3.12
29
+ Classifier: Operating System :: OS Independent
30
+ Classifier: Topic :: Software Development :: Libraries
31
+ Classifier: Topic :: Utilities
32
+ Requires-Python: >=3.9
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE
35
+ Requires-Dist: ndca>=3.0.0
36
+ Dynamic: license-file
37
+
38
+ # TaskTodo
39
+
40
+ TaskTodo is a simple Python CLI tool to manage your personal tasks.
41
+ It uses **NDCA** for safe, persistent, human-readable storage.
42
+
43
+ ## Installation
44
+
45
+ ```bash
46
+ pip install tasktodo
@@ -0,0 +1,9 @@
1
+ # TaskTodo
2
+
3
+ TaskTodo is a simple Python CLI tool to manage your personal tasks.
4
+ It uses **NDCA** for safe, persistent, human-readable storage.
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ pip install tasktodo
@@ -0,0 +1,49 @@
1
+ [build-system]
2
+ requires = ["setuptools>=70.0", "wheel>=0.38.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "tasktodo"
7
+ version = "1.0.0"
8
+ description = "TaskTodo — a simple task management tool using NDCA for Python."
9
+ readme = "README.md"
10
+ license = { file = "LICENSE" }
11
+ requires-python = ">=3.9"
12
+ authors = [
13
+ { name = "Viren Sahti" }
14
+ ]
15
+ keywords = ["tasktodo", "tasks", "todo", "management", "ndca", "python", "library"]
16
+ classifiers = [
17
+ "Development Status :: 4 - Beta",
18
+ "Intended Audience :: Developers",
19
+ "License :: OSI Approved :: MIT License",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.9",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Operating System :: OS Independent",
26
+ "Topic :: Software Development :: Libraries",
27
+ "Topic :: Utilities"
28
+ ]
29
+
30
+ dependencies = ["ndca>=3.0.0"]
31
+
32
+ [project.optional-dependencies]
33
+ # none
34
+
35
+ [project.scripts]
36
+ tasktodo = "tasktodo.cli:main"
37
+
38
+ [tool.setuptools]
39
+ include-package-data = true
40
+ zip-safe = false
41
+
42
+ [tool.setuptools.packages.find]
43
+ include = ["tasktodo*"]
44
+
45
+ [tool.setuptools.package-data]
46
+ "tasktodo" = ["py.typed", "*.pyi", "py.typed"]
47
+
48
+ [tool.setuptools.dynamic]
49
+ readme = { file = "README.md" }
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,126 @@
1
+ from ndca import NDCA
2
+ import os
3
+ import subprocess
4
+ import sys
5
+ import time
6
+
7
+ n = NDCA()
8
+ n.file("data/.local/data/tasktodo/.data.ndca", autosave=True)
9
+ version = "1.0.0"
10
+
11
+ def refresh():
12
+ os.system("cls" if os.name == "nt" else "clear")
13
+ main()
14
+
15
+ def clear():
16
+ os.system("cls" if os.name == "nt" else "clear")
17
+
18
+ def restart():
19
+ refresh()
20
+ python = sys.executable
21
+ os.execv(python, [python] + sys.argv)
22
+
23
+ def setup():
24
+ print("Welcome by your personal Task Manager!")
25
+ name = input("How should i call you?: ")
26
+ print("Is the name", name, "correct?")
27
+ name_correct = input("y/n: ")
28
+ if name_correct != "y":
29
+ restart()
30
+ else:
31
+ n.write("name", name)
32
+ print("Hello", name + "!")
33
+ time.sleep(0.75)
34
+ refresh()
35
+
36
+ def add():
37
+ clear()
38
+ print("Add an task to your list!")
39
+ task_name = input("name of task: ")
40
+ if task_name == "":
41
+ refresh()
42
+ task_content = input("content of task: ")
43
+ n.write(task_name, task_content)
44
+ print(f"Task '{task_name}' has been saved!")
45
+ time.sleep(1)
46
+ refresh()
47
+
48
+ def remove():
49
+ clear()
50
+ print("Remove an task from your list!")
51
+ task_name = input("name of task: ")
52
+ if task_name == "":
53
+ refresh()
54
+ if n.exists(task_name) != True:
55
+ print("task not found!")
56
+ time.sleep(0.5)
57
+ refresh()
58
+ n.delete(task_name)
59
+ print(f"Task {task_name} has been removed!")
60
+ time.sleep(1)
61
+ refresh()
62
+
63
+ def show_list():
64
+ clear()
65
+ print("Your tasks:\n")
66
+
67
+ keys = n.keys()
68
+
69
+ tasks_found = False
70
+
71
+ for key in keys:
72
+ if key != "name":
73
+ tasks_found = True
74
+ print(f"- {key}: {n.get(key)}")
75
+
76
+ if not tasks_found:
77
+ print("No tasks found.")
78
+
79
+ input("\nPress Enter to go back...\n")
80
+ refresh()
81
+
82
+ def reset_all():
83
+ n.wipe()
84
+ restart()
85
+
86
+ def info():
87
+ print(f"v{version}")
88
+ print("created by Viren Sahti!")
89
+ input("Enter to continue...")
90
+ refresh()
91
+
92
+ def main():
93
+ if n.exists("name") != True:
94
+ setup()
95
+ name = n.get("name")
96
+ print(f"Welcome back {name}!\n\nTaskTodo!")
97
+ print("""
98
+ 1. add
99
+ 2. remove
100
+ 3. list
101
+ 4. reset
102
+ 5. info
103
+ 6. exit
104
+ """)
105
+ while (True):
106
+ choice = input("tt_1/6: ")
107
+ if choice == "1":
108
+ add()
109
+ elif choice == "2":
110
+ remove()
111
+ elif choice == "3":
112
+ show_list()
113
+ elif choice == "4":
114
+ reset_all()
115
+ elif choice == "5":
116
+ info()
117
+ elif choice == "6":
118
+ print("Bye!")
119
+ exit()
120
+ else:
121
+ print("Invalid choice!")
122
+ input("Press enter to continue!\n")
123
+ refresh()
124
+
125
+ if __name__ == "__main__":
126
+ main()
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: tasktodo
3
+ Version: 1.0.0
4
+ Summary: TaskTodo — a simple task management tool using NDCA for Python.
5
+ Author: Viren Sahti
6
+ License: License & Disclaimer
7
+ Copyright © 2026-2027 Viren Sahti
8
+
9
+ This software is provided "as is", without any warranty, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
10
+
11
+ By using this software, you agree that Viren is not responsible for any direct or indirect damages, loss of data, profits, or other consequences arising from:
12
+ - Misuse of the software
13
+ - Criminal activity, hacking, or any illegal use
14
+ - Modifications or derivative works
15
+ - Software bugs, failures, or security breaches
16
+
17
+ This software may only be used for legitimate purposes. Redistribution, modification, or claiming the code as your own is strictly prohibited. All rights remain with Viren Sahti.
18
+
19
+ Use at your own risk.
20
+ Keywords: tasktodo,tasks,todo,management,ndca,python,library
21
+ Classifier: Development Status :: 4 - Beta
22
+ Classifier: Intended Audience :: Developers
23
+ Classifier: License :: OSI Approved :: MIT License
24
+ Classifier: Programming Language :: Python :: 3
25
+ Classifier: Programming Language :: Python :: 3.9
26
+ Classifier: Programming Language :: Python :: 3.10
27
+ Classifier: Programming Language :: Python :: 3.11
28
+ Classifier: Programming Language :: Python :: 3.12
29
+ Classifier: Operating System :: OS Independent
30
+ Classifier: Topic :: Software Development :: Libraries
31
+ Classifier: Topic :: Utilities
32
+ Requires-Python: >=3.9
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE
35
+ Requires-Dist: ndca>=3.0.0
36
+ Dynamic: license-file
37
+
38
+ # TaskTodo
39
+
40
+ TaskTodo is a simple Python CLI tool to manage your personal tasks.
41
+ It uses **NDCA** for safe, persistent, human-readable storage.
42
+
43
+ ## Installation
44
+
45
+ ```bash
46
+ pip install tasktodo
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ tasktodo/cli.py
5
+ tasktodo.egg-info/PKG-INFO
6
+ tasktodo.egg-info/SOURCES.txt
7
+ tasktodo.egg-info/dependency_links.txt
8
+ tasktodo.egg-info/entry_points.txt
9
+ tasktodo.egg-info/not-zip-safe
10
+ tasktodo.egg-info/requires.txt
11
+ tasktodo.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ tasktodo = tasktodo.cli:main
@@ -0,0 +1 @@
1
+ ndca>=3.0.0
@@ -0,0 +1 @@
1
+ tasktodo