Farmware convenience functions for use in FarmBot OS.
Project description
Farmware Tools
Tools for use by Farmware. Starting with FarmBot OS v6.4.2, this package is installed automatically and available for Farmware to import. See the sections below for other installation configurations.
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size farmware_tools-0.4.0-py2-none-any.whl (7.9 kB) | File type Wheel | Python version py2 | Upload date | Hashes View hashes |
Filename, size farmware_tools-0.4.0.tar.gz (6.8 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for farmware_tools-0.4.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba9925681198fb4633590c62cac376831c8799a4495bc08e9e2300e7eb42fab |
|
MD5 | 883a72ef14d23ed1a914d21e4ddbcc7f |
|
BLAKE2-256 | e522a2937360f82b9f588377f3cd27991069de0a073b97bcbc714a5566da64ad |