Light REST API for machine learned models
Project description
README
Links:
lightmlrestapi implements a light machine learning REST API based on falcon. You can test a dummy wsgi server by running:
start_mlrestapi --name=dummy
And then query it with:
import requests import ujson features = ujson.dumps({'X': [0.1, 0.2]}) r = requests.post('http://127.0.0.1:8081', data=features) print(r) print(r.json())
It should return:
{'Y': [[0.4994216179, 0.4514893599, 0.0490890222]]}
History
current - 2018-11-05 - 0.00Mb
8: allow clear logs (2018-11-02)
5: add a load function (2018-11-02)
3: add ip address in the logging (2018-04-15)
2: add encrypted logging (2018-04-15)
1: fix gallery of examples (style) (2018-01-05)
0.1.37 - 2017-12-06 - 0.10Mb
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file lightmlrestapi-0.1.88-py3-none-any.whl
.
File metadata
- Download URL: lightmlrestapi-0.1.88-py3-none-any.whl
- Upload date:
- Size: 110.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2c2e14304062b69db73819296c91ba18822299894fe0fb1417e53d817d83af |
|
MD5 | f81b77004f59d4b30873ac6402d1a3f4 |
|
BLAKE2b-256 | cb5d153c12dedde59f20a68878555562a61d5b2f7b51f692b42d43283c227a05 |