Metadata-Version: 2.1
Name: mlservicewrapper-host-http
Version: 0.1.5a0
Summary: Host an mlservicewrapper service using HTTP
Home-page: https://github.com/ml-service-wrapper/ml-service-wrapper-host-http
Author: Matthew Haugen
Author-email: mhaugen@haugenapplications.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: mlservicewrapper-core
Requires-Dist: starlette (==0.13.7)
Requires-Dist: uvicorn
Requires-Dist: gunicorn


[![Release](https://github.com/ml-service-wrapper/ml-service-wrapper-host-http/workflows/Create%20Release/badge.svg)](https://github.com/ml-service-wrapper/ml-service-wrapper-host-http/releases/latest)
[![PyPI Latest Release](https://img.shields.io/pypi/v/mlservicewrapper-host-http.svg)](https://pypi.org/project/mlservicewrapper-host-http/)

Host an [`mlservicewrapper.core.services.Service`](https://github.com/ml-service-wrapper/ml-service-wrapper-core) as an HTTP API.

# Command Line Arguments

| Parameter | Required? | Description | Format |
| --------------- | --------------- | --------------- | --------------- |
| --config | **Yes** | Path to service configuration file. | `--config <path>` |
| --host | No | The hostname to bind to. Defaults to 127.0.0.1. | `--host <host name>` |
| --port | No | The post to bind to. Defaults to 5000. | `--post <port number>` |
| --workers | No | The number of workers to deploy when using gunicorn. Defaults to 2. | `--workers <count>` |
| --prod | No | A flag to indicate if running as production. Enabling this flag switches to use gunicorn (instead of the default uvicorn), meaning it's a more reliable and performant option. | `--prod` |


