Farmware convenience functions for use in FarmBot OS.
Project description
Farmware Tools
Tools for use by Farmware.
Example
from farmware_tools import device
device.log('hello')
If the above code is run within a Farmware,
FarmBot OS
will send a hello
log to the
FarmBot Web App.
If the above code is run elsewhere, the output will be the command that would have been sent to FarmBot OS:
{'kind': 'send_message', 'args': {'message': 'hello', 'message_type': 'info'}}
Local installation (for local Farmware development)
pip install farmware-tools
Specifying a version in a Farmware manifest
"farmware_tools_version": "v0.2.2"
By including this line in a Farmware manifest, FarmBot OS will automatically install the specified version and make it available to import from within the Farmware.
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
farmware_tools-0.2.2.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for farmware_tools-0.2.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2f65e91025251552410585235a83e967ac615147d8d12dfb619fcf74665789 |
|
MD5 | bce37b78a61b8f66b19ba2e35e5061d8 |
|
BLAKE2b-256 | ed885b6e16de4d58b1a98c1858d9338d30b38a75d6ce4063c70376531890afd1 |