Skip to main content

Farmware convenience functions for use in FarmBot OS.

Project description

Farmware Tools

Tools for use by Farmware.


from farmware_tools import device

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for farmware-tools, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size farmware_tools-0.2.2-py2-none-any.whl (6.5 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size farmware_tools-0.2.2.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page