Host an mlservicewrapper service using HTTP
Project description
Host an mlservicewrapper.core.services.Service
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mlservicewrapper-host-http-0.1.5a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787ced02cc4402d52f6021382d6c96b0bd23f0b1fbd7d565d58e516f9c8633d5 |
|
MD5 | 3d7ed8db6189af73948591d3ac457ca2 |
|
BLAKE2b-256 | d1d0825d331977b4527d82939b9b07bfc4fc05d275df95fddd7c7dc0528c88de |
Close
Hashes for mlservicewrapper_host_http-0.1.5a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dd20098145132c87d71dfeab77d081fa8a902e69faef31e4989a76f8297efdf |
|
MD5 | 1bff575281d899220eaecd96abb5d3fb |
|
BLAKE2b-256 | 2f7f10939bbd50db181842c29ffb89cf9735ff9164bfbc8dd9bf507e90e70b0b |