File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 9
9
- LICENSE
10
10
- kwikapi/api.py
11
11
- 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
14
14
true :
15
15
repo : deep-compute/kwikapi
16
16
- 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
16
16
> To use KwikAPI with tornado install ` sudo pip3 install kwikapi[tornado] `
17
17
18
18
``` python
19
+
20
+ # `calc.py` - A simple calculator as a kwikapi service
21
+
19
22
import tornado.ioloop
20
23
import tornado.web
21
24
@@ -51,6 +54,11 @@ if __name__ == "__main__":
51
54
tornado.ioloop.IOLoop.current().start()
52
55
```
53
56
57
+ #### Run Command
58
+ ```
59
+ $ python calc.py run
60
+ ```
61
+
54
62
Making an API request
55
63
``` bash
56
64
$ wget http://localhost:8888/api/v1/add? a=10& b=20
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
3
- version = "0.5.12 "
3
+ version = "0.5.13 "
4
4
setup (
5
5
name = "kwikapi" ,
6
6
version = version ,
15
15
author_email = "contact@deepcompute.com" ,
16
16
install_requires = [
17
17
"msgpack-python==0.5.1" ,
18
- "deeputil==0.2.7 " ,
18
+ "deeputil==0.2.9 " ,
19
19
"numpy==1.15.1" ,
20
20
"future==0.16.0" ,
21
21
"requests>=2.18.4" ,
You can’t perform that action at this time.
0 commit comments