Skip to main content

FarmBot Sidecar Starter Pack

Project description

sidecar-starter-pack

Test Status Coverage Status PyPI - Version

Installation and Usage

See Sidecar Starter Pack in the FarmBot developer documentation.

Local development

If you are working on the sidecar-starter-pack itself,

(1) Clone the repository.

git clone https://github.com/FarmBot-Labs/sidecar-starter-pack

(2) Navigate to the project directory.

cd sidecar-starter-pack

(3) Create a virtual environment.

python -m venv py_venv

(4) Activate the virtual environment.

source py_venv/bin/activate

(5) Install the required libraries within the virtual environment:

python -m pip install requests paho-mqtt coverage

Ensure any changes pass all tests before submitting a pull request.

coverage run -m unittest discover
coverage html

You can review test coverage by opening htmlcov/index.html in a browser.

Uploading package to PyPI (For FarmBot employees)

Follow this tutorial.

python -m pip install --upgrade pip build twine
rm dist/*
python -m build
python -m twine upload dist/*

Project details


Download files

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

Source Distribution

farmbot_sidecar_starter_pack-1.6.0.tar.gz (2.4 MB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page