This release is a pre-release and may not be stable for production use.
Model Server
NOTE: Currently in beta development. Breaking changes may happen at any time.
The Karlovic library aims to simplify the process of setting up a htts server that serves machine learning models.
Install
pip install karlovic
Usage
from karlovic import model_server
def bottle_configuration_function(bottle):
# Configure bottle
pass
plugins = [
SomePlugin,
...
]
app, run_server = model_server(plugins, bottle_configuration_function)
# Use the app decorator to define endpoints
@app.get('/hello')
def hello():
return "<h1>Hello World</h1>"
@app.post('/world')
def hello(image):
return "some response"
use_image_form(app, ['/world'])
# Creates GET '/world/form' that posts an
# image to '/world'
run_server()
Metadata
Release files for karlovic 0.1.4b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| karlovic-0.1.4b0.tar.gz | 11.4 kB | Without provenance | Details for karlovic-0.1.4b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| karlovic-0.1.4b0-py3-none-any.whl | Python 3 | none | any | Details for karlovic-0.1.4b0-py3-none-any.whl |
Total release size: 25.7 kB
Release files / karlovic-0.1.4b0.tar.gz
| Download URL | karlovic-0.1.4b0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7da7b41a45bf40d5a1fd8e1a11508a19b8b6737b8bbe6ce9bf63ccf3f21056ad
|
|
BLAKE2b-256 checksum How to use checksums |
dc3253ffe182ee4057819d4322c892973a5715aa70f2cf3f29d2a99349827b38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1031-azure
|
Release files / karlovic-0.1.4b0-py3-none-any.whl
| Download URL | karlovic-0.1.4b0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bd1cee13db5f009a00e63d3ff8cf69b76dc1780f0c166216d7484984586fd42
|
|
BLAKE2b-256 checksum How to use checksums |
a1ce441089239f59480222f318a24425d3f46db1fe99663028a8e36b96a879f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1031-azure
|
Security for karlovic 0.1.4b0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.