Skip to main content

Python Package to connect to wappsto.com

Project description

wappsto-python

Build Status Coverage Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wappsto-1.0.3.tar.gz (37.1 kB view hashes)

Uploaded Source

Built Distribution

wappsto-1.0.3-py3-none-any.whl (53.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page