No description, website, or topics provided.
Python
Latest commit ac1a5b2 Feb 27, 2017 @mjkoster mjkoster committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
MachineHypermediaToolkit refactor repo Feb 12, 2016
.gitignore update .gitignore + header processing Dec 10, 2015
LICENSE Initial commit Dec 4, 2015
README.md Update README.md Feb 27, 2017
setup.py fix imports Jan 20, 2016

README.md

MachineHypermediaToolkit

Reference implementation and demonstration system for the machine hypermedia interface

Based on the Hypermedia Collection described in the IETF CoRE Interfaces draft version -04 https://www.ietf.org/archive/id/draft-ietf-core-interfaces-04.txt

Following the article at http://iot-datamodels.blogspot.com/2015/10/hypermedia-design-for-machine-interfaces.html

Create a working directory and install the tools with the following:

git clone https://github.com/connectIOT/MachineHypermediaToolkit

cd MachineHypermedia Toolkit

If you want to use virtualenv:

virtualenv --no-site-packages venv/

source venv/bin/activate

python setup.py develop

Otherwise:

(sudo) python setup.py install

Test using these 2 commands. Start a local instance of the server, then run the Resource Constructor self-test, which creates and inspects a set of resources on the server:

python MachineHypermediaToolkit/test/StartLocalServer.py

or to run the server in the background:

nohup python MachineHypermediaToolkit/test/StartLocalServer.py &

this test client creates a set of resources, reads them back. and exits:

python MachineHypermediaToolkit/model/ResourceConstructor.py