Skip to main content

A simple command line todo application

Project description

The-Todo

Table of Contents

  1. Installation
  2. Description of Project
  3. Customization
  4. File Descriptions
  5. Licensing

Installation

To install the app, you can use pip :

pip install the-todo

To use the todo, all you have to do is open terminal and type:

python -m todo

The todo app has following options available to manage tasks :

Description

This is a simple command-line todo app built in Python. It allows you to add, view, mark as completed, and remove tasks from a todo list using a terminal interface.

Options :

1. add  : Add task
2. ls   : View tasks
3. cplt : Mark task as completed
4. rm   : Remove task
5. exit : Exit

You can then enter one of these commands to perform an action.

Examples :

Add a new task :

todo >> add Buy groceries
Task added successfully!

View all tasks :

todo >> ls
Tasks:
1. Buy groceries

Mark a task as completed :

todo >> cplt 1
Task marked as completed!

Remove a task :

todo >> rm 1
Task removed successfully!

Customization

By default, the app creates a todo list called "todo" and stores it in a SQLite database at ~/.todos/todo.db. However, you can specify a different name for the list by using the -n or --name option:

python -m todo --name mylist

This will create a new todo list called "mylist" and store it in a SQLite database at ~/.todos/mylist.db.

File Description

.
├── README.md
├── LICENCE : contains MIT LICENCE
├── setup.py : Setup file to create distribution packages
└── todo : The todo package
    ├── __init__.py
    ├── __main__.py 
    ├── todo.py : Todo class with modular code
    └── todo_prompt.py : Todo Prompt

Licensing

This app is released under the MIT License. Feel free to use, modify, and distribute it as you like.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

the-todo-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

the_todo-0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file the-todo-0.1.1.tar.gz.

File metadata

  • Download URL: the-todo-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for the-todo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41e9ce3674af033cbb65a1cf92ddade054ec60d79cc1f1ef6ae75bbea8bafb94
MD5 f68e58e844d6c70d47d93f9771dbb1f2
BLAKE2b-256 b950384b6623df574a988f633bc57d02a558bfb6b9838d5f34d63bb11e29f921

See more details on using hashes here.

File details

Details for the file the_todo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: the_todo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for the_todo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a70edcbafcf56b41b6e71b6b75486454d00b8ef0efb43317399a9bb87da1a65
MD5 2e169ce856e55795f895c2b1a35a7a2e
BLAKE2b-256 18c34386ba230fb04e220997a6bfa0fddc134179230e7cdc40384765cc9666c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page