This is the decomposition file with the description by each directory and file
├── app.log
├── chat_console.py
├── chats
│ └── console
│ ├── base_chat.py
│ ├── main_chat.py
│ ├── room_chat.py
│ └── user_chat.py
├── database
│ ├── chat_dbhelper.py
│ └── db_helper.py
├── database.db
├── DECOMPOSITION.md
├── network
│ └── client.py
├── opt
│ └── appearance.py
├── README.md
└── scripts
└── ...
__Summary__: 5 directories, 13 files, 2055 lines- chats/ ─ It contains modules for different types of the chat. For instance,
roomoruser chat - chats/console/ ─ There are placed console chat modules
- database/ ─ Contains modules for working with the application database
- network/ ─ Module for networking is placed here
- opt/ ─ Different optional modules that help working with the chat. For example, module with colors class
app.log─ Chat's logging filedatabase.db─ Application inner databaseREADME.md─ README fileDECOMPOSITION.md─ File with the decomposition (current file)
chat_console.py─ This script contains main function that runs all applicationbase_chat.py─ Provides all base functionality of chats. Also connects chat with database by usingchat_dbhelper.pymain_chat.py─ Main page of the chat, where you can open room or private chatsroom_chat.py─ Functionality of rooms are placed hereuser_chat.py─ Module for private communication between users
chat_dbhelper.py─ Provides connection between chats and database functionalitydb_helper.py─ Module for working with database
client.py─ All networking is provided by this module
appearance.py─ For now, it contains class with colors
- ...