File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - LICENSE
1010 - kwikapi/api.py
1111 - kwikapi/__init__.py
12- name : kwikapi-0.5.12
13- tag_name : 0.5.12
12+ name : kwikapi-0.5.13
13+ tag_name : 0.5.13
1414 true :
1515 repo : deep-compute/kwikapi
1616- provider : pypi
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ Here is an example of how to use `KwikAPI` to expose `Calc` as a service. We wil
1616> To use KwikAPI with tornado install ` sudo pip3 install kwikapi[tornado] `
1717
1818``` python
19+
20+ # `calc.py` - A simple calculator as a kwikapi service
21+
1922import tornado.ioloop
2023import tornado.web
2124
@@ -51,6 +54,11 @@ if __name__ == "__main__":
5154 tornado.ioloop.IOLoop.current().start()
5255```
5356
57+ #### Run Command
58+ ```
59+ $ python calc.py run
60+ ```
61+
5462Making an API request
5563``` bash
5664$ wget http://localhost:8888/api/v1/add? a=10& b=20
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
22
3- version = "0.5.12 "
3+ version = "0.5.13 "
44setup (
55 name = "kwikapi" ,
66 version = version ,
1515 author_email = "contact@deepcompute.com" ,
1616 install_requires = [
1717 "msgpack-python==0.5.1" ,
18- "deeputil==0.2.7 " ,
18+ "deeputil==0.2.9 " ,
1919 "numpy==1.15.1" ,
2020 "future==0.16.0" ,
2121 "requests>=2.18.4" ,
You can’t perform that action at this time.
0 commit comments