mirror of
https://github.com/Sosokker/Packaged-Food-Explorer.git
synced 2025-12-18 20:54:05 +01:00
Update Readme
This commit is contained in:
parent
d2e8e8aba1
commit
35293e5fca
53
README.md
53
README.md
@ -11,26 +11,30 @@
|
|||||||
## Table of contents
|
## Table of contents
|
||||||
|
|
||||||
- [Table of contents](#table-of-contents)
|
- [Table of contents](#table-of-contents)
|
||||||
|
- [Feature](#feature)
|
||||||
- [Quick start](#quick-start)
|
- [Quick start](#quick-start)
|
||||||
- [What's included](#whats-included)
|
- [What's included](#whats-included)
|
||||||
|
- [How to use](#how-to-use)
|
||||||
|
- [Used library and modules](#used-library-and-modules)
|
||||||
|
- [GUI](#gui)
|
||||||
|
- [UML Class Diagram and Design Pattern](#uml-class-diagram-and-design-pattern)
|
||||||
|
- [Example of sequence diagram](#example-of-sequence-diagram)
|
||||||
|
- [NOTE](#note)
|
||||||
|
|
||||||
|
## Feature
|
||||||
|
|
||||||
|
- Filter and plot data of each product
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
- Clone github repository
|
- Clone github repository
|
||||||
```
|
```
|
||||||
git clone https://github.com/Sosokker/Food-Nutrient-Viewer-Tkinter
|
git clone https://github.com/Sosokker/Food-Nutrient-Viewer-Tkinter
|
||||||
```
|
```
|
||||||
- run setup.py or pip
|
- pip install
|
||||||
```py
|
```py
|
||||||
# pip
|
# pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
```py
|
|
||||||
# or setup.py
|
|
||||||
python setup.py install
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
- To start GUI window run app.py
|
- To start GUI window run app.py
|
||||||
```py
|
```py
|
||||||
python app.py
|
python app.py
|
||||||
@ -56,10 +60,41 @@ Main/
|
|||||||
│ │ └── us_data_4.csv
|
│ │ └── us_data_4.csv
|
||||||
│── resources/
|
│── resources/
|
||||||
│ ├──loading.gif
|
│ ├──loading.gif
|
||||||
│ └──notfound.png
|
│ ├──notfound.png
|
||||||
|
│ └──gui_main.png
|
||||||
│── app.py
|
│── app.py
|
||||||
│── main.ipynb
|
│── main.ipynb
|
||||||
│── setup.py
|
|
||||||
│── requirements.txt
|
│── requirements.txt
|
||||||
└── README.md
|
└── README.md
|
||||||
```
|
```
|
||||||
|
## How to use
|
||||||
|
|
||||||
|
## Used library and modules
|
||||||
|
|
||||||
|
- tkinter
|
||||||
|
- sqlite3
|
||||||
|
- plotly
|
||||||
|
- matplotlib
|
||||||
|
- pandas
|
||||||
|
- numpy
|
||||||
|
- pillow
|
||||||
|
|
||||||
|
## GUI
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## UML Class Diagram and Design Pattern
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- Use Facade Design Pattern
|
||||||
|
|
||||||
|
## Example of sequence diagram
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## NOTE
|
||||||
|
|
||||||
|
- Process data with file [main.ipynb](/main.ipynb) need .csv file from <a href="[https://reponame/issues/new?template=bug.md](https://world.openfoodfacts.org/data)">Data Source</a>
|
||||||
|
|
||||||
|
- If error about "food_data.db" occur download <a href="[https://reponame/issues/new?template=bug.md](https://world.openfoodfacts.org/data)">food_data.db</a> and put in folder [data](/Essential/data/)
|
||||||
BIN
resources/UML-Class-Diagram-Facade.png
Normal file
BIN
resources/UML-Class-Diagram-Facade.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 96 KiB |
BIN
resources/gui_main.png
Normal file
BIN
resources/gui_main.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 196 KiB |
BIN
resources/sequnce-diagram-plotter.png
Normal file
BIN
resources/sequnce-diagram-plotter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user