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.3.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for farmware_tools-0.3.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174d03e98a62def4d913b78bd7d1e1b8a76a27d7e6700aa3445be8c8592cd5ad |
|
MD5 | 4ae9878a61681514bb5f8b3b7dd350a6 |
|
BLAKE2b-256 | 42b0873b9d03d7df0b3294f35d801e74d420a1ec1c86516a858091b6fb5364ef |