Skip to main content

A awesome To-do List made with python in your terminal

Project description

Task List App with Typer, Rich and Python

Introduction

This document describes a task list application developed with Typer and documented in Markdown. Typer is a Python library that makes it easy to create interactive command line interfaces, while Markdown is a lightweight markup language for text formatting.

Application Features

The application offers the following functionalities:

  • Add tasks: Add new tasks to the list with name and category.
  • Remove tasks: Delete tasks from the list by position.
  • Update tasks: Modify the name or category of a task.
  • Show all tasks: Display all tasks in a formatted table.
  • Mark tasks as done: Mark tasks as completed with a visual indicator.

Feature options

Install completion for the current shell (bash, fish, zsh and etc...)

 $ --install-completion

Show completion for the current shell, to copy it or customize the installation.

 $  --show-completion

Show information that can help you and then exit this option

 $ --help

Example of using CLI commands

1. Command Add

Add a new task to the list.

Arguments:

task: Name of the task.

category: Category of the task.

Example:

For use with Python

 $ python pytask_list.py add "Task 1" "category 1"

2. Command Remove

Delete a task from the list by position.

Arguments:

position: Position (ID) of the task in the list (starting at 1).

Example:

For use with Python

 $ python pytask_list.py remove 1 

3. Command Update

Modify the task or category of a task.

Arguments:

position: Position of the task in the list (starting at 1).

task: New name of the task (optional).

category: New category of the task (optional).

Example:

For use with Python

 $ python pytask_list.py update 1 "Buy bread, milk and fruits" House

4. Command Show

Display all tasks in a formatted table.

Example:

| ID | Task  | Category | Completed |
| 1 | Study_sql | Database | Done ✅ |
| 2 | Study_bash | DevOps | Pendent ❌ |

5. Command task-done

Mark a task as completed.

Arguments:

position: Position of the task in the list (starting at 1).

Example:

For use with Python

 $ python pytask_list.py task_done 1

License

This project is licensed under the MIT License. This permissive license allows you to freely use, modify, and distribute the code for any purpose, commercial or non-commercial. A copy of the MIT License can be found in the LICENSE file within this repository.

Acknowledgements

I appreciate the contributions of these open-source projects that made this application possible (.i.g Typer, Rich, Python's community). Beacuse encourage you to contribute to this project and help me improve it!

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

pytask_list-0.0.21.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

pytask_list-0.0.21-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pytask_list-0.0.21.tar.gz.

File metadata

  • Download URL: pytask_list-0.0.21.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for pytask_list-0.0.21.tar.gz
Algorithm Hash digest
SHA256 00fa3ace7be5edac35f4038f4163576fa495972820bd42e725373ad2b1ba753c
MD5 da566797c245ca5d78eb8ab1bd7bd8ca
BLAKE2b-256 8e107c3d5bf5e471edbe751ed0deaff93fd8d1e67110b3c6d8bd66d172b2941a

See more details on using hashes here.

File details

Details for the file pytask_list-0.0.21-py3-none-any.whl.

File metadata

File hashes

Hashes for pytask_list-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 1f5dd9eed5f5540013ba7395452c5ff91d97fe1e18c9ee365fa49392265f50a5
MD5 6852c1c7e4ecde6eda901f46a49c36ff
BLAKE2b-256 fce9865266ecc3ff6315bc2ecf92f6e1ea93d0208c63d98bbfd5b060962ee631

See more details on using hashes here.

Supported by

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