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

Uploaded Source

Built Distribution

wappsto-1.2.8-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wappsto-1.2.8.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for wappsto-1.2.8.tar.gz
Algorithm Hash digest
SHA256 77651a9846e238c959d82f41e484b776d6516b5bca7df109d78f63e3b5b8184b
MD5 80913cb032088b48056427a92337d2b4
BLAKE2b-256 476898bb5cd968a95cdbe9a4792cdbbb920e1a7a32079051cf3598b70d270ed4

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: wappsto-1.2.8-py3-none-any.whl
  • Upload date:
  • Size: 40.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for wappsto-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 510756f487d5c18772aff73b5ac39f8e886b77ced8ea3abd6c3ad16c14c964fd
MD5 dc5c7d0d718dafe4effac6afeb918bc9
BLAKE2b-256 2a016bdbf411cc0ced281b7c748144103cfffe393944135f46bf7bac9ea54e12

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