Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Utilities for small or throwaway PyQt5 applications

Project description


Utilities for Qt

A small set of features to make it easier to use PyQt5. Implements a repetive pattern for quickly building throwaway or small Qt applications.

Getting Started


  • PyQt5 is obviously required.

The uqtie distribution package does not name PyQt5 as a dependency because you may have already installed it in some custom way, and you don't want the uqtie installation process to create a redundant PyQt5 installation.

If you don't already have it, you can install PyQt5 by doing this:

pip install pyqt5

Be aware that the appropriate installation procedure for a package can vary depending on your OS and other factors.

Installing uqtie

Install the package:

pip install uqtie

Or clone from GitHub:

git clone

and then run the setup script:


To show uqtie in action, run this script (provide relative path of script in repo for info purposes):

#!/usr/bin/env python

import argparse, sys

from   uqtie           import UqtWin
from   PyQt5.QtWidgets import QApplication

class TestAppMainWindow(UqtWin.MainWindow):

    def __init__(self, parsedArgs, **kwargs ):
        super(TestAppMainWindow, self).__init__(parsedArgs, **kwargs)

parser = argparse.ArgumentParser()
parser.add_argument('-x', '--test', help='Test Argument placeholder', default='Test')
parsedArgs,unparsedArgs = parser.parse_known_args()

# Pass unparsed args to Qt, might have some X Windows args, like --display
qtArgs = sys.argv[:1] + unparsedArgs
app = QApplication(qtArgs)

mainw = TestAppMainWindow(parsedArgs, app=app, organizationName='Craton', appName='UqtTest')



There are no tests yet.


TBS: details about usage in different OS environments


This project is ad hoc in nature, so I don't foresee contributions. Nevertheless, feel free to make a pull request.


Versions are assigned in accordance with Semantic Versioning. For the versions available, see the tags on this repository.


  • "uqtie" is pronounced You Cutie :heart_eyes:
  • "Uqt", used as a prefix in the code, rhymes with "duct"



This project is licensed under the MIT License - see the LICENSE file for details


Project details

Release history Release notifications

This version


Download files

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

Files for uqtie, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size uqtie-0.1.0-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size uqtie-0.1.0.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page