Metadata-Version: 2.1
Name: lightmlrestapi
Version: 0.1.111
Summary: Light REST API for machine learned models
Home-page: http://www.xavierdupre.fr/app/lightmlrestapi/helpsphinx/index.html
Author: Xavier Dupré
Author-email: xavier.dupre@gmail.com
License: MIT
Download-URL: https://github.com/sdpython/lightmlrestapi/
Keywords: lightmlrestapi,Xavier Dupré
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Requires-Dist: ujson
Requires-Dist: falcon
Requires-Dist: falcon-auth
Requires-Dist: waitress
Requires-Dist: PyJWT
Provides-Extra: cli
Requires-Dist: pyquickhelper (>=1.6.2284); extra == 'cli'


.. _l-README:

README
======

.. image:: https://travis-ci.org/sdpython/lightmlrestapi.svg?branch=master
    :target: https://travis-ci.org/sdpython/lightmlrestapi
    :alt: Build status

.. image:: https://ci.appveyor.com/api/projects/status/itkrtmperlhjm4xw?svg=true
    :target: https://ci.appveyor.com/project/sdpython/lightmlrestapi
    :alt: Build Status Windows

.. image:: https://circleci.com/gh/sdpython/lightmlrestapi/tree/master.svg?style=svg
    :target: https://circleci.com/gh/sdpython/lightmlrestapi/tree/master

.. image:: https://badge.fury.io/py/lightmlrestapi.svg
    :target: http://badge.fury.io/py/lightmlrestapi

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
    :alt: MIT License
    :target: http://opensource.org/licenses/MIT

.. image:: https://requires.io/github/sdpython/lightmlrestapi/requirements.svg?branch=master
     :target: https://requires.io/github/sdpython/lightmlrestapi/requirements/?branch=master
     :alt: Requirements Status

.. image:: https://codecov.io/github/sdpython/lightmlrestapi/coverage.svg?branch=master
    :target: https://codecov.io/github/sdpython/lightmlrestapi?branch=master

.. image:: http://img.shields.io/github/issues/sdpython/lightmlrestapi.png
    :alt: GitHub Issues
    :target: https://github.com/sdpython/lightmlrestapi/issues

.. image:: https://badge.waffle.io/sdpython/lightmlrestapi.png?label=to%20do&title=to%20do
    :alt: Waffle
    :target: https://waffle.io/sdpython/lightmlrestapi

.. image:: http://www.xavierdupre.fr/app/lightmlrestapi/helpsphinx/_images/nbcov.png
    :target: http://www.xavierdupre.fr/app/lightmlrestapi/helpsphinx/all_notebooks_coverage.html
    :alt: Notebook Coverage

**Links:**

* `GitHub/lightmlrestapi <https://github.com/sdpython/lightmlrestapi/>`_
* `documentation <http://www.xavierdupre.fr/app/lightmlrestapi/helpsphinx/index.html>`_
* `Blog <http://www.xavierdupre.fr/app/lightmlrestapi/helpsphinx/blog/main_0000.html#ap-main-0>`_

*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]]}

.. _l-HISTORY:

=======
History
=======

current - 2018-11-14 - 0.00Mb
=============================

* `6`: allow a zip file which contains data and code (2018-11-13)
* `9`: add version number to REST API (2018-11-13)
* `4`: add authentification to the rest api (2018-11-13)

0.1.88 - 2018-11-05 - 0.11Mb
============================

* `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
============================


