Skip to main content

Release PyPI Latest Release

Host an mlservicewrapper.core.services.Service as an HTTP API.

Testing locally

Using the development server is sufficient for testing, but should not be used in production.

Command Line Arguments

Parameter Required? Description Format
--config Yes Path to service configuration file. --config <path>
--host No Host to bind to. Defaults to 127.0.0.1. --host <host name>
--port No Port to bind to. Defaults to 5000. --host <host name>

Deployment

Use gunicorn to run in production:

export SERVICE_CONFIG_PATH=/path/to/config.json
gunicorn -w 4 -k uvicorn.workers.UvicornWorker mlservicewrapper.host.http

Metadata

Release files for mlservicewrapper-host-http 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlservicewrapper-host-http 0.5.1
File Size Uploaded
mlservicewrapper-host-http-0.5.1.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mlservicewrapper-host-http 0.5.1
File Interpreter ABI Platform
mlservicewrapper_host_http-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / mlservicewrapper-host-http-0.5.1.tar.gz

Download URL mlservicewrapper-host-http-0.5.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2911fd8e42a37a44e9c2ad90c5103c11bd5cf56077c38b44e31f6d2a1ff511b4
BLAKE2b-256 checksum
How to use checksums
4e44058f8816385c52fd7b2925f7cdf04ba4c94ab1ab1950461fdd7e50fef66e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release files / mlservicewrapper_host_http-0.5.1-py3-none-any.whl

Download URL mlservicewrapper_host_http-0.5.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c58ef39fe58fce25647ce5fa886bb5f9ae04741265f07ae4f0543d3fc7e3078f
BLAKE2b-256 checksum
How to use checksums
46fab7b03dc4040fef5befe28f5150a5a1e3e550bcf638e5931c4c750cdbd601
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page