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

Uploaded Source

Built Distribution

wappsto-1.1.0-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wappsto-1.1.0.tar.gz
  • Upload date:
  • Size: 27.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 d979e06f980daf8ca6ca659f3d87a41cbf07a8dfc8b48fcd4f897050ce69792d
MD5 fa35bb46f21c5e45bfa79bf7c63b07a7
BLAKE2b-256 3bdcf383a1f80e4b54804f6d5777f029abef3db883a30c43aa61c50fdf6be8c3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: wappsto-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 51.2 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a17588f57ad1b74c5c21cf4d11f8ba358d563180f60ff8682d623a965d6bca1f
MD5 bee5cf41ae9bf6b9c8faf524ed8a4b3b
BLAKE2b-256 8c966b53eb7e4ce468c0252bb2103499e8d6f5046a12b36f672ac9a8477c04c5

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