Skip to content

Commit 9621f67

Browse files
authored
Merge pull request #101 from deep-compute/docs_and_dependencies
update README.md and deeputils latest version
2 parents 54fda32 + f227eae commit 9621f67

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ deploy:
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

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
version = "0.5.12"
3+
version = "0.5.13"
44
setup(
55
name="kwikapi",
66
version=version,
@@ -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)