Skip to main content

No project description provided

Project description

Task Prioritizer

Task Prioritizer is a Python package designed to help you decide which task to tackle first based on a simple scoring formula. This tool is particularly useful when you're balancing tasks with varying levels of importance and effort.

Installation

You can install Task Prioritizer directly from PyPi:

pip install task_prioritizer

Usage

To use Task Prioritizer, you need to provide two key pieces of information for each task: its importance and the effort required to complete it. Both parameters should be between 1 and 4.

Here's a quick example:

from task_prioritizer.prioritizer import calculate_task_score


# Example tasks
tasks = {
    "Cleaning the house": (3, 4),  # (importance, effort)
    "Studying programming": (4, 2),
    "Paying the bills": (4, 1)
}

# Calculating and printing task scores
for task, (importance, effort) in tasks.items():
    score = calculate_task_score(importance, effort)
    print(f"Task: {task}, Score: {score}")

Function Documentation

calculate_task_score(importance: float, effort: float) -> float

importance (float): The importance of the task, should be between 1 and 4. effort (float): The effort required to complete the task, should be between 1 and 4. Returns (float): The calculated score of the task. Raises ValueError: If importance or effort is not within the required range.

Contributing

Contributions to Task Prioritizer are welcome! Please feel free to submit pull requests or open issues on the GitHub repository.

License

This project is licensed under the MIT License.

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

taskscore2-0.1.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

taskscore2-0.1.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file taskscore2-0.1.2.tar.gz.

File metadata

  • Download URL: taskscore2-0.1.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure

File hashes

Hashes for taskscore2-0.1.2.tar.gz
Algorithm Hash digest
SHA256 95469eee07612ce3e25b2120de552f0707d7b9e2592ced2c93ecc692a1ae0ef8
MD5 c8c7c66acde755ac7bcf2d5503fec56a
BLAKE2b-256 e2bdb4f416b70955be8ec6bd5266b72ad2aa19e58927c7d4b88593fa8309da48

See more details on using hashes here.

File details

Details for the file taskscore2-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: taskscore2-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/6.2.0-1016-azure

File hashes

Hashes for taskscore2-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 54c22cc9953cd30ecc69ab943223f7a5a67c47c36488d186845848fddea30e7b
MD5 18d1157342c04e28122b7c64d4ba2348
BLAKE2b-256 af8a93c0bddbd2ac199596e56455a5a57ce5e088b77bd125fe4fa3d65d0dd049

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