[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/) [![python-version](https://img.shields.io/badge/Python-3.6|above-.svg)](https://www.python.org/) [![Qt](https://img.shields.io/badge/GUI%20by-Qt%20Designer-orange)](https://doc.qt.io/qt-5/qtdesigner-manual.html) [![License](https://img.shields.io/pypi/l/ansicolortags.svg)](https://github.com/user0706/PyRex/blob/master/LICENSE) [![Status](https://img.shields.io/badge/status-test-yellow)](https://github.com/user0706/PyRex/) [![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/user0706/PyRex/) ## Description PyRex is a tool for visual testing Python regular expression.
Based on the re python package, combined with the Qt user interface, it allows a visual display of the results of a regular expression pattern.
Also, in addition to the above basic function, there is an option to generate code for the Python language. ## Prerequisites After opening the downloaded repository in cmd *(Windows)*/terminal *(Linux/MacOS)*, to install the necessary packages for PyRex operation, enter the following command: ```python pip install -r requirements.txt --no-index --find-links file:///tmp/packages (if not, try pip3) ``` ## Download [Windows XP or above](https://github.com/user0706/PyRex/releases/tag/v1.0) ## How to run PyRex? ### Using an executable file: Easily go through the installation process
### Using raw repositories: Execute the following commands in cmd *(Windows)*/terminal *(Linux/MacOS)*: - Download repository ``` git clone https://github.com/user0706/PyRex.git ``` - Entry into the download repository ``` cd PyRex ``` - Start the program ``` python main.py (if not, try python3) ``` ## What's new: - Code generator for Python regex ## Screenshots ![](https://github.com/user0706/PyRex/blob/master/Example.png?raw=true) ## To-Do - [X] Python code generator - [ ] support for PHP regular expression - [ ] support for JavaSrcript regular expression