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.2.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.5.3-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: QtFusion-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for QtFusion-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b75dcdb25d2d4648ce7110fa7f379b41e784cd61cc9113a758b30c8fd4086e94
MD5 604d5ef7ba4b1784e1b476fe5e9cadf7
BLAKE2b-256 9c50e09231e9205dfe1eee74d878d38a7839e4978e4d21d7bb4cb39004bfc7dc

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