Metadata-Version: 2.1
Name: hyper-inspector
Version: 0.0.3
Summary: A simple HTTP inspector to debug webhooks and other incoming requests
License: MIT
Author: Santiago Basulto
Author-email: santiago.basulto@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: rich (>=10.0.1,<11.0.0)
Description-Content-Type: text/markdown

A dummy/mocking server to inspect incoming HTTP connections. Use it to test/debug Webhooks.

### Installation

Using `pip`:

```bash
$ pip install hyper-inspector
```

Using `pipx`:

```bash
$ pipx install hyper-inspector
```

### Usage

```
$ hyper --help
usage: http_inspector [-h] [-r RESPONSE] [-f [ENABLE_FILE_LOGGING]] [-d LOGGING_DIRECTORY] [--log-body [LOG_BODY]] [--ip IP] [--port PORT]

Inspect and debug HTTP requests

optional arguments:
  -h, --help
            Show this help message and exit
  -r, --response [default 200]
            Default response for every incoming request
  -f, --enable-file-logging [default True]
            Enable file logging
  -d, --logging-directory [default .]
            Directory path to store logs
  --log-body [default True]
            Should it log the whole body to the console.
  --ip [default '']
            IP Addr to serve
  --port [default 555]
            Server Port to listen to
```

