Skip to content

[pa] Folder Overview

rafiki edited this page Sep 25, 2020 · 1 revision

Welcome to the DeQua wiki!

FOLDER OVERVIEW

The structure is organised as follows (or at least the main files, there are much more):

 -- app                   --> flask app
  |-- .py files           --> init, routes, form, error : basic flask functionalities that usually call methods on interface.py
  |-- static              --> assets (images, icons), CSS and js
  |-- templates           --> HTML files
  |-- src                 --> python source code
    |-- interface.py      --> receives all calls from routes and delegate them to the correct python library in libpy
    |-- libpy             --> python libraries
      |-- lib_comm.py     --> communication between python and javascript
      |-- lib_graph.py    --> networkx graph, dijkstra, search for paths
      |-- lib_search.py   --> fuzzywuzzy, search words, find the match in the database 
      |-- lib_database.py --> cope with database (sqlite)