Python Package to connect to wappsto.com
Project description
wappsto-python
Python module for rapid prototyping for wappsto.com
Getting Started
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)
Prerequisites
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.
Installation using pip
Wappsto can be insalled using the Pything Package Index (PyPI).
$ pip install -U wappsto
License
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.