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.
Source Distribution
Built Distribution
File details
Details for the file wappsto-1.0.6.tar.gz
.
File metadata
- Download URL: wappsto-1.0.6.tar.gz
- Upload date:
- Size: 37.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.4.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d31ea8cdaf71e72679182253b8ae43d21cda5500ed093fd80b641f774d055c38 |
|
MD5 | ac9e7ae84ad606a1e4d7fdd531e04290 |
|
BLAKE2b-256 | ad05d315d8e3e5ccd4432287f60b9992a512141e163925b83a920938246bc8a1 |
Provenance
File details
Details for the file wappsto-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: wappsto-1.0.6-py3-none-any.whl
- Upload date:
- Size: 49.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.4.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 801e82af509e33ec52e73126a74c65ca5bdf54a0205366dd072218e9dd140845 |
|
MD5 | 5d83f3555454f489de37b7fdec44ccd7 |
|
BLAKE2b-256 | 1a4e735146222346244711028c037636337ec4cc477073bf9ddc2ecc0651065f |