Skip to main content

QtFusion is a Python library created by Seasal Wesley (seasalwesley@gmail.com) for the convenient creation of PySide6 applications that interact with deep learning models. It provides user interface management and beautification, database management, image/video/camera processing, model interface definition, and event handling. This makes it easy for users to create deep learning applications.

Project description

QtFusion

Introduction

QtFusion is a versatile Python library for building applications. It focuses on seamlessly integrating deep learning models, offering a suite of tools for UI management, beautification, database management, as well as handling image/video/camera processing, model interface definition, and event handling. This library simplifies the creation of advanced deep learning applications.

Features

  • UI Enhancement: Provides tools for beautifying and managing the user interface.
  • Database Management: Facilitates easy handling of database operations.
  • Media Processing: Supports image, video, and camera data processing.
  • Model Integration: Simplifies the integration of deep learning models with UI.
  • Event Handling: Efficient management of application events.

Installation

To successfully install QtFusion, follow these guidelines:

  1. Python Version: Ensure you have Python 3.8 or newer installed, as QtFusion is designed to work best with these versions.
  2. Install Dependencies: QtFusion relies on several key libraries. Install them using pip:
pip install numpy
pip install opencv-python>=4.5.5.64
pip install Pillow>=9.0.1
pip install PySide6>=6.4.2
pip install PyYAML>=6.0
pip install IMcore>=0.3.1

These commands will install the required versions of numpy, opencv-python, Pillow, PySide6, PyYAML, and captcha.

  1. Deep Learning Libraries: For deep learning projects, it's recommended to use either PyTorch or TensorFlow. Future versions of QtFusion will support PyQt5, PyQt6, and PySide6.
  2. Install QtFusion: Finally, install QtFusion:
pip install QtFusion

Usage

To use QtFusion in your PySide6 project:

  • Import FBaseWindow from QtFusion.BaseFrame.
  • Define your main window class, inheriting from FBaseWindow.
  • Initialize a QApplication, create an instance of your main window, and call necessary methods.
  • Start the application with app.exec().

This will allow you to incorporate QtFusion's features into your PySide6 application, enhancing its interface and functionality.

from Your_UI import Ui_MainWindow
from QtFusion import QMainWindow
from PySide6.QtWidgets import QApplication
from sys import argv, exit
class YourMainWindow(QMainWindow, Ui_MainWindow):
    def __init__(self, parent=None, *args, **kwargs):
        super(YourMainWindow, self).__init__(*args, **kwargs)
        self.setupUi(self)

app = QApplication(argv)
win = YourMainWindow()
win.showTime()
exit(app.exec()) 

This is a basic example to get started. For more advanced features, refer to the QtFusion documentation and examples.

Acknowledgments

Special thanks to all contributors who have helped in developing QtFusion.

Contact

For support or queries, please contact seasalwesley@gmail.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

QtFusion-0.6.1-py3-none-any.whl (7.3 MB view details)

Uploaded Python 3

File details

Details for the file QtFusion-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: QtFusion-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for QtFusion-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 244a9344f98b01ec794becc9943711f2dd788d1d33cc18df7216a685dbc52484
MD5 b8b1a6b2eff1e08a7f81a5415cbf61a1
BLAKE2b-256 0aea06d67c1bf7c0c8324ffd6b962e856a0d9dbbf17952a156049b33157dc35c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page