An open API service indexing awesome lists of open source software.

https://github.com/amssdias/regex-query-tool

Website to search for specific patterns on a text, using regular expressions.
https://github.com/amssdias/regex-query-tool

django python regular-expressions

Last synced: 3 months ago
JSON representation

Website to search for specific patterns on a text, using regular expressions.

Awesome Lists containing this project

README

        

[python-download]: https://www.python.org/downloads/
[django-link]: https://www.djangoproject.com/

![Python Badge](https://img.shields.io/badge/Python-3.9.2-blue?logo=python)
![Python Badge](https://img.shields.io/badge/Django-3.2.4-092E20?logo=django)

# Regex Query Tool




A simple app where a user can query through a text using regular expressions.

### Built with

![Django Badge](https://img.shields.io/badge/-Django-092E20?style=for-the-badge&labelColor=black&logo=django&logoColor=white)

## :hammer: Getting started

### Pre requisites

- [Python][python-download] - 3.9 or up
- [Django][django-link] - 3.2.4

### Installation

#### Pipfile and Pipfile.Lock

1. Download Pipenv through the terminal window ***(make sure you have [Python][python-download] installed)***:

```python
pip install pipenv
```

2. After installing pipenv all you have to do is to download the files and in the terminal window, go to the folder with these files and run:

```python
pipenv install
```
This will create a virtual environment with all the modules needed.

3. We must have this virtual environment to run our program, through the terminal window:

```python
pipenv shell # To run the virtual environment
exit # To close the virtual environment
```

If any doubts here's a link to some more explanations: [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/basics.html)

## :mag_right: Use the query tool

On your terminal window, go to the folder with the Pip files and type:

```python
pipenv shell
```

Then change to the folder with `manage.py` and type:

```python
python manage.py runserver
```
Paste this link on your browser:
**http://127.0.0.1:8000/regex**