About
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:
rubular: http://rubular.com/
pythex: https://pythex.org/
Installation
First install the package from pypi:
pip install qregexeditor --upgrade
Then you can run the application:
QRegexEditor
Dependencies
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
# https://github.com/pyQode/pyQode/wiki/Getting-started#qt-bindings-selection
from qregexeditor.api import RegexEditorWidget, QuickRefWidget
app = QApplication(sys.argv)
window = QMainWindow()
editor = RegexEditorWidget()
quick_ref = QuickRefWidget()
quick_ref.hide()
window.setCentralWidget(editor)
# show/hide quick reference widget
editor.quick_ref_requested.connect(quick_ref.setVisible)
window.show()
app.exec_()
Metadata
Release files for QRegexEditor 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| QRegexEditor-0.5.3.zip | 84.8 kB | Without provenance | Details for QRegexEditor-0.5.3.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| QRegexEditor-0.5.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for QRegexEditor-0.5.3-py2.py3-none-any.whl |
Total release size: 137.3 kB
Release files / QRegexEditor-0.5.3.zip
| Download URL | QRegexEditor-0.5.3.zip |
|---|---|
| Size | 84.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55cdb90b5ce3b32ff9446cea8dfccac859034d07317a0088a1fb1609d4dfa251
|
|
BLAKE2b-256 checksum How to use checksums |
45e123076470cf57b8d1416f8321970ab7ffba6104812fe6f711ac0453ac9d59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / QRegexEditor-0.5.3-py2.py3-none-any.whl
| Download URL | QRegexEditor-0.5.3-py2.py3-none-any.whl |
|---|---|
| Size | 52.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c745048734f80ee00c2f0a66ef1e04f0de78e5334298c251ded8946d968fe6a8
|
|
BLAKE2b-256 checksum How to use checksums |
27d71a7e7e701ea714fbc28d9a5feb92f3ab376eb65c9e897136dfa4649c5bdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for QRegexEditor 0.5.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.