Skip to content

Commit cc1794a

Browse files
author
root
committed
update README.md and deeputils latest version
1 parent 54fda32 commit cc1794a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1922
import tornado.ioloop
2023
import 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+
5462
Making an API request
5563
```bash
5664
$ wget http://localhost:8888/api/v1/add?a=10&b=20

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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",

0 commit comments

Comments
 (0)