A desktop application built using Python, PyQt6, and pyqtgraph for real-time visualization and data management.
- Interactive PyQt6-based GUI
- Real-time graphs using pyqtgraph
- Modular frontend and backend
- Easy setup using Python virtual environments
- Clone repository
git clone https://github.com/DPCS3810/project-1-another1bytesthedust.git
cd project-1-another1bytesthedust
- Create virtual environment
python3 -m venv venv
- On Linux environment:
source venv/bin/activate
This activates the virtual environment. Once activated, your terminal prompt should start like (venv)
- Install dependencies
pip install -r requirements.txt
- Build backend (Make)
cd ~/Downloads/project-1-another1bytesthedust-main && \
rm -rf backend/build && \
cmake -S "$(pwd)/backend" -B "$(pwd)/backend/build" -DCMAKE_BUILD_TYPE=Release && \
cmake --build "$(pwd)/backend/build" -- -j"$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null)" && \
echo "Build complete! Run: ./backend/build/system_monitor"
- Run! python3 frontend/main.py
Make sure you have the following installed on your system:
- Python 3.8+
- pip (Python package manager)
- git
To verify:
bash
python3 --version
pip --version
git --version
> backend
> build
build files...
> include
> nlohmann
json.hpp
cpu.hpp
memory.hpp
process.hpp
disk.hpp
network.hpp
> src
main.cpp
cpu.cpp
memory.cpp
process.cpp
disk.cpp
network.cpp
CMakeLists.txt
> dist
final executable
> frontend
main.py
backend_reader.py
cpu_tab.py
gauge.py
graph_utils.py
process_table_model.py
range_proxy_model.py
srm.ui
table_widgets.py
UI Palette.xml
ui_helpers.py
.gitignore
README.md
requirements.txt