Skip to main content

Calculate priority of the activities


This project was born after readning the comments in this post of HackerNews. This application writes a file with a list of the activites and their priority (numeric index: 1 highest priority, 2 less prioritary, etc). In detail:

  • The application reads two existing files:
  1. activity-date.csv (Activity,Start,End) about the duration of an activity
  2. activity-importance.csv (Activity,Importance) about the importance of an activity. The meaning of importance is relative and vague. A definition can be: if you have two activites A and B in the same time, A is more important of B if doing A you can earn more money (or, lose less money) than doing B.
  • The application writes one file ordered-activities.csv (Activity, Priority)

Feature

[O] The input files can have a different order of the activities each other (now the order has to be the same, otherwise an Exception will be run) [O] The final list can be separated in "activities already started" (start date minor than today) and "future activities" (start date major than today) [O] The final list can be separated by the area of interest of the project (Area of responsability in GTD meaning)

Bug

[X] Fix the unit test [O] Resolve the TODO in the code [O] Organize the structure following the guidelines in The Hitchhiker's Guide to Python!

Status CI Integration

I use Travis Build Status

Getting started

Prerequisites

  • Python 3.0+
  • pip
  • pytest

Installing

  • Clone the project with git-clone (or download directly it)
  • Have fun!

Running the tests

  • In this version the unit test are inside the module and are not completed. TDD, sorry :(

Break down into to end to end tests

No indications

Coding styles sheets

Please read the file CONTRIBUTING.md

Deployment

  • No package built (sorry, I'm a beginner in Python :) )
  • Run >>> python Main.py

Built with:

  • ViM - one of the best text editor I know
  • pytest - most famous library about the testing in Python

Contributing

Please read the CONTRIBUTING.md for the details about the code of conduct and the process for submitting pull requests.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Alessandro Puzielli - creator - Alepuzio

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Release files for calculate-priority-activities 1.0.4

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

Built distribution (wheel)

Table of built distributions (wheels) for calculate-priority-activities 1.0.4
File Interpreter ABI Platform
calculate_priority_activities-1.0.4-py3-none-any.whl Python 3 none any Details

Release files / calculate_priority_activities-1.0.4-py3-none-any.whl

Download URL calculate_priority_activities-1.0.4-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
826205de740baea28785fdf22de9abe8a0d6c361b100d93fb89b108a2ccbb337
BLAKE2b-256 checksum
How to use checksums
8ea76459a2f0a32aedaf23140bc0877b5cf4d47a7cf2b2b28e2550fa00bfc90b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.0.4 This release

1 release file

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