Skip to main content

A simple task management package.

Project description

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.

Description

This package was created as part of a learning project to understand Python package development and distribution. While it's not intended to be a comprehensive task management solution, it serves as a practical example of how to structure and package a Python project.

The TaskManager package provides functionality to:

  • Add tasks to a to-do list
  • Mark tasks as completed
  • Remove tasks from the list
  • View current tasks and completed tasks

What's new with the 0.1.1:

This release introduces a new feature that allows the TaskManager to save and load its state to/from a JSON file. This means that users can now persist their task lists across sessions, making it easier to manage their tasks. Additionally, the code has been refactored to improve readability and maintainability.

Usage

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

from task_manager_tahadnan import TaskManager

# Create a new TaskManager instance
tm = TaskManager()

# Add some tasks
tm.add_task("Write README", "Create setup.py", "Push to GitHub")

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

# Mark a task as done
tm.task_done("Write README")

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

Features

  • Add multiple tasks at once
  • Remove tasks from the to-do list
  • Mark tasks as completed
  • View current to-do list and completed tasks
  • Clear to-do or completed lists
  • 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.

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.

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

ttask_manager-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

ttask_manager-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttask_manager-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for ttask_manager-0.1.1.tar.gz
Algorithm Hash digest
SHA256 16e2a84ba0df9138da7531bbd5d6d7f1c2882973b916986b5acc54c6546235a2
MD5 c11dd1fbc83915ca0bd7db391653344f
BLAKE2b-256 45a9d2e1a20cf0d0dba4dcd0dd925c02ae7b4a81aa6ead561af6d6bc6ec9f8c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ttask_manager-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f51b73590e129ad67474426b2acdd520cac2632c734e54700d4f2f198d988cf8
MD5 a9fc8c47267b9900ff9aa408552ef0c0
BLAKE2b-256 76931405c9ea0823912f5cb79416ddc7be80d9da1c62fbfa9fa59e60b5e4bffa

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