Skip to content

tamdnguyen/Time-Management-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time management OOP

Demo video of using the program here.

Video for installation instructions here.

Table of Content

  1. Introduction
  2. Installation Instructions
  3. User Instructions
  4. Reference

Introduction

Time Management is a program that allows the users to measure the time of their activities (same mechanism with stopwatch). The program offers different functionality and flexibility for users' need and favor.

  • Users can measure the time of up to 5 activities simultaneously.
  • The basic operations include start/resume, stop/pause, reset, restart the timer of the activities.
  • The users can also edit the activity name or delete the activity from the program.
  • Besides, the user can choose the time expression they want, export data, move to next day and choose any day they want to measure the time.
  • The unique features of the program are Statistics, Pomodoro and Help:
    • Statistics can show the overview of the program data, some descriptive data and the visualization from the time measurement.
    • Pomodoro allows the users to freely set their Pomodoro reminder, and sends the notification about working/resting based on Pomodoro technique.
    • Help feature shows the information and guidance to the users.

File and Directory Structure

The file and directory structure looks like this:

|__ .idea
|
|__ Code
|
|__ Document
|
|__ README.md
|
|__ requirements.txt
  • Folder .idea is automatically generated by IDE and not needed to read.
  • Folder Code includes the code files of the project. Read the files following the instructions below:
    • The .py files (1) at the root of the Code folder are basically the main files that are used to create the Time Management app. Files draft_test.py and timer_gui.py are draft files and can be skipped.
    • Folder tests includes the unittest files which test different classes of the program.
    • Other folders can be skipped. Note: folder example_pyqt5 contains different PyQt5 library examples which are not written by the author of this program. The usage of PyQt5 in the code files (1) are not directly copied from these examples.
  • Folder Document contains all the documentation of the projects include Project Plan and Project Document. There is no need to read other files inside this folder.
  • README.md file is used for writing the instruction of the project.
  • requirements.txt file contains the external libraries that the program uses. It is conveniently used for installing and running program (see section Installation Instruction below for more details)

Installation Instructions

Python3

Code Editor (Optional)

A code editor is not mandatory to run the program, but it is nice to have one. Here are some recommended code editors:

  • Visual Studio Code: download here
  • PyCharm: download here
  • Some other popular code editors: Sublime Text, Vim, etc.

Install

In your terminal (command prompt in Windows), change directory to the project folder and run the following commands:

  • For TAs and teacher of the course
$ git clone https://version.aalto.fi/gitlab/nguyent99/time-management-oop.git
$ cd Time-Management-OOP
$ pip install -r requirements.txt
  • For other users
$ git clone https://github.com/tamdnguyen/Time-Management-OOP.git
$ cd Time-Management-OOP
$ pip install -r requirements.txt

NOTE: If some errors happen while trying to install the external libraries or running the program, here are the list of libraries along with instruction of installing them:

User Instructions

If you are a GUI type person and would like to use the code editors (Recommended method):

In your code editor, open the folder Time-Management-OOP. In folder Code, open and run the file main.py to start the program. That's it, enjoy the program. NOTE: open the folder Time-Management-OOP inside whatever folder you use to host the whole project, NOT the root folder that you use at the beginning of the installation.


If you are a terminal type person:

In the terminal, cd to folder Time-Management-OOP. Run the commands below:

$ python3 Code/main.py

Reference

Last update: 14.06.2022. Published!

Happy Learning! Cheers!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages