Skip to main content

TaskManager

TaskManager is a simple Python package for managing tasks. It's designed to be used in command-line interface (CLI) applications, providing basic task management functionality.

Project Status

Dear users and visitors, this project development is COMPLETED and no further development, from the creator's part, is expected in the foreseen future, but feel free to fork the project on Github and build upon it, or improve it in any way. The latest stable release by the creator is v1.1.5, thanks for your support, keep learning and contributing !

Description

This package was created as part of a learning project to understand Python package development and distribution. It has evolved into a more robust solution for task management, incorporating features that allow users to easily add, remove, and track tasks along with their priorities.

The TaskManager package provides functionality to:

  • Add tasks to a to-do list with customizable priority levels
  • Mark tasks as completed
  • Remove tasks from the list
  • View current tasks and completed tasks
  • Generate detailed reports of tasks
  • Support for both string and integer priority types

Usage

Here's a quick example of how to use the TaskManager effectively:

from ttask_manager import TaskManager

# Create a new TaskManager instance
tm = TaskManager()

# Load existing tasks (if any) from a .json file
tm.load_state('~/data_file_path')

# Add multiple tasks to the to-do list
tm.add_task(("Write README","medium"), "Create setup.py", ("Push to GitHub","high"), "Test the application")

# View current to-do tasks
tm.current_state('to-do')

# Mark specific tasks as done
tm.task_done("Write README", "Test the application")

# View completed tasks
tm.current_state('done')

# Print the current state
print(tm)

# Generate a report of today's tasks
tm.report('~/a_dir_to_save_to','report_file_name.txt')

# Clear the to-do list after completing tasks
tm.clear('todo')

# Save current tasks (if any) to a .json file
tm.save_current_state('~/data_file_path')

This example showcases how to create a TaskManager instance, load existing tasks, manage to-do and completed tasks, generate a daily report, and reset the lists as needed.

Features

  • Add multiple tasks at once with customizable priorities
  • Remove tasks from the to-do list
  • Mark tasks as completed
  • View current to-do list and completed tasks with formatting
  • Generate customizable reports of tasks (by 'to-do', 'done', or 'all')
  • Clear specific lists or reset both lists

Development

This project was primarily created as a learning exercise in Python package development. Its simplicity is intentional, and there are no plans for significant feature additions or expansions. However, if you find a bug or have a suggestion for a minor improvement, feel free to open an issue on the GitHub repository.

Notice

Due to the pressure of my studies, I will be taking a pause from further development on the TaskManager. Thank you for your understanding and support during this time.

Licensing

The code in this project is licensed under MIT license.

Author

Taha Yasser Adnan

This project is part of my journey in learning Python package development. While it may not be a groundbreaking package, it represents an important step in understanding the process of creating, packaging, and distributing Python projects.

Metadata

Release files for ttask-manager 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttask-manager 1.1.5
File Size Uploaded
ttask_manager-1.1.5.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ttask-manager 1.1.5
File Interpreter ABI Platform
ttask_manager-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 kB

Release files / ttask_manager-1.1.5.tar.gz

Download URL ttask_manager-1.1.5.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e9262df2c5c55f2ad1ce0f4d911c213546286fc3fd6a2007a97bc697ee52845d
BLAKE2b-256 checksum
How to use checksums
bda7b165111e0b2c845d59bc7730b81a91546eb9d9bbd5c8abf6b674378d13c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / ttask_manager-1.1.5-py3-none-any.whl

Download URL ttask_manager-1.1.5-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
475253a7beb1a32f9351db8fdda9378c5d67f6e2454117fb1732279098516431
BLAKE2b-256 checksum
How to use checksums
e0ddf6087770757c3657402d122c8e98169b32d469389d6feb8a82b7f729af5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page