- develop a python project using with classes and object-oriented programming.
- Structure the code of a Python program using a MVC (Model-View-Controller) design pattern.
- Write robust Python code using PEP 8 style guide.
- Work with a database of JSON type (TinyDB).
The project is an offline chess tournament application, this application will replace the old one due to many problems due to internet connection problems.
Tested on Windows 10, Python 3.10.6.
$ git clone https://github.com/alexandre-75/Develop_a_software_program_in_Object-Oriented-Programming.git
python<version> -m venv nom_env_virtuel
Activate the environment `mon_env_virtuel\Scripts\activate` (Windows)
pip<version> install -r requirements.txt
$ python main.py
Then you will be guided.
choose an option by entering a number.Then you will be guided.
flake8 can identify syntax errors and non-compliance with the PEP.
An html report containing any errors may be generated.
It is in the folder:
- flake8_repport
open file to view the report
A new report can be generated by running the following command in the terminal:
$ flake8 --format=html --htmldir=flake8_rapport project_link/