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.2.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

wappsto-1.0.2-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

Details for the file wappsto-1.0.2.tar.gz.

File metadata

  • Download URL: wappsto-1.0.2.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for wappsto-1.0.2.tar.gz
Algorithm Hash digest
SHA256 46b54a001d47f175667648a2632621dac119079bff26cb6c01d12e5203342199
MD5 afa1a70e6e513a630e2c10c83c50a1ae
BLAKE2b-256 74e3a8dea81832f2fc0b1ebb6f3c8648fcb2e5c7475516f0f6b44fbda1d493bc

See more details on using hashes here.

Provenance

File details

Details for the file wappsto-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: wappsto-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for wappsto-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0fb0b88b00d60cdc5c9b8ad5cc3cf5e79db5bb624d01d2c50c2b9104d72d7976
MD5 55b96326bce1c11ad38ff8ff0988c7af
BLAKE2b-256 82b3b47ec45a18777e7a75f8cdbb91895f4650aa3abd7bc0b67f653e58c97455

See more details on using hashes here.

Provenance

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