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.
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 projectPyQt5 Tutorial
Useful Libraries
I have researched some of the libraries we might need for our stopwatch.
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.
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.
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.
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.
__init__
in Python: An OverviewThanks!