{"id":18744958,"url":"https://github.com/rkstudio585/todo-list-python","last_synced_at":"2025-11-22T19:30:16.527Z","repository":{"id":255908009,"uuid":"853863785","full_name":"rkstudio585/todo-list-python","owner":"rkstudio585","description":"A simple Python To-Do List application with an SQLite backend. It lets you add, view, and delete tasks via a command-line interface. Tasks are stored persistently in an SQLite database, ensuring they are saved between sessions for reliable task management.","archived":false,"fork":false,"pushed_at":"2024-09-07T18:46:33.000Z","size":7,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T20:14:13.326Z","etag":null,"topics":["pyside6","python","python-project","qml","qtpy","tasks-manager","todo-list"],"latest_commit_sha":null,"homepage":"https://rkstudio.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rkstudio585.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-07T18:39:32.000Z","updated_at":"2024-09-07T18:58:12.000Z","dependencies_parsed_at":"2024-09-07T20:01:48.120Z","dependency_job_id":"67588af7-1e12-40c3-8b9f-97044b0827eb","html_url":"https://github.com/rkstudio585/todo-list-python","commit_stats":null,"previous_names":["mdriyadkhan585/todo-list-python","rkstudio585/todo-list-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Ftodo-list-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Ftodo-list-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Ftodo-list-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Ftodo-list-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkstudio585","download_url":"https://codeload.github.com/rkstudio585/todo-list-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627247,"owners_count":19670844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyside6","python","python-project","qml","qtpy","tasks-manager","todo-list"],"created_at":"2024-11-07T16:16:26.840Z","updated_at":"2025-11-22T19:30:16.477Z","avatar_url":"https://github.com/rkstudio585.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 To-Do List Application\n---\n[In Python GUI](https://github.com/mdriyadkhan585/todo-list-GUI)\n\n\n[In C Script](https://github.com/mdriyadkhan585/todo-list)\n\n\n![Logo](logo.svg)\n\n---\nWelcome to the Python To-Do List Application! This program allows you to manage your tasks using a simple command-line interface, with tasks stored in an SQLite database for persistence.\n\n## 📋 Features\n\n- **Add Tasks** 🆕: Easily add tasks to your to-do list.\n- **View Tasks** 📋: Display all tasks in a clear, formatted list.\n- **Delete Tasks** 🗑️: Remove tasks from your list.\n- **Persistent Storage** 💾: Tasks are saved in an SQLite database to ensure data is retained between sessions.\n\n## 📦 Table of Contents\n\n1. [Prerequisites](#prerequisites)\n2. [Installation](#installation)\n3. [Usage](#usage)\n4. [Code Structure](#code-structure)\n5. [Troubleshooting](#troubleshooting)\n6. [License](#license)\n\n## 📋 Prerequisites\n\nBefore running the application, ensure you have:\n\n- **Python** (version 3.x recommended)\n- **SQLite** (Python’s `sqlite3` module is included with standard Python distributions)\n\n## 🚀 Installation\n\n1. **Clone the Repository** (or download the source code):\n\n   ```sh\n   git clone https://github.com/mdriyadkhan585/todo-list-python.git\n   cd todo-list-python\n   ```\n\n2. **No Additional Packages Needed**: The script uses built-in Python libraries.\n\n## 📖 Usage\n\nRun the Python script with:\n\n```sh\npython todo_list.py\n```\n\n### Main Menu Options\n\n1. **Add Task** 🆕\n   - Enter the task description when prompted.\n   - The task will be added to the list.\n\n2. **View Tasks** 📋\n   - Displays all current tasks with their respective IDs.\n\n3. **Delete Task** 🗑️\n   - First, view the tasks to get the ID of the task you want to delete.\n   - Enter the task ID to remove it from the list.\n\n4. **Exit** 🚪\n   - Exits the program.\n\n## 🔧 Code Structure\n\n- **`todo_list.py`**: Contains the main program logic including database operations and user interface.\n  - `open_database()`: Opens the SQLite database.\n  - `create_table(conn)`: Creates the tasks table if it does not exist.\n  - `add_task(conn, task)`: Adds a new task to the database.\n  - `view_tasks(conn)`: Retrieves and displays all tasks.\n  - `delete_task(conn, task_id)`: Deletes a task based on its ID.\n  - `main()`: Manages user interaction and menu options.\n\n## 🛠️ Troubleshooting\n\n- **\"No tasks to show\"**: Indicates that no tasks are present in the database. Add tasks to see them listed.\n- **\"Invalid task number\"**: Make sure to enter a valid task ID when deleting tasks. IDs are integers.\n- **\"Failed to add task\"**: Check for issues in task input or database connection.\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## 🧑‍💻 Contributing\n\nFeel free to contribute by submitting issues or pull requests on the [GitHub repository](https://github.com/mdriyadkhan585/todo-list-python).\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Ftodo-list-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkstudio585%2Ftodo-list-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Ftodo-list-python/lists"}