<commit_before># Requester

[![PyPI version](https://badge.fury.io/py/requester.svg)](https://github.com/kssim/requester)
[![Build Status](https://travis-ci.org/kssim/requester.svg?branch=master)](https://github.com/kssim/requester)
[![codecov](https://codecov.io/gh/kssim/requester/branch/master/graph/badge.svg)](https://github.com/kssim/requester)
[![Code Health](https://landscape.io/github/kssim/requester/master/landscape.svg?style=flat)](https://github.com/kssim/requester)
[![Python](https://img.shields.io/badge/python-2.7-brightgreen.svg?style=flat)](https://github.com/kssim/requester)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/kssim/requester)

Requester is a python based HTTP / HTTPS request simulator.
Basically, you create a request statement, send the request as it is, and check the response.
In addition, it extracts the request from the pcap file, or sends the extracted request and compares the response with the response of the pcap file.


# Installation
To install Requester, simply:
```bash
$ pip install requester
```


# Usage
* Basic Argument Description

```bash
$ requester
Usage: requester

Options:
  -h, --help            show this help message and exit
  --port=PORT           port name(default 80)
  --host=HOST           host name or ip address
  -f FILE, --file=FILE  request file name(include full path)
  --pcap=PCAP           packet dump file name(include full path)
  -e, --extraction      Extract http request from packet dump file.
  -c, --check           Send an http request in the packet dump and compare
                        the response.
```


* Simple Usage without request file.

```bash
$ requester --host [website] --port [port]
```


* Simple usage with request file.

```bash
$ requester --host [website] --port [port] --file [request file full path]
```


* Extract request file from packet dump.

```bash
$ requester -e --pcap [pcap file full path]
```


* Sends the contents extracted from the request file in the packet dump and compares the response.

```bash
$ requester -c --pcap [pcap file full path]
```


# Documentation
I'll be writing soon.



# Contribute
If you have an idea or issue, feel free to open an issue or make pull request.
I'll create and share a structured process to contribute soon.
<commit_msg>Update README file<commit_after># Requester

[![PyPI version](https://badge.fury.io/py/requester.svg)](https://github.com/kssim/requester)
[![Build Status](https://travis-ci.org/kssim/requester.svg?branch=master)](https://github.com/kssim/requester)
[![codecov](https://codecov.io/gh/kssim/requester/branch/master/graph/badge.svg)](https://github.com/kssim/requester)
[![Code Health](https://landscape.io/github/kssim/requester/master/landscape.svg?style=flat)](https://github.com/kssim/requester)
[![Python](https://img.shields.io/badge/python-2.7-brightgreen.svg?style=flat)](https://github.com/kssim/requester)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/kssim/requester)

Requester is a python based HTTP / HTTPS request simulator.  
Basically, you create a request statement, send the request as it is, and check the response.  
In addition, it extracts the request from the pcap file, or sends the extracted request and compares the response with the response of the pcap file.  


# Installation
To install Requester, simply:
```bash
$ pip install requester
```


# Usage
* Basic Argument Description

```bash
$ requester
Usage: requester

Options:
  -h, --help            show this help message and exit
  --port=PORT           port name(default 80)
  --host=HOST           host name or ip address
  -f FILE, --file=FILE  request file name(include full path)
  --pcap=PCAP           packet dump file name(include full path)
  -e, --extraction      Extract http request from packet dump file.
  -c, --check           Send an http request in the packet dump and compare
                        the response.
```


* Simple Usage without request file.

```bash
$ requester --host [website] --port [port]
```


* Simple usage with request file.

```bash
$ requester --host [website] --port [port] --file [request file full path]
```


* Extract request file from packet dump.

```bash
$ requester -e --pcap [pcap file full path]
```


* Sends the contents extracted from the request file in the packet dump and compares the response.

```bash
$ requester -c --pcap [pcap file full path]
```


# Documentation
I'll be writing soon.



# Contribute
If you have an idea or issue, feel free to open an issue or make pull request.  
I'll create and share a structured process to contribute soon.

{'fraction_non_alphanumeric': 0.12785973914902715, 'fraction_numerical': 0.001710498182595681, 'mean_word_length': 3.5728250244379276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5115104', 'n_tokens_mistral': 1508, 'n_tokens_neox': 1393, 'n_words': 470}