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.1.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.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taskscore2-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.2 Darwin/23.0.0

File hashes

Hashes for taskscore2-0.1.1.tar.gz
Algorithm Hash digest
SHA256 534c4feebe67535b6247092147ef6adc7eb2ce7c90a247ea6cf2dbfd317f6b11
MD5 dfd2a363c8e94da18d2f54f2660559ff
BLAKE2b-256 d3cc50d03628500899cbc44aec96c415c72ebdd371335e98ad9c0fbce95677fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taskscore2-0.1.1-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.11.2 Darwin/23.0.0

File hashes

Hashes for taskscore2-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f38412f34ac5d29fb18b878e0c87caaf25858fba0859c22812e0fb425fae0583
MD5 253c825919801cdff094962637fe9157
BLAKE2b-256 7da3a79b303aeeb37ce35085d535283e7e24aeafcf4dcf6738726963a7aca5eb

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