summaryrefslogtreecommitdiff
path: root/python/README.md
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2015-02-12 11:32:59 -0800
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2015-02-12 11:32:59 -0800
commitc3804481dc7f615584f74fb94626b7f900a4ce24 (patch)
tree059c9f191d08d85e8399f7ecac41508351f31818 /python/README.md
parent8586ccb7554c19b6ebe8eadf4fd622b68f5fced7 (diff)
downloadrvi_core-c3804481dc7f615584f74fb94626b7f900a4ce24.tar.gz
Added simplified RVI integration
Diffstat (limited to 'python/README.md')
-rw-r--r--python/README.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/python/README.md b/python/README.md
new file mode 100644
index 0000000..a768d1f
--- /dev/null
+++ b/python/README.md
@@ -0,0 +1,48 @@
+Copyright (C) 2014, Jaguar Land Rover
+
+This document is licensed under Creative Commons
+Attribution-ShareAlike 4.0 International.
+
+
+# RVI PYTHON INTEGRATION
+
+This directory contains the ```rvilib.py``` file necessary to have
+your python code send and receive RVI service invocations.
+
+Also included are two test programs that use ```rvilib.py``` :
+
+1. ```rvi_service.py```<br>
+Registers a single service with an RVI node and then prints out
+a message when that service is invoked.
+
+2. ```rvi_call.py```<br>
+Invokes a service registered in an RVI network.
+
+These two commands can be used to quickly test connectivity between
+various RVI nodes.
+
+# SETUP
+In order for ```rvilib.py``` to work, it needs jsonrplib installed from
+
+[https://github.com/joshmarshall/jsonrpclib](https://github.com/joshmarshall/jsonrpclib).
+
+Install by using one of the following commands:
+
+ easy_install jsonrpclib
+
+or
+
+ pip install jsonrpclib
+
+
+You can use rvilib.py by simply copying it into your project.
+
+# CALLING A SERVICE
+
+See ```rvi_call.py``` for how to invoke RVI-based services.
+
+# IMPLEMENTING A SERVICE
+
+See ```rvi_service.py``` for how to implement and register RVI-based services.
+
+