# qtpyeditor **Repository Path**: py2cn/qtpyeditor ## Basic Information - **Project Name**: qtpyeditor - **Description**: PyMiner内建编辑器的基础包 致力于解决PySide2下面缺少相应编辑器的问题。 - **Primary Language**: Python - **License**: LGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2021-01-30 - **Last Updated**: 2024-08-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # qtpyeditor ## Description ### What is qtpyeditor qtpyeditor is an simple editor in pure Python-Qt binding for both PyQt5 and PySide2. The in order to solve the problem that PySide2 lacks QScintilla bindings. **NOTE**: This repository is just **an EDITOR, not an Full-functional IDE** ! ### Developers and License This package is developed by PyMiner develop team to support the software of PyMiner, and the license should follow the qt-bindings' license. if PyQt5, license should be **GPL**; or if PySide2, it should under **LGPL** License. email:1295752786@qq.com ### Functions - Line numbering - Code Highlighting and Style-Setting - Autocomplete with background QThread ### Functions not supported yet - Find and Replace - ## Software Architecture Coding on pure Python, calling the Qt-bindings. ## Installation 1. install dependencies ```shell pip install -r requirements.txt ``` NOTE: qtpy is an upper interface on PyQt5/PySide2, which works only if either of PyQt5/PySide2 is installed. So please make sure you have one qt-python binding installed in the site-packages. ## Instructions 1. run command: ```shell python test.py ``` 2. And you will see an simple editor shown. ![](figures/python_editor.png)