Python module for rapid prototyping for wappsto.com
Instantiating the wappsto module with input from the command line:
service = wappsto.Wappsto(sys.argv[1])
Or using a string:
service = wappsto.Wappsto("path/to/your/jsonfile.json")
Starting the service without custom connection info:
service.start()
With custom info:
service.start(address="127.0.0.1", port=8080)
Stopping the service:
service.stop()
The service will by default save the runtime data to a new JSON file, this can be disabled in the stop command as such:
service.stop(save=False)
One of the requirements to use the wappsto module is to have a JSON file that has information about the network, devices, values and their states. This file can be generated from the wappsto website.
Wappsto can be insalled using the Pything Package Index (PyPI).
$ pip install -U wappsto
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.