Metadata-Version: 2.1
Name: httpbinx
Version: 1.5.2
Summary: HTTP Request & Response Service, written in Python + FastAPI.
Home-page: https://github.com/imleowoo/httpbinx
Author: Leo
Author-email: imleowoo@outlook.com
Maintainer: Leo
Maintainer-email: imleowoo@outlook.com
License: MIT
Project-URL: Source, https://github.com/imleowoo/httpbinx
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi
Requires-Dist: pydantic
Requires-Dist: uvicorn
Requires-Dist: starlette
Requires-Dist: jinja2
Requires-Dist: brotli
Requires-Dist: python-multipart

![![cover](httpbinx/static/images/httpbinx_cover.png)](https://raw.githubusercontent.com/imleowoo/httpbinx/main/httpbinx/static/images/httpbinx_cover.png)

[![thanks](https://img.shields.io/badge/thanks-httpbin-green)](https://github.com/postmanlabs/httpbin)
![python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue)

# httpbinx

HTTP Request & Response Service, written in Python + FastAPI.

## Reference project

A  [Kenneth Reitz](http://kennethreitz.org/bitcoin) Project. See https://github.com/postmanlabs/httpbin

## Quick Start

## Installation

### PyPI

**[httpbinx](https://pypi.org/project/httpbinx/)** is available on PyPI

```shell
$ pip install httpbinx
```

### Source Code

```shell
$ git clone https://github.com/imleowoo/httpbinx.git
$ python setup.py install # or `pip install .`
```

## Run it

### Run directly

```shell
$ uvicorn httpbinx:app --host=0.0.0.0 --port=80
```

### Run with Docker

```shell
$ docker pull leowoo/httpbinx:latest
$ docker run -p 80:80 --name httpbinx leowoo/httpbinx:latest
```

### It starts running

```text
INFO:     Started server process [17044]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
...
```
