Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

PyQt regex editor

Project description


QRegexEditor is a simple regular expression editor written in Python and PyQt.

You can use QRegexEditor as a standalone application but also as a widget in your own PyQt/PySide application.

The tool has been inspired by:


First install the package from pypi:

pip install qregexeditor --upgrade

Then you can run the application:



  • python (2.7 or >= 3.2)
  • PyQt5 or PySide or PyQt4

Using the widget in a custom PyQt application

Use the widget as any other qt widget.

You may specify the regular expression and the string pattern programmatically. You might also want to connect to the quick_ref_requested signal so that your application can show/hide a quick reference widget in the most appropriate place.

This example show you how to use the widget in a custom application.
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
# if you use PyQt4 or PySide, you must set the QT_API environment variable
# to select the proper bindings, see
from qregexeditor.api import RegexEditorWidget, QuickRefWidget

app = QApplication(sys.argv)
window = QMainWindow()
editor = RegexEditorWidget()
quick_ref = QuickRefWidget()
# show/hide quick reference widget

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
QRegexEditor-0.5.3-py2.py3-none-any.whl (52.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 7, 2016 (84.8 kB) Copy SHA256 hash SHA256 Source None Mar 7, 2016

Supported by

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