Most Python apps need to interact with data sources — whether that's a CSV file, a database, or remote APIs. One of the main benefits of using Python to build GUI applications is being able to make use of Python's data science tools to process and analyse data.
With PyQt5 we can make use of Qt's model-view architecture to display performant views of any Python data in our applications, or embed Matplotlib and PyQtGraph plots for dynamic visualizations.
Displaying Data in PyQt5 Applications
- Use the model view architecture to display dynamic data from any source
- Display NumPy and pandas DataFrames as spreadsheet tables in your PyQt5 applications
Plotting and Visualization with PyQt5
- Use Matplotlib to add interactive plots to your apps
- Or take a look at PyQtGraph for high performance graphs and other visualizations
If you're using Qt Designer to create your applications, take a look at how to use PyQtGraph & Matplotlib widgets inside Qt Designer.