Skip to main content

This script prints a file with the activities with their priority in the root directory

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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