LouisJayCaro / Stopwatch_project

This project is for our Object Oriented Programming for ECE, class ECE115.2_16JK_21-22-2
1 stars 0 forks source link

Task Reminder: .gitignore, requirement.txt, PyQt5, useful libraries #5

Open LouisJayCaro opened 2 years ago

LouisJayCaro commented 2 years ago

Read about .gitignore - importance

below are reference links Git ignore and .gitignore

Requirement.txt

Each of us should know the function of the requirement.txt file because every time we add a feature with a third-party package or library, we need to set up that in the requirement.txt file. These are called package dependencies. An example of a package that we will be using in our project is PyQt5 which we will be using for our graphics UI.

please read the link below for reference requirement.txt

What is PyQt?

Since we already have decided on using PyQt5, please study its libraries and documentation. It might be easier if we look up examples of making stopwatches using PyQt. I link some examples that I have found.

The great thing about PyQt is that it has a tool to provide users of PyQt to design their applications. Using visuals rather than code, the Qt designer would be a big help if you're used to working with visuals.

Note! Whoever is assigned to work on the GUI, please read about setting it up and what dependencies we need in our project PyQt5 Tutorial

Useful Libraries

I have researched some of the libraries we might need for our stopwatch.

  1. [Python time](https://www.programiz.com/python-programming/time#:~:text=time(),the%20point%20where%20time%20begins) Python has a module named time to handle time-related tasks. I found a great application that we can replicate for the foundation of our stopwatch here. I also plan to add a split feature to our stopwatch, and maybe we can also use one of the time module's functions. I found a great reference here.
  2. Python winsound or beepy These modules are for integrating sounds into our stopwatch. It would be a great idea to put sounds to a very simple stopwatch. Though I have found that the packages we would want to put in our code will depend on the user's PC. If we aim to develop the stopwatch for Linux and Windows users, please study beepy. The most straightforward module to work with is probably winsound, because it is widely used by other developers who are also starting, from what I have observed. Like this one example here.
  3. PyInstaller PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any module. We will be using this package to create an executable file in our repository. The executable file is the one that we will be opening to run our stopwatch. So far I have only found application examples of Pyintaller with Tkinter but not with PyQt.

    Additional Reads

While making our stopwatch I have collected some topics that we will need to learn while making this project. These lessons weren't tackled in our workbook so we might need to reed up on them to fully understand how they work. These are the links that I have compiled.

Thanks!

LouisJayCaro commented 2 years ago

@jadromero07 @Zyle17 @JoshuaCarloAntonio @LanzZIU. Paki basa lahat including links paki bookmark