52 lines
2.2 KiB
Markdown
Executable File
52 lines
2.2 KiB
Markdown
Executable File
<p align="center">
|
|
<img height="100" src="https://github.com/user0706/PyRex/blob/master/Qt_ui/icons/windowIcon.png?raw=true">
|
|
</p>
|
|
|
|
[](https://www.python.org/) [](https://www.python.org/) [](https://doc.qt.io/qt-5/qtdesigner-manual.html) [](https://github.com/user0706/PyRex/blob/master/LICENSE) [](https://github.com/user0706/PyRex/) [](https://github.com/user0706/PyRex/)
|
|
## Description
|
|
PyRex is a tool for visual testing Python regular expression.
|
|
<br>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.
|
|
<br>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
|
|
<hr>
|
|
|
|
### 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
|
|

|
|
|
|
## To-Do
|
|
- [X] <del>Python code generator</del>
|
|
- [ ] support for PHP regular expression
|
|
- [ ] support for JavaSrcript regular expression
|