mikro

A micro service tool built atop on python's http.server


Install
pip install mikro==0.2.1

Documentation

Mikro

from mikro import Mikro, main

@Mikro.service("/random")
def random_number(*args):
    return Response(HTTPStatus.OK, "4")

if __name__ == "__main__":
    main()