-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Introducing a simple way to test and integrate with persistent compute objects (picos) with the Python scripting language. (Learn more about Picos)
The picosapi
Python module provides a simple, purely Python-based method of generating events and queries compatible with the Pico Engine developed by Pico Labs at Brigham Young University.
Communication with a pico is done via HTTP requests, either as an event or as an API "function" call (I use the term 'function' here lightly). picosapi
makes it easier to raise events in a pico and use the Sky Cloud API to interact with picos. As a high-level scripting language that is easy to read and learn, python provides an solid platform for testing, debugging, and producing HTTP interactions.
The picosapi
module can be installed using pip
:
pip install picosapi
NOTE: You may have to use the sudo
command to install the module on Linux systems
sudo pip install picosapi
You can then use the module by adding an import statement at the top of your Python file:
import picosapi as picos
Additional information about picos can be found by visiting Pico Labs
picosapi
is free to use under the MIT public license
The picosapi
module was originally developed by Braden Hitchcock while taking a distributed system design class at Brigham Young University in 2018. It is free to use and distribute under the MIT License.
If you wish to contribute to the project, please fork the repository and create pull requests that can be merged into later versions.
Picos are useful in building Internet of Things (IoT) technology that preserves personal freedom. They are currently being developed under the direction of Dr. Phil Windley by Pico Labs at Brigham Young University. Picos is an actor-based programming system that supports people-centric, reactive programming on the Internet of Things.
For more information about Picos, visit Pico Labs or see Dr. Windley's article on Reactive Programming with Picos.